GET
/
api
/
payments
/
crypto
/
bulk
/
{id}
curl --request GET \
  --url https://app.sandbox.rio.trade/api/payments/crypto/bulk/{id} \
  --header 'x-api-key: <api-key>'
{
  "createdAt": "2025-01-04T00:24:28.658Z",
  "userId": "6757546b4c5d19bf3cd7b09c",
  "orderIds": [
    "677880bab7a7c5e821c9f56f",
    "67788100b7a7c5e821c9fc0f",
    "6778811fb7a7c5e821c9fef5",
    "67788276b7a7c5e821ca1f33"
  ],
  "amount": 14340,
  "orderIdsPaid": [
    "677880bab7a7c5e821c9f56f",
    "67788100b7a7c5e821c9fc0f",
    "6778811fb7a7c5e821c9fef5",
    "67788276b7a7c5e821ca1f33"
  ],
  "crypto": "USDC",
  "country": "MX",
  "status": "awaitingPayment",
  "depositAddress": "5BZDQjWad45rT1vYT5KdJHgSU4rWXL1Y5nDoTwSrT8Pr",
  "id": "67787fbcd520f9ecb10e9be6"
}

Requirements to consume the endpoint.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string
required

Id of the bulk crypto payment

Response

200 - application/json
OK
createdAt
string

The date and time the order was created

userId
string

The unique identifier of the user

orderIds
string[]

List of order IDs pending payment

amount
number

The total amount of the orders

orderIdsPaid
string[]

List of order IDs that have been paid

crypto
enum<string>

The type of cryptocurrency involved in the order

Available options:
USDC,
USDC_POLYGON,
USDC_POLYGON_NXTB,
SOL_USDC_PTHX,
USDT_POLYGON,
USDT_ERC20,
TRX_USDT_S2UZ
country
enum<string>

The country of the operation

Available options:
MX,
PE,
US
status
enum<string>

The current status of the order

Available options:
awaitingDepositAddress,
awaitingPayment,
complete,
failed,
cancelled,
insufficientAmountReceived,
excessAmountReceived
depositAddress
string

The deposit address for the order

id
string

The unique identifier of the order