Checkout Sessions
Update fields for checkout session
Updates the Secure Fields of the Checkout Session. Once the fields have
been received the expiration will be updated to 5 minutes from the time
of receipt.
PUT
/checkout/sessions/{checkout_session_id}/fields
curl --request PUT \
--url https://api.sandbox.{gr4vy_id}.gr4vy.app/checkout/sessions/{checkout_session_id}/fields \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
This response has no body data.
This endpoint requires the checkout-sessions.write
scope.
Authorizations
Authorizationheaderrequired
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
checkout_session_idrequired
string
The unique ID for a Checkout Session.
Body
application/json
payment_method
object
Details to store a new card payment method.
Response
204
Was this page helpful?
curl --request PUT \
--url https://api.sandbox.{gr4vy_id}.gr4vy.app/checkout/sessions/{checkout_session_id}/fields \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json'
This response has no body data.