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 | null

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

Example:

"default"

Body

application/json
validation_url
string
required

The validation URL as provided by the Apple SDK when processing a payment.

Example:

"https://apple-pay-gateway-cert.apple.com"

domain_name
string
required

The domain on which Apple Pay is being loaded.

Example:

"example.com"

Response

Successful Response

The response is of type ApplePaySession · object.