Examples: Get Card request
curl --location
--request GET 'https://api.stage.localpayment.com/api/card/?token=PIYld5%2BSmrWRcsSwDtAsnrWy2CTrOJiJIun4PerKpbo%3D' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjY4MTk1NTcwLCJqdGkiOiJhMDMzMjk2ZjcyNzE0NDQwYmU4MTJmMjBkMmU1Y2VlOSIsInVzZXJfaWQiOjMwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjpmYWxzZSwicm9sZXMiOlsiQUxMIl0sImNvdW50cmllcyI6WyJBTEwiXSwiY29tcGFueSI6IjAwMDEiLCJjbGllbnRfY29kZSI6IjAwMDEifQ.IZ6YidT0M0UQlzSWTZ38sr2dIaJ1PLaTOHaQ8Mu0nFA'
{
"card": {
"token": "PIYld5%2BSmrWRcsSwDtAsnrWy2CTrOJiJIun4PerKpbo%3D",
"bin": "123488",
"brand": "UATP",
"country": "CN",
"name": "Payer's name",
"last4": "6486",
"expirationYear": 2027,
"expirationMonth": 6
},
"errors": []
}
{
"errors": [
{
"code": "801",
"description": "REJECTED",
"detail": "Params error Invalid token"
}
]
}