curl --request POST \
--url https://skala-sandbox.ripio.com/api/v1/fiatAccounts/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "964c8c8c-573d-4f8f-bd2e-8645c3124e74",
"paymentMethodType": "bank_transfer",
"accountFields": {
"alias_or_cvu_destination": "0100000000000000000001"
}
}
'{
"fiatAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fiatAccountFields": {},
"createdAt": "2023-11-07T05:31:56Z",
"status": "PROCESSING",
"paymentMethodType": "<string>",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {}
}Create Fiat Account
Creates a new fiat account for a customer, linked to specific bank or virtual wallet details for withdrawals.
Account confirmation requirement
Wherever the destination is validated, the account has to be confirmed before it can receive a payout — call Confirm Fiat Account. When it reaches unconfirmed depends on whether that validation is synchronous:
- Argentina (
bank_transfer) and Brazil (pix): validated while this request is served, so the account comes back alreadyunconfirmed, with the resolved holder inmetadatafor the end user to review. - Mexico (
bank_transfer) and Colombia (breb): validated asynchronously, so the account starts asprocessingand becomesunconfirmedonce validation returns. Poll List Fiat Accounts for the transition.
See the fiat account lifecycle for the full state machine.
Important: Where the provider resolves the account holder, that holder must be the customer themselves: in Mexico the owner name and RFC on the KYC must match the bank account’s, and in Brazil the PIX key’s holder document must match the customer’s CPF/CNPJ. A mismatch creates the account as disabled.
curl --request POST \
--url https://skala-sandbox.ripio.com/api/v1/fiatAccounts/ \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerId": "964c8c8c-573d-4f8f-bd2e-8645c3124e74",
"paymentMethodType": "bank_transfer",
"accountFields": {
"alias_or_cvu_destination": "0100000000000000000001"
}
}
'{
"fiatAccountId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"fiatAccountFields": {},
"createdAt": "2023-11-07T05:31:56Z",
"status": "PROCESSING",
"paymentMethodType": "<string>",
"customerId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {}
}Authorizations
Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.
Headers
Optional. The public IP address of the end user's device (IPv4 or IPv6), captured on your frontend and forwarded by your backend — never your server's own address. Used for traceability and fraud prevention. An address that is not a valid IPv4 or IPv6 discards the end-user context of the request, without failing it. See Forwarding end-user context.
45Optional. The User-Agent of the end user's browser or app, not your backend's HTTP client. Longer values are truncated to 500 characters. See Forwarding end-user context.
500Optional. A stable identifier of the end user's device, as your app or frontend defines it. Longer values are truncated to 200 characters. See Forwarding end-user context.
200Body
Details for the new fiat account.
A dictionary containing additional information required for the specific fiat account type. Fields depend on 'paymentMethodType and are defined by /fiatAccounts/requirements/.
{
"alias_or_cvu_destination": "0100000000000000000001"
}
{
"clabe_destination": "012180001234567899",
"holder_name": "Ana López Hernández"
}
{ "key_value": "@ABC123" }
{
"counterparty_type": "cc",
"counterparty_fullname": "Santiago García",
"counterparty_id_type": "cc",
"counterparty_id_number": "1234567890",
"beneficiary_institution": "1001",
"account_number": "12345678901234"
}
{ "pix_key": "12345678901" }
{ "pix_key": "+5511987654321" }
Response
Fiat account created successfully.
An enumerated value specifying the fiat account status. Only one account can be active (ENABLED) per payment method at a time: enabling a new account automatically moves the previously active account for the same customer and payment method to SUSPENDED. A SUSPENDED account can be reactivated by re-registering it or referencing it in a new off-ramp.
UNCONFIRMED, PROCESSING, ENABLED, DISABLED, SUSPENDED, REVALIDATION_REQUIRED, DEACTIVATED "PROCESSING"
Whatever the provider resolved about the account while validating it, when it resolves anything. Argentina (bank_transfer) returns the CVU/alias holder; Brazil (pix) returns the PIX key's holder — name, the masked tax_id and bank_name, plus the account's own coordinates — and it is present whether the account came back unconfirmed or disabled, so you can show the customer whose account the key belongs to either way. Providers that validate nothing return null.
Was this page helpful?