applePaySessions

Start Apple Pay session

Changed on

Use this method to start an Apple Pay session for your merchant.

In the response, we return the startSessionObject that you send to Apple when you retrieve the cardholder's encrypted payment details.

Note: For more information about how to integrate with Apple Pay, go to Apple Pay.

post/processing-terminals/{processingTerminalId}/apple-pay-sessions

Request

  • Base URL
    https://api.payroc.com/v1
  • URL
    https://api.payroc.com/v1/processing-terminals/{processingTerminalId}/apple-pay-sessions
  • Auth
    HTTP bearer

Path parameters

processingTerminalIdstring required

Unique identifier that we assigned to the terminal.

Request body

appleDomainIdstring required

Unique appleDomainId of the merchant's domain that we assigned when you added their domain to our Self-Care Portal.

appleValidationUrlstring required

Validation URL from the Apple Pay JS API.

Response

Successful request. We started the Apple Pay session.

startSessionResponsestring required

Object that Apple returns when they start the merchant's Apple Pay session.

Send the content in this object to Apple to retrieve the cardholder's encrypted payment details.

Changes