Customer
Customer Card DetailGet
https://sandbox-api.srpago.com/v1/customer/cus_576c1d85baf38/cards/crd_576c240e424ad
Obtén los detalles de una tarjeta asociada a un cliente (customer).
Podrás visualizar la siguiente información.
-Token de la tarjeta. -Nombre. -Tipo de tarjeta (VISA/MASTER/AMEX). -Número de tarjeta enmascarado. -Banco. -Tipo de producto (débito/crédito).
headers
AuthorizationBearer Token
Content-Typeapplication/json
Example Request
curl --location --request GET 'https://sandbox-api.srpago.com/v1/customer/cus_576c1d85baf38/cards/crd_dev_5c74a5a877a55' \ --header 'Content-Type: application/json' \ --data-raw ''
Example Response
{ "success": true, "result": { "token": "crd_dev_5c74a5a877a55", "holder_name": "mjdjsj", "type": "MAST", "number": "557907XXXXXX5245", "expiration": "2202", "country_code": "MX", "bank_name": "BANCO SANTANDER S.A", "recurring": true, "funding": "DEBIT", "status": "chargeable" } }