Skip to main content
POST
/
api
/
v1
/
cards
/
{card_id}
/
details
Reveal full card details
curl --request POST \
  --url https://api.hevn.finance/api/v1/cards/{card_id}/details \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "messageSignature": "<string>",
  "nonce": 123
}
'
{
  "cardNumber": "<string>",
  "cvv": "<string>",
  "expiryDate": "<string>"
}

Authorizations

Authorization
string
header
default:Bearer <token>
required

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

Headers

x-api-key
string | null

Path Parameters

card_id
string
required

Body

application/json

Request to reveal card details. Requires wallet signature.

messageSignature
string
required

Wallet signature of confirmation message

nonce
integer
required

Unix timestamp used in the signed message (valid 5 min)

Response

Successful Response

Sensitive card details.

cardNumber
string
required

Full card number (PAN)

cvv
string
required
expiryDate
string
required