Creates a payment method.
Succesful operation. Payment method created.
Your Toast API client does not permission to create the payment method.
The specified saved payment method was not found.
Payment method not found or hasn't been scoped to payment or setup intent.
Internal server error.
{- "type": "CARD",
- "card": {
- "number": "string",
- "cvv": "string",
- "expiry": {
- "month": "string",
- "year": "string"
}
}, - "billingDetails": {
- "postalCode": "string"
}, - "usage": "ON_SESSION"
}{- "id": "string",
- "type": "string",
- "card": {
- "firstSix": "string",
- "lastFour": "string",
- "expiry": {
- "month": "string",
- "year": "string"
}, - "brand": "VISA",
- "fingerprint": "0cb6dabd-f8f1-4f78-8cce-283e96dd3637",
- "funding": "DEBIT"
}
}