Digital wallets - Sessions
Create a Apple Pay session
Account updater
Buyers - Payment methods
Payment methods
Payment methods - Payment service tokens
Payment methods - Network tokens
Buyers - Gift cards
Buyers - Shipping details
Card scheme definitions
Digital wallets - Setup
Digital wallets - Sessions
Transactions
Refunds
Payment options
Payment service definitions
Payment services
Audit logs
Checkout sessions
Merchant accounts
Digital wallets - Sessions
Create a Apple Pay session
Create a session for use with Apple Pay.
POST
/
digital-wallets
/
apple
/
session
curl --request POST \
--url https://api.{id}.gr4vy.app/digital-wallets/apple/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"validation_url": "https://apple-pay-gateway-cert.apple.com",
"domain_name": "example.com"
}'
{}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Headers
The ID of the merchant account to use for this request.
Examples:
"default"
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.{id}.gr4vy.app/digital-wallets/apple/session \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"validation_url": "https://apple-pay-gateway-cert.apple.com",
"domain_name": "example.com"
}'
{}