Credit Card

Create credit card token

POST https://api.basset.ws/token

Request Body

Name
Type
Description

number

string

Credit card number

card_holder_name

string

Credit card holder name

expiry_date

string

Credit card expiry date. Format: MM/yy

security_code

string

Credit card security code

{
  "type": "CREDIT",
  "number": "9d4c2da66892adf1d56cc039ead98c8f6b3031674837b7688fa134a631f73cce",
  "expiry_date": "10/22",
  "card_holder_name": "MATIAS G SUEIRO",
  "bin": "473913",
  "last_numbers": "0514",
  "security_code": "98492d7f828b50f0ea76e9933f37ab3ee5d971"
}

Get credit card token

GET https://api.basset.ws/token/:id

Path Parameters

Name
Type
Description

id

string

Credit card token id

Delete credit card token

DELETE https://api.basset.ws/token/:id

Path Parameters

Name
Type
Description

id

string

Credit card token id

Last updated