1. Cards
  2. Get Signature
GET

/card_signature

Bearer*
curl https://api.thanxsandbox.com/cards \
  -X POST \
  $AUTH_HEADERS
  -d '{
    "card": {
      "last4": "1234",
      "type": "visa",
      "encrypted_pan": "\{...\}",
      "zip_code": "12345"
    }
  }'
{
  "card_signature": {
    "amex": {
      "public_key": "sfjwoiruweoirw20394jf09wr80294"
    }
  }
}

Parameters

card_typeRequired
string

Card type (visa, mastercard, amex)

Response

visa
hash

Signature information for Visa

visa.public_key
The public key to use for encryption.
mastercard
hash

Signature information for Mastercard

mastercard.public_key
The public key to use for encryption.
amex
hash

Signature information for American Express

amex.public_key
The public key to use for encryption.