Skip to main content
PATCH
Update an embedded payment request (amount and/or rewards) before payment initiation

Authorizations

Authorization
string
header
required

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

Body

application/json

Request body

payment_token
string
required

Payment token identifying the request to update

Example:

"ptok_abcd1234"

merchant_id
string<uuid>

Merchant ID. Defaults to the logged-in merchant if not provided. Required for admin tokens.

Example:

"550e8400-e29b-41d4-a716-446655440000"

amount
integer

Minor-unit amount (e.g. cents)

Required range: x >= 1
Example:

1530

rewards
object

Response

Success

success
boolean
required

Indicates if the request was successful

Example:

true

data
object
required