Cards/Details

Get card details

Retrieves card PAN and expiry date using the action confirmation token generated using the Confirmation flow

post/api/v1/cards/{cardId}/details

Request

  • Base URL
    https://api-business.wirexapp.com
  • URL
    https://api-business.wirexapp.com/api/v1/cards/{cardId}/details
  • Auth
    API key in header Authorization

Path parameters

cardIdstring required

Id of the card on which the action should be performed

Request body */*

action_tokenstring required

Action token retrieved using action confirmation flow

Example request

{
  "action_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJLaXdpIjoiV293LCBkaWRuJ3QgdGhpbmsgc29tZW9uZSB3b3VsZCBhY3R1YWxseSBkZWNvZGUgdGhpcy4gUHJvcHMgZm9yIGN1cmlvc2l0eSBtYXRlIiwiaWF0IjoxNzQ0MDAzNjE5fQ.9dtAkgB2NCP5xnAF0xhfqazoL5UOBBw5xji0r-PzGEU"
}

Response

OK

card_numberstring required

PAN (Primary Account Number) of the card

expiry_datestring required

Expiry date of the card

Example response

{
  "card_number": "4111111111111111",
  "expiry_date": "12/2022"
}

Changes

No recorded changes to this operation across all 1 revision of this API.