Apple Pay Merchant Creation API

My account has reached it's 99 merchant ID limit and I have applied and got approval for using the API that allows me to exceed the limit.

I was testing the API according to the documentation in Postman, but I am getting the following error:

POST https : //apple- pay-gateway.apple.com/paymentservices/registerMerchant Error: read ECONNRESET

Please find below the cURL we are using according to the docs:

curl --location 'https://apple-pay-gateway.apple.com/paymentservices/registerMerchant'
--header 'Content-Type: application/json'
--data '{ "domainNames": "https://checkout.montypay.com", "encryptTo": "merchant.test.montypay", "partnerInternalMerchantIdentifier": "merchant.test.montypay", "partnerMerchantName": "Test" }'

Please note that I tried the Live and the sandbox endpoints and both gave the same error.

Answered by DTS Engineer in 823391022

Hi @FadiMonty,

It appears you are not sending a POST request in your cURL command. Please try the following example:

curl --location -X POST 'https://apple-pay-gateway.apple.com/paymentservices/registerMerchant' \
-H 'Content-Type: application/json' \
-d '{ "domainNames": "https://checkout.montypay.com", "encryptTo": "merchant.test.montypay", "partnerInternalMerchantIdentifier": "merchant.test.montypay", "partnerMerchantName": "Test" }'

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Hi @FadiMonty,

It appears you are not sending a POST request in your cURL command. Please try the following example:

curl --location -X POST 'https://apple-pay-gateway.apple.com/paymentservices/registerMerchant' \
-H 'Content-Type: application/json' \
-d '{ "domainNames": "https://checkout.montypay.com", "encryptTo": "merchant.test.montypay", "partnerInternalMerchantIdentifier": "merchant.test.montypay", "partnerMerchantName": "Test" }'

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

Kindly note that the above still did not work

Dear @DTS Engineer,

Kindly note that the above cURL still did not work.

Please look into this issue and get back to me with your feedback.

Best regards,

Dear Support Team,

I hope this email finds you well.

I have been reaching out via email and the forum regarding my issue but have not received any response. Kindly provide me with an alternative contact method that works, or update me on the status of my request at your earliest convenience.

Looking forward to your prompt response.

Best regards,

Apple Pay Merchant Creation API
 
 
Q