GET
/
api
/
v1
/
transactions
curl --request GET \
  --url https://sandbox-b2b.ripio.com/api/v1/transactions/ \
  --header 'Authorization: Bearer <token>'
{
  "count": 123,
  "next": "http://api.example.org/accounts/?page=4",
  "previous": "http://api.example.org/accounts/?page=2",
  "results": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "created_at": "2023-11-07T05:31:56Z",
      "end_user": "<string>",
      "op_type": "BUY",
      "trade": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "txn_id": "<string>",
        "quote_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "end_user_id": "<string>",
        "rate": "<string>",
        "charged_fee": "<string>",
        "base_amount": "<string>",
        "quote_amount": "<string>",
        "base_asset": "<string>",
        "quote_asset": "<string>",
        "created_at": "2023-11-07T05:31:56Z"
      }
    }
  ]
}

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

op_type
string

Filter by operation type

date_gt
string

Filter by date, greater than value

date_lt
string

Filter by date, lesser than value

end_user
string

Filter by end user (external reference)

Response

200 - application/json
Successful response
count
integer

Indicates total count of transactions.

next
string | null

Indicates next page by URL.

previous
string | null

Indicates previous page by URL.

results
object[]

List of fetched transactions.