Request to create a payment method.
object (BillingDetails) Billing details associated with a payment method. | |
object (Card) Card creation attributes. | |
| type | string The type of payment method. This is required.
|
| usage | string or null Field used to determine if the logged-in customer will save the payment method for future usage. The value is
|
{- "type": "CARD",
- "card": {
- "number": "string",
- "cvv": "string",
- "expiry": {
- "month": "03",
- "year": "28"
}
}, - "billingDetails": {
- "postalCode": "string",
- "country": "string",
- "name": "string",
- "phone": "string",
- "city": "string",
- "state": "string",
- "email": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string"
}
}, - "usage": "ON_SESSION"
}