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.

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..."

transactionType
string
required

The type of transaction being completed. PURCHASE for a one-off checkout, CARD_ON_FILE to retain the card for future use, or BOTH.

Example:

"PURCHASE"

transactionOptions
PazeTransactionOptions · object | null

Client configuration data overriding values configured during merchant onboarding.

transactionValue
PazeTransactionValue · object | null

Required when transactionType is PURCHASE or BOTH. Must be omitted when transactionType is CARD_ON_FILE.

processingNetwork
string | null

Card network to process the transaction on. If not provided, Paze defaults to the network on the front of the card.

Example:

"VISA"

enhancedTransactionData
PazeEnhancedTransactionData · object | null

Additional purchase context used by Paze for risk scoring.

Response

Successful Response

payloadId
string
required

Unique identifier generated by Paze to track and link the wallet transaction. Used as the wallet transaction identifier.

Example:

"5C90F1500800f8dc1ce2-2b49-9d82-823e-111195cd4301"

completeResponse
string | null
required

Opaque token returned by Paze for the completion call.

Example:

"eyJhdWQiOm51bGwsImtpZCI6IjE3..."

securePayload
string | null
required

Signed and encrypted payload containing the data necessary to process the payment. Returned when payloadTypeIndicator is PAYMENT.

Example:

"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."

clientContext
string
required

Echo of the clientContext sent on the request. Returned by Paze for client-side tracing.

Example:

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

ewSID
string
required

Paze-issued session identifier returned for tracing.

Example:

"c4b5e9fa-9d35-4cf2-bfc2-2cb1b9f1f6ab"

timestampISO8601
string
required

Server timestamp of the Paze response in ISO 8601 format. Returned for tracing.

Example:

"2026-05-25T12:18:09Z"