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
client
PazeClient · object
required

The merchant client integrating with Paze.

sessionId
string
required

Session reference identifier generated by the merchant. Must be reused across all Paze APIs in a checkout session.

Maximum string length: 255
Example:

"24e4dbb9-4f5e-43e8-8375-e9fd45650bc9"

accessToken
string
required

Access token obtained from the Paze session endpoint with source=mobile.

callbackURLScheme
string
required

Merchant app's ID (iOS bundle identifier or Android application ID) used as the callback URL scheme.

Maximum string length: 40
Example:

"Gr4vyCallback"

intent
string
required

Primary intent of the checkout session.

Example:

"EXPRESS_CHECKOUT"

transactionValue
PazeTransactionValue · object | null

Currency and amount of the transaction. Required when intent is EXPRESS_CHECKOUT.

transactionType
string | null

Type of transaction.

shippingPreference
string | null

Whether to collect a shipping address from the consumer.

billingPreference
string | null

Verbosity of billing address required.

emailAddress
string | null

Consumer email address for checkout flow optimization.

Maximum string length: 128
phoneNumber
string | null

Consumer phone number for checkout flow optimization.

Maximum string length: 10
Example:

"7735550100"

cobrand
PazeCobrandItem · object[] | null

Details for cobranded cards offered by the merchant.

Maximum array length: 10
acceptedShippingCountries
string[] | null

ISO 3166-1 alpha-2 country codes restricting eligible shipping addresses. Empty list or absence means all countries accepted.

acceptedPaymentCardNetworks
string[] | null

Accepted payment card networks. Empty list or absence means all networks accepted.

alwaysEnableCheckout
boolean
default:false

Set to true to enable Paze checkout even if the provided email address or phone number does not match a Paze wallet.

Response

Successful Response

pazeCheckoutUrl
string
required

Session URL for launching the Paze checkout UI from the native mobile app.

clientContext
string
required

Merchant-defined transaction identifier echoed from the request.

ewSID
string
required

Globally unique session identifier generated by Paze.

timestampISO8601
string
required

Timestamp when the response was sent by Paze, in ISO 8601 format.