# Apple Pay™ on Business' Webpage
To add Apple Pay™ button on your webpage, following steps are required.

First your webpage should be compliant with [Apple's requirements](https://developer.apple.com/apple-pay/acceptable-use-guidelines-for-websites/).
Since Apple Pay button is added to your own webpage, instead of Bank of Georgia's, you need to configure the environment independently. For more information visit [Apple's configuration page](https://developer.apple.com/documentation/apple_pay_on_the_web/configuring_your_environment).

Add the Apple Pay certificate on your website.

Download certificate [here](https://webstatic.bog.ge/apple-developer-merchantid-domain-association).

See the detailed instruction [here](https://developer.apple.com/documentation/applepaywebmerchantregistrationapi/preparing_merchant_domains_for_verification).

After adding the certificate, please, write to this email address [ecommercemerchants@bog.ge](mailto:ecommercemerchants@bog.ge) and provide your domain and your API Public Key.

After these steps you can make Bank payments through Apple Pay button on your page.
For creating order see [Standard Process - Order Request](https://api.bog.ge/docs/en/payments/standard-process/create-order)

:::note

[`Body`](https://api.bog.ge/docs/en/payments/standard-process/create-order#body-parameters) should contain following parameters:

```json
"payment_method": ["apple_pay"],
"config": {
    "apple_pay": {
        "external": true
    }
}
```

:::

### Response

- `id` — string
  Order identifier.

- `result` — json
  The result returned by Apple when initiating payment.

- `_links` — object

  The web resource addresses are used in the further stages of the payment process. At the moment following resource is returned:

  - `_links.accept.href` — string

    The address for accepting payment. It is necessary to call this service for completing Apple Pay payment.

**RESPONSE**

```json
{
    "id": "{order_id}",
    "result": {...},
    "_links": {
        "accept": {
            "href": "https://api.bog.ge/payments/v1/ecommerce/orders/{order_id}/payment"
        }
    }
}
```
