Service that allows the tokenization of the customer's card, which will assign a specific id for each card, which may used for subsequent payments.
required | object (Customer) |
required | object |
Credit/debit card tokenization
Bad request
invalid credentials
{- "customer": {
- "id": "customer_id",
- "name": "Jane Doe",
- "phoneNumber": "+50496362249"
}, - "card": {
- "number": 411111111111111,
- "cardHolder": "Jane Doe",
- "expirationMonth": 11,
- "expirationYear": 2025,
- "cvv": 111,
- "singleUse": true
}
}{- "success": true,
- "message": "Ok",
- "id": "0ca4b9aad7f417634359bf4e549ff280156dec4a149fd4b1cd20ce74f7d330ba",
- "type": "card"
}