Skip to content

get sub account infoV2

Get Sub-account Info

Retrieve the sub-account information

HTTP Request

GET /v1/mx/payments/charges/spei/{{accountUuid}}

Request Headers
{
    "Authorization": "Bearer {{access_token}}",
    "x-api-key": "{{api_key}}"
}
Content-Type: application/json
{
    "statusCode": 200,
    "errorMsg": "",
    "idempotencyKey": "9009f382-addc-11eb-8529-0242ac130003",
    "accountUuid":"{{CREATED_SUB_ACCOUNT_UUID}}",
    "accountId":"{{CREATED_SUB_ACCOUNT_CLABE_NUMBER}}",
    "friendlyName":"{{TARGET_ACCOUNT_FRIENDLY_NAME}}",
    "legalName":"{{TARGET_ACCOUNT_LEGAL_NAME}}",
    "phoneNumber":"{{TARGET_ACCOUNT_PHONE_NUMBER}}"
}

HTTP Headers Details

Key Value
Authorization "bearer"+ "" + {{access_token}}
x-api-key {{api_key}}

PATH and Query Parameters

Parameter Required Type Description
accountId String The UUID of the subaccount that was created.

Response Body Details

Parameter Type Description
statusCode Integer 200 Success, 401 Access denied, 422 Required fields missing or invalid data, 500 internal error.
errorMsg String Error message if failed.
idempotencyKey String Unique key provided by creating sub account request
accountUuid UUID The UUID of the subaccount that was created.
accountId String The created sub-account clabe number.
legalName String The formal, legal name of the merchant.
friendlyName String The friendly name of the merchant (used on displays).
phoneNumber String The phoneNumber associated with this subaccount.
Back to top