Skip to main content
POST
C#
This endpoint requires the digital-wallets.write or embed scope.

Authorizations

Authorization
string
header
required

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

Headers

x-gr4vy-merchant-account-id
string

The ID of the merchant account to use for this request.

Example:

"default"

Body

application/json
sessionId
string
required

Session reference identifier generated by the merchant. Must match the value sent in the Paze session create call.

Maximum string length: 255
Example:

"7c1cba03-d20e-4a3f-9d77-e5dc23a39ac2"

code
string
required

Opaque token issued by the Paze service in the response from the most recent Paze UX interaction (checkout, change card, or change shipping address).

Maximum string length: 10240
Example:

"eyJhdWQiOm51bGwsImtpZCI6IjE3..."

accessToken
string
required

The Paze OAuth access token returned by the Paze mobile session create call. Used to authenticate the request to Paze.

Example:

"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."

Response

Successful Response

consumer
PazeConsumer · object
required
shippingAddress
PazeShippingAddress · object | null
required
maskedCard
PazeMaskedCard · object
required
code
string
required

Opaque token issued by the Paze service to be used in the next Paze interaction.

Example:

"eyJhdWQiOm51bGwsImtpZCI6IjE3..."