GET
/
api
/
v1
/
end-users
/
{end_user_id}
/
fiat-accounts
curl --request GET \
  --url https://sandbox-b2b.ripio.com/api/v1/end-users/{end_user_id}/fiat-accounts/ \
  --header 'Authorization: Bearer <token>'
[
  {
    "fiat_account_id": "123e4567-e89b-12d3-a456-4bedc4266abc",
    "created_at": "2019-08-24T14:15:22Z",
    "currency": "ARS",
    "fiat_payment_instructions": {
      "cvu": null
    },
    "payment_method_type": "bank_transfer",
    "status": "PROCESSING",
    "end_user_id": "customer_10"
  },
  {
    "fiat_account_id": "4567e123-e89b-12d3-a456-4bedc4266abc",
    "created_at": "2020-08-24T14:15:22Z",
    "currency": "ARS",
    "fiat_payment_instructions": {
      "cvu": "0000465160000000013330"
    },
    "payment_method_type": "bank_transfer",
    "status": "ENABLED",
    "end_user_id": "customer_10"
  }
]

Authorizations

Authorization
string
header
required

B2B’s White Label API uses OAuth2. Currently there is only one supported authentication flow:

  • clientCredentials allows you to access your own B2B account (First-Party Integration) and performs transactions against the public API. This oauth2 flow is well suited for this API, as it allows machine-to-machine communication.

Every call to the API has to be authenticated with an OAuth2 Token. In order to request this token, you will need to have sandbox or production API Keys (client id and client secret) that will be needed to generate a credential in order to negotiate an ephemeral access token.

Every request must be accompianed by an Authorization header with a value that follows the following schema: Bearer ACCESS_TOKEN

Path Parameters

end_user_id
string
required

End user's external ref, usually a uuid.

Response

200 - application/json
fiat_account_id
string

UUID4 formated unique id.

Example:

"123e4567-e89b-12d3-a456-4bedc4266abc"

created_at
string

ISO DateTime indicating Fiat Account creation date

Example:

"2019-08-24T14:15:22Z"

currency
string

It defines the currency that the Fiat Account accepts.

Required string length: 3
Example:

"ARS"

fiat_payment_instructions
object

JSON fields with account identification details. It varies based on the account type. Example:

{"cvu": "0000465160000000013330"}
payment_method_type
string

Indicates the payment method type. Usually, bank_transfer.

status
enum<string>

Indicates the Fiat Account status. Only when "ENABLED", the fiat payment instructions will be provided.

Available options:
PROCESSING,
ENABLED
end_user_id
string

End user's external ref