Skip to main content
GET
/
cards
/
{cardId}
/
reveal
Reveal secure card details through the provider vault
curl --request GET \
  --url https://api-dev.paygen.online/cards/{cardId}/reveal \
  --header 'Authorization: Bearer <token>'
{
  "pan": "411111******1111"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string
required

Query Parameters

token
string

Provider-issued token returned by POST /cards/{cardId}/token.

Response

200 - application/json

Card revealed successfully.

pan
string
cvv
string
expiryMonth
string
expiryYear
string