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.
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