Payments

Create Apple Pay Session

Create an Apple Pay session for the Payment by its ID. This session is required to initiate Apple Pay transactions on the client side.

post/payments/{id}/create-apple-pay-session

Path parameters

idstring required

Request body

domainNamestring required

The domain name for which the Apple Pay session is being created.

displayNamestring required

The merchant name to be displayed in the Apple Pay sheet.

Example request

{
  "domainName": "example.com",
  "displayName": "My Store"
}

Response

OK

sessionDatastring required

Base-64 encoded Apple Pay session data

Changes

No recorded changes to this endpoint across all 1 revision of this API.