Create payment method
POST/api/v1.0/customers/:customer_id/payment-methods
Add a card to a customer. Card data is sent as JWE, tokenized securely, and only last4 is stored.
Request
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 500
Payment method created
Bad request
Unauthorized
Forbidden
Customer not found
Card validation error
Internal server error