cURL
curl --request POST \ --url https://services.prod.pagosapi.com/loon/rtau/inquiry \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-merchant-id: <x-merchant-id>' \ --data '{ "requestId": "unique-uuid", "network": "visa", "account": { "accountNumber": "4111111111111111", "expiryYear": "2019", "expiryMonth": "12", "metadata": null }, "subMerchantId": null }'
{ "accountEncrypted": null, "account": { "accountNumber": "4111111111111111", "expiryYear": "2019", "expiryMonth": "12", "newAccountNumber": "4111111111111234", "newExpiryYear": "2029", "newExpiryMonth": "5", "responseCode": "LAE", "errorCode": null, "metadata": null }, "requestId": "unique-uuid" }
When sending legacy encrypted payloads, use accountEncrypted in request and response
1
Show child attributes