Start saving a card
POST/v1/users/me/payment-method
A hosted page that saves a card for charges made without the payer present: auto-recharge and monthly statements. Send the caller to checkout_url; nothing is charged. A card saved this way replaces the one already saved.
Responses
- 201
- 401
- 403
- 502
- 503
The page to send the caller to.
Missing or invalid credentials.
FORBIDDEN: the credential is confined to one project, or is a connected app's. Billing changes need an account-wide key or a signed-in user.
The payment provider could not be reached (PAYMENT_PROVIDER_ERROR).
Card payments are not available on this deployment (PAYMENTS_NOT_CONFIGURED).