Business CollectionOn-Ramp

Retrieve a receive account

GET
/openapi/v1/collections/on-ramp/receive-accounts/{payerId}

Retrieve the opening status and CLABE of a payer's receive account. The response structure is the same as the Open a receive account response.

You can only retrieve payers of your own merchant account. A payerId that has never been opened returns "receive account not found".

Authorization

bearerAuth
headerAuthorizationBearer <token>

The access_token obtained from POST /oauth2/token. Header format: Authorization: Bearer {accessToken}. The merchant identity comes from the token. The request body does not accept merchant or tenant fields.

Path Parameters

payerId*string

The payerId used to open the account

Query Parameters

fiatCurrency*"MXN"

Fixed to MXN

Value in"MXN"

Response Body

Returns the receive account.

application/json
  1. response
code?integer

Business status code

message?string
traceId?string

Request trace ID. Provide it when you contact technical support

data?

Payer's receive account. Opening and retrieving a receive account use the same structure.

Example Request
curl -X GET 'https://api.test.stabofx.com/openapi/v1/collections/on-ramp/receive-accounts/payer-0001?fiatCurrency=MXN'
Example Response
{  "code": 200,  "message": "OK",  "traceId": "trace-uuid-string",  "data": {    "payerId": "payer-0001",    "fiatCurrency": "MXN",    "paymentMethod": "SPEI",    "status": "ACTIVE",    "clabe": "706180000000000001"  }}