Cards
Tokenise a card once and re-use the token on subsequent transactions. Manage the lifecycle: list, detail, update, delete.
List cards
GET
/v1/cards/{page}/{limit}
Path parameters
| Name | Example | Description |
|---|---|---|
page |
— |
|
limit |
— |
Errors
| Code | Description |
|---|---|
default |
Card detail
GET
/v1/cards/{token}
Path parameters
| Name | Example | Description |
|---|---|---|
token |
— |
Errors
| Code | Description |
|---|---|
default |
Update card
PUT
/v1/cards/{token}
Path parameters
| Name | Example | Description |
|---|---|---|
token |
— |
Errors
| Code | Description |
|---|---|
default |
Delete card
DELETE
/v1/cards/{token}
Path parameters
| Name | Example | Description |
|---|---|---|
token |
— |
Errors
| Code | Description |
|---|---|
default |
Tokenize card
POST
/v1/cards
Operation
card_newRequest body
| Field | Type | Description |
|---|---|---|
card_
|
string (0,any) | Valid card number. Luhn validation will be applied |
cardholder_
|
string (0,any) | |
card_
|
string (0,any) | Valid month between 01 and 12 |
card_
|
string (0,any) | Valid year. |
card_
|
string (0,any) |
Example request
{
"card_number": "4111111111111111",
"cardholder_name": "John Doe",
"card_expiration_month": "01",
"card_expiration_year": "24",
"card_alias": "string"
}
Response
| Field | Type | Description |
|---|---|---|
code
|
integer (0,any) |
Example response
{
"code": "integer",
"data": {
"token": "89adaf41-95e6-4a42-b4ee-a686caba7139"
}
}