GET
/
api
/
v1
/
fiat-deposits
/
{fiat_deposit_id}
curl --request GET \
  --url https://sandbox-b2b.ripio.com/api/v1/fiat-deposits/{fiat_deposit_id}/ \
  --header 'Authorization: Bearer <token>'
{
  "id": "8142b065-79c4-4f48-9e33-11b17bc658d4",
  "created_at": "2024-04-23T14:48:33.895551Z",
  "updated_at": "2024-04-23T14:49:25.342111Z",
  "currency_code": "ARS",
  "end_user_id": "customer_10",
  "amount": "12345.67",
  "status": "PENDING",
  "refunded": false,
  "refund_fiat_withdrawal_id": null,
  "origin_account_identifier": "0000465160000000100092",
  "origin_account_holder_id": "20388003629",
  "origin_account_holder_name": "Carlos Pineda"
}

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

fiat_deposit_id
string
required

Response

200 - application/json
OK
id
string

Unique ID for this fiat deposit.

created_at
string

Indicates the creation date of the fiat deposit.

Minimum length: 1
updated_at
string

Indicates the update date of the fiat deposit.

Minimum length: 1
currency_code
string

Indicates the currency that has been deposited.

Minimum length: 1
end_user_id
string

End user's external ref, usually a uuid. Indicates the end user that has received the fiat deposit.

amount
string

Indicates the amount deposited.

status
enum<string>
Available options:
COMPLETED,
CANCELLED,
BLOCKED_LIMIT_EXCEEDED
refunded
boolean

Indicates if the fiat deposit was refunded.

refund_fiat_withdrawal_id
string

Indicates the fiat withdrawal id associated with the refund, could be null.

origin_account_identifier
string

Indicates the identifier of the fiat deposit's issuing account.

origin_account_holder_id
string

Indicates the identification of the fiat deposit's issuing account holder.

origin_account_holder_name
string

Indicates the name of the fiat deposit's issuing account holder.