usage

Confirm a completed Checkout setup session.

Verifies the session, and if the customer has no default payment method yet, sets the newly-attached card as the default. Parity with UpgradeToPaygView.put so both card-collection flows produce the same end state.

put/usage/v2/payment-methods/setup-intent/

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/usage/v2/payment-methods/setup-intent/
  • Auth: one of:
    • API key in header X-Api-Key
    • API key in header X-Secret-Key

Request body

session_idstring required

Response

OK

statusboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.