Set options for a card being added
PATCH/apis/cra.diagrid.io/v1beta1/billing/paymentmethods/setup-intent/:SetupIntentId
Choose whether the card being added becomes the default payment method and whether its billing address becomes the organization's. Call this before the card details are submitted.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- default
No content. The options were saved.
Authentication failed: the credentials are missing or not valid, or the x-diagrid-orgid header names a different organization than the credentials.
You are not authorized to perform this action.
The setup intent was not found.
The card has already been added, so its options can no longer change.
Unexpected error.