Creates a new payment method for a customer
Bearer token for authentication
The ID of the customer to associate with the payment method
"cus_1234567890"
Whether the payment method is active
true
The ID of the Stripe payment method
"pm_1234567890"
The type of the payment method
"card"
The last 4 digits of the payment method
"1234"
The fingerprint of the payment method
"1234567890"
The country of the payment method
"US"
The brand of the payment method
"Visa"
The expiration month of the payment method
1
The expiration year of the payment method
2025
The funding of the payment method
"credit"
The wallet of the payment method
{}Payment method successfully created
Unique identifier of the payment method
"pm_123456789"
Customer ID associated with this payment method
"cust_123456789"
Whether the payment method is active
true
Type of payment method
card, twint "card"
Last 4 digits of the card (for card payments)
"4242"
Card brand (for card payments)
visa, mastercard, amex "visa"
Expiration month (for card payments)
1 <= x <= 1212
Expiration year (for card payments)
2025
Country of the payment method
"CH"
Expiration month of the payment method
12
Expiration year of the payment method
2025
Fingerprint of the payment method
"1234567890"
Funding of the payment method
"card"
Stripe ID of the payment method
"1234567890"
Wallet of the payment method
{}