Response to create a payment method.
object (BillingDetails) Billing details associated with a payment method. | |
object (CardResponse) Details about a payment card. | |
| id | string The identifier of the payment method. |
| type | string The type of payment method. |
| usage | string or null Indicates whether the payment method is saved for future use.
|
{- "id": "string",
- "type": "CARD",
- "billingDetails": {
- "postalCode": "string",
- "country": "string",
- "name": "string",
- "phone": "string",
- "city": "string",
- "state": "string",
- "email": "string",
- "address": {
- "addressLine1": "string",
- "addressLine2": "string"
}
}, - "usage": "ON_SESSION",
- "card": {
- "firstSix": "string",
- "lastFour": "string",
- "expiry": {
- "month": "string",
- "year": "string"
}, - "brand": "VISA",
- "fingerprint": "0cb6dabd-f8f1-4f78-8cce-283e96dd3637",
- "funding": "DEBIT"
}
}