postApplePayForMerchantList
Registers Apple Pay domains for a list of merchants using a JSON request body. For each merchant-domain pair, the system creates an appleDomains record. Domains not already registered update their status to registering, and asynchronous verification begins. If verification succeeds, the status updates to registered. If verification fails, the status changes to failed_registration, with an errorNote explaining the reason.
This endpoint is idempotent, allowing repeated submissions of the same request body without adverse effects. Only failed registrations are retried.
All domains must be fully qualified domain names (FQDNs) and must host the Apple Pay verification file at: https://{merchantDomain}/.well-known/apple-developer-merchantid-domain-association
In: header
Path Parameters
The Payrix Pro Entity ID for the Partner initiating domain verification for one or more Merchants.
Header Parameters
A custom, one-time identifier for any API request (GET, PUT, POST, or DELETE). Blocks future requests with the same token for 48 hours, ensuring only the first request is processed. Valid values can contain 1-100 alphanumeric and special characters. See Request Tokens for more information.
A single-use, limited authentication layer in addition to an API Key or Session Key to authorize sensitive operations. Auth Tokens add security by requiring one-time approval for specific actions.
Request Body
application/json
Response Body
application/json
application/json
curl -X POST "https://example.com/entities/p1_ent_123abc4d567890efg1h2i34/enableApplePayForMerchantList" \ -H "Content-Type: application/json" \ -d '{}'{ "response": [ { "msg": "Merchant Registration for Apple Pay Initiated", "status": "success" } ]}postApplePayForCsv POST
"Registers Apple Pay domains for multiple merchants using a CSV file. The uploaded CSV must include at least two columns: `"domain"` and `"merchant_id"`. All other columns are ignored. The file is parsed using the header row, and any data rows with missing or extra columns are also rejected. For each merchant-domain pair, the system creates an `appleDomains` record. Domains not already registered are marked as `registering`, and asynchronous processing begins. If verification succeeds, the status updates to `registered`. If verification fails, the status changes to `failed_registration`, with an `errorNote` explaining the reason. This endpoint is idempotent for previously registered domains, allowing repeated submissions without adverse effects. You can resubmit the same CSV to retry failed registrations after resolving any issues. Upload the CSV file as a form-data field named files. All domains must be fully qualified domain names (FQDNs) and must host the Apple Pay verification file at: https://{merchantDomain}/.well-known/apple-developer-merchantid-domain-association
postApplePayForMerchantListDisable POST
Unregisters Apple Pay domains for a list of merchants using a JSON request body. For each merchant-domain pair, the system updates the corresponding appleDomains record to reflect the `unregistered` status. Domains not yet unregistered are marked as `unregistering`, and asynchronous processing begins. If unregistration succeeds, the status updates to `unregistered`. If unregistration fails, the status reverts back to `registered`, with an `errorNote` explaining the reason. This endpoint is idempotent, allowing repeated submissions of the same request body without adverse effects. Only failed de-registrations are retried. All domains must be fully qualified domain names (FQDNs) and must have previously been registered for Apple Pay and verified.
