PUT
/
checkout
/
sessions
/
{checkout_session_id}
/
fields

This endpoint requires the checkout-sessions.write scope.

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

checkout_session_id
string
required

The unique ID for a Checkout Session.

Body

application/json

A request to update the secure fields of a checkout session.

payment_method
object

Details to store a new card payment method.