Card
Retrieve Card Data
Card Data API allows you to retrieve the characteristics of a payment card (for example issuer, card country, card type and other attributes derived from payment organizations' BIN tables) before an actual order is created, without charging the card.
Note: the request must contain either token or the card object — never both in the same request.
post/api/v2_1/cards/lookup
Request
- Base URLhttps://secure.payu.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Content-Typestring required
Content type
Authorizationstring required
Auth token
Request body
Example request
{
"token": "TOKD_1LPMUT4FPPSS9k46204E39L5S0k"
}Response
Card identified. Card characteristics returned in the response body.
Example response
{
"maskedNumber": "536447******6443",
"expirationMonth": 8,
"expirationYear": 2029,
"scheme": "MC",
"description": "World Debit Mastercard Card",
"type": "MDH",
"countryCode": "RO",
"classification": "DEBIT",
"profile": "CONSUMER",
"uniqueReference": "b75ddfb250cd8d9a647fa787718ec67f3f984d54bb51432373427c0e874f68c42438945f330bd6be07f3b41fde422fb548ccbe23c9cb51d0c1792ec7004ed23e",
"issuer": {
"name": "SUPER BANK LIMITED",
"region": "EUROPE",
"countryCode": "RO"
},
"installmentOptions": {
"numbers": [
1,
6,
12,
20,
21,
22,
23,
24
],
"provider": "SUPERBANK",
"settings": {
"minAmount": 60000
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.