Customer
Customer DetailPost
https://sandbox-api.srpago.com/v1/customer/cus_rb98a47da
Obtén el detalle del cliente creado, podrás visualizar: -Nombre. -Fecha de creación. -Email registrado. -Si se encuenta activo/inactivo. -Id único de registro.
headers
AuthorizationBearer Token
Content-Typeapplication/json
PATH VARIABLES
cutomer_idcus_rb98a47da-a06b
Example Request
curl --location --request GET 'https://sandbox-api.srpago.com/v1/customer/cus_57645eead1898' \ --header 'Content-Type: application/json'
Example Response
{
"success": true,
"result": {
"id": "cus_rb98a47da",
"name": "CUSTOMER NAME",
"email": "[email protected]",
"active": true,
"date_create": "2016-10-08T01:29:57-05:00",
"sources": [
{
"id": "spe_5a502b421852e",
"type": "spei",
"name": "clabe_nombre",
"clabe": "646320125500000105",
"reference": "",
"bank_name": "STP"
}
],
"cards": [
{
"token": "crd_4030d0ef71c4668c6a6da41a897dd305717f7901",
"holder_name": "CUSTOMER FULL NAME",
"type": "VISA",
"number": "441104XXXXXX000000",
"expiration": "1807",
"country_code": "MX",
"bank_name": "JPMORGAN CHASE BANK N.A.",
"funding": "DEBIT"
}
],
"deactivated_cards": 0
}
}