GET
/
api
/
payments
/
bank
curl --request GET \
  --url https://app.sandbox.rio.trade/api/payments/bank \
  --header 'x-api-key: <api-key>'
{
  "orderId": "6661a7c3cc4633bc6412b3da",
  "bankName": "Sandbox Bank",
  "USBankTransferMethod": "ach_push",
  "companyName": "Bank Name",
  "companyAddress": "21750 Hardy Oak Blvd Ste 104 PMB 77950 San Antonio, TX 78258",
  "bankAddress": "Sandbox Bank Address, 12345, Sandbox City, Sandbox Country",
  "accountNumber": "123456",
  "routingNumber": "021000021",
  "status": "initiated",
  "reference": "<string>",
  "id": "6661a7c48eefd7b52058f901"
}

Requirements to consume the endpoint.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Query Parameters

orderId
string

Id of the order for which you want to know the status of the expected payment.

Response

200
application/json
OK
orderId
string

Order ID

bankName
string

Bank Name

USBankTransferMethod
enum<string>

Indicates the method of bank transfer in the United States.

Available options:
ach_push,
wire
companyName
string

Company Name

companyAddress
string

Company Address

bankAddress
string

Bank Address

accountNumber
string

Account Number

routingNumber
string

Nine-digit code identifying the financial institution in the United States.

status
enum<string>

Status

Available options:
initiated,
sent,
passed,
cancelled
reference
string

This value MUST BE SENT with the payment. In Mexico its sent as the “concepto”, in the United States its sent as the wire message and in Peru its sent as the bank transfer reference.

id
string

Bank payment id