ManagementPayment methods merchant level

Add an Apple Pay domain

POST
/merchants/{merchantId}/paymentMethodSettings/{paymentMethodId}/addApplePayDomains

Adds the new domain to the list of Apple Pay domains that are registered with the merchant account and the payment method identified in the path. For more information, see Apple Pay documentation.

To make this request, your API credential must have the following role:

  • Management API—Payment methods read and write

Authorization

AuthorizationBasic <token>

In: header

Path Parameters

merchantId*string

The unique identifier of the merchant account.

paymentMethodId*string

The unique identifier of the payment method.

Request Body

application/json

domains*array<string>

The list of merchant domains. Maximum: 99 domains per request.

For more information, see Apple Pay documentation.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/merchants/string/paymentMethodSettings/string/addApplePayDomains" \  -H "Content-Type: application/json" \  -d '{    "domains": [      "https://example.com"    ]  }'
Empty