GET
/
api
/
v1
/
fiat-deposits
curl --request GET \
  --url https://sandbox-b2b.ripio.com/api/v1/fiat-deposits/ \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "next": "https://sandbox-b2b.ripio.com/api/v1/fiat-deposits/?page=3",
  "previous": "https://sandbox-b2b.ripio.com/api/v1/fiat-deposits/?page=1",
  "results": [
    {
      "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"
    },
    {
      "id": "11b17bc6-58d4-9e33-4f48-8142b06579c4",
      "created_at": "2024-03-22T04:32:13.453726Z",
      "updated_at": "2024-03-22T04:33:45.748327Z",
      "currency_code": "ARS",
      "end_user_id": "customer_10",
      "amount": "1234.56",
      "status": "COMPLETED",
      "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

Query Parameters

create_date_lte
string

Filter fiat deposit operations by create_date less than or equal to this date.

create_date_gte
string

Filter fiat deposit operations by create_date greater than or equal to this date.

end_user_id
string

End User that has received deposits.

currency_code_in
string[]

Currency codes that has been deposited.

page
string

Pagination QueryParam.

update_date_lte
string

Filter fiat deposit operations by update_date less than or equal to this date.

update_date_gte
string

Filter fiat deposit operations by update_date greater than or equal to this date.

Response

200 - application/json
count
integer

Indicates total count of fiat deposits.

Example:

123

next
string | null

Indicates next page by URL.

Example:

"http://api.example.org/accounts/?page=4"

previous
string | null

Indicates previous page by URL.

Example:

"http://api.example.org/accounts/?page=2"

results
object[]

List of fetched fiat deposits.