user-payment-methods-controller

Create a new Payment Method

Add a card to the user file, the card will be used for pre-auth and payment

post/api/users/{userId}/payment-methods

Path parameters

userIdinteger required

Request body

tokenstring required
methodType'CREDIT_CARD' | 'AFFIRM' required

Response

The payment method was successfully created.

Changes