Skip to main content
PATCH
Spree SDK

Authorizations

x-spree-api-key
string
header
required

Publishable API key for store access

Authorization
string
header
required

JWT token for authenticated customers

Headers

x-spree-api-key
string
required
Authorization
string

Bearer token for authenticated customers

x-spree-token
string

Order token for guest access

Path Parameters

cart_id
string
required

Cart prefixed ID

id
string
required

Payment session ID

Body

application/json
amount
string

Updated payment amount

Example:

"50.00"

external_data
object

Provider-specific data to update

Response

200 - application/json

payment session updated

id
string
required
status
string
required
currency
string
required
external_id
string
required
external_data
object
required
customer_external_id
string | null
required
expires_at
string | null
required
amount
string
required
payment_method_id
string
required
order_id
string
required
payment_method
object
required
payment
object