Skip to main content

Hosted applepay

By default, applePay will be enabled once you go live. We refer to this as the hosted method, it will save you time and there is no need for any additional configuration, as it is handled by the gateway.

It will be shown in the checkout page only if it's opened through Safari Browser

note

At the moment we only support hosted applePay which doesn't require any configuration from your side .

Using Hosted applepay

once your account is in live mode appleay should appear as a payment option in the checkout page.

or you can specify applepay in the API request to be the only payment method

samaple request

make sure to add the parameter methods and pass applepay

{
"merchant_key": "{{merchant_key_dineropay}}",

"operation": "purchase",
"order": {
"number": "12",
"amount": "{{amount}}",
"currency": "SAR",
"description": "Important gift"
},
"cancel_url": "https://cancel.com",
"success_url": "https://success.com",
"customer": {
"name": "Amer Mo",
"email": "test@test.com"
},
"methods": ["applepay"],
"hash": "{{hash}}"
}

add other