POST
/
api
/
payments
/
bank
/
check
curl --request POST \
  --url https://app.sandbox.rio.trade/api/payments/bank/check \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "orderId": "665f407ad6c964829d639e1f"
}'
"OK"

In our sandbox environment, this endpoint is used to simulate a successful fiat payment.
In our production environment, this endpoint only needs to be called when making a PEN or USD payment (outside of the US). Payments in all other currencies are processed automatically.

Requirements to consume the endpoint.

Create and modify role

The user must have the role to create and modify.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Body

application/json
orderId
string
required

Id of the order for which you wish to confirm the payment was sent.

Response

200
application/json
OK

The response is of type string.