Store encrypted card details for subscription payments
POST {{baseUrl}}/storedPaymentMethods
Creates a token to store the shopper's payment details. This token can be used for the shopper's future payments.
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Content-Type
|
string | ||
Accept
|
string | ||
Idempotency-Key
|
null | A unique identifier for the message with a maximum of 64 characters (we recommend a UUID). |
RESPONSES
status Created
{
"expiryMonth": "03",
"expiryYear": "2030",
"holderName": "John Smith",
"id": "KHQC5N7G84BLNK43",
"lastFour": "1111",
"shopperReference": "YOUR_SHOPPER_REFERENCE",
"type": "scheme"
} |
ENDPOINTS