curl --request POST \
--url https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "964c8c8c-573d-4f8f-bd2e-8645c3124e74"
}
'import requests
url = "https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/"
payload = { "customerId": "964c8c8c-573d-4f8f-bd2e-8645c3124e74" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({customerId: '964c8c8c-573d-4f8f-bd2e-8645c3124e74'})
};
fetch('https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'customerId' => '964c8c8c-573d-4f8f-bd2e-8645c3124e74'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/"
payload := strings.NewReader("{\n \"customerId\": \"964c8c8c-573d-4f8f-bd2e-8645c3124e74\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customerId\": \"964c8c8c-573d-4f8f-bd2e-8645c3124e74\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"customerId\": \"964c8c8c-573d-4f8f-bd2e-8645c3124e74\"\n}"
response = http.request(request)
puts response.read_body{}Create fiat account for QR Payments
Important: This step is crucial for optimal performance. Creating the fiat account in advance prevents delays during the first QR Payment.
Creates a fiat account linked to the customer for QR Payments. Use this endpoint to pre-create the account and avoid latency during the first QR Payment request.
Call this endpoint after KYC completion and before starting any QR Payment. If not created beforehand, the account will be automatically created during the first operation, adding extra delay.
Country support: Only applicable to Argentina (ARS). For Colombia (COP), QR Payments do not require a customer fiat account.
curl --request POST \
--url https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "964c8c8c-573d-4f8f-bd2e-8645c3124e74"
}
'import requests
url = "https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/"
payload = { "customerId": "964c8c8c-573d-4f8f-bd2e-8645c3124e74" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({customerId: '964c8c8c-573d-4f8f-bd2e-8645c3124e74'})
};
fetch('https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'customerId' => '964c8c8c-573d-4f8f-bd2e-8645c3124e74'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/"
payload := strings.NewReader("{\n \"customerId\": \"964c8c8c-573d-4f8f-bd2e-8645c3124e74\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customerId\": \"964c8c8c-573d-4f8f-bd2e-8645c3124e74\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://skala-sandbox.ripio.com/api/v1/sellAndPays/fiatAccounts/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"customerId\": \"964c8c8c-573d-4f8f-bd2e-8645c3124e74\"\n}"
response = http.request(request)
puts response.read_body{}Authorizations
Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.
Body
Response
Fiat account successfully created. Returns an empty response body.
Empty response body on successful creation
Was this page helpful?