Skip to main content
POST

Authorizations

Authorization
string
header
required

Access token obtained via /oauth2/token/. Use as Authorization: Bearer <access_token>.

Headers

X-Ripio-User-Ip
string

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.

Maximum string length: 45
X-Ripio-User-Agent
string

Optional. 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.

Maximum string length: 500
X-Ripio-User-Device-Id
string

Optional. 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.

Maximum string length: 200

Body

application/json

Details for the new fiat account.

customerId
string<uuid>
required

The unique identifier of the customer for whom the account is being created.

paymentMethodType
string
required

An enumerated value specifying the type of fiat account. Valid options depend on supported payment rails. (e.g., bank_transfer)

accountFields
object
required

A dictionary containing additional information required for the specific fiat account type. Fields depend on 'paymentMethodType and are defined by /fiatAccounts/requirements/.

Examples:

Response

Fiat account created successfully.

fiatAccountId
string<uuid>
required

The unique identifier of the fiat account.

fiatAccountFields
object
required

A dictionary containing the details provided for the fiat account.

createdAt
string<date-time>
required

The date and time the fiat account was created (UTC format).

status
enum<string>
required

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.

Available options:
UNCONFIRMED,
PROCESSING,
ENABLED,
DISABLED,
SUSPENDED,
REVALIDATION_REQUIRED,
DEACTIVATED
Example:

"PROCESSING"

paymentMethodType
string
required

Type of the fiat account.

customerId
string<uuid>
required

The unique identifier of the customer owning this account.

metadata
object | null

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.