Get Card

GET https://api.stage.localpayment.com/api/card/?token=PIYld5%2BSmrWRcsSwDtAsnrWy2CTrOJiJIun4PerKpbo%3D

Path Parameters

NameTypeDescription

Token*

String

 {
  "card": {
    "token": "PIYld5%2BSmrWRcsSwDtAsnrWy2CTrOJiJIun4PerKpbo%3D",
    "bin": "123488",
    "brand": "UATP",
    "country": "CN",
    "name": "Payer's name",
    "last4": "6486",
    "expirationYear": 2027,
    "expirationMonth": 6
  },
  "errors": []
}

Examples: Get Card request

To Get card with Token, the request body examples are detailed below.

curl --location 
--request GET 'https://api.stage.localpayment.com/api/card/?token=PIYld5%2BSmrWRcsSwDtAsnrWy2CTrOJiJIun4PerKpbo%3D' \
--header 'Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNjY4MTk1NTcwLCJqdGkiOiJhMDMzMjk2ZjcyNzE0NDQwYmU4MTJmMjBkMmU1Y2VlOSIsInVzZXJfaWQiOjMwLCJzdXBlcnVzZXIiOnRydWUsImlzX3N0YWZmIjpmYWxzZSwicm9sZXMiOlsiQUxMIl0sImNvdW50cmllcyI6WyJBTEwiXSwiY29tcGFueSI6IjAwMDEiLCJjbGllbnRfY29kZSI6IjAwMDEifQ.IZ6YidT0M0UQlzSWTZ38sr2dIaJ1PLaTOHaQ8Mu0nFA'

Last updated