RegisterMerchantRequest "Payment Services Exception Unauthorized"

Hello

I keep receiving the '401 Unauthorized' error while trying to register another partner merchant (.../paymentservices/registerMerchant).

Does is it have anything to do with the type of Apple developer account, I suppose it should be somehow permitted to have access to this API method. If it's the case - might anyone please share where exactly in the Apple account I could check it?

In Membership details the Entity Type is set as Company / Organisation

What are the other nuances that I might be missing out here?

Some details on the set up:

  • domain already verified
  • both processing & merchant certificates issued
Answered by torauser in 715448022

As far as I understand, the API method is supposed to be available at this point, since the Apple account is enrolled as Organization.

What comes to mind next is that there might be something wrong whether with domain verification file or with the 'encryptTo' field's value (one of the required fields for the merchant registration request).

  • The 'encryptTo' has the value of the merchant ID which processing certificate is being used
  • The domain verification file hosted is the same as was downloaded for the merchant ID mentioned above

Shall we somehow re-register merchant id to make it able to register another merchants?

Accepted Answer

As far as I understand, the API method is supposed to be available at this point, since the Apple account is enrolled as Organization.

What comes to mind next is that there might be something wrong whether with domain verification file or with the 'encryptTo' field's value (one of the required fields for the merchant registration request).

  • The 'encryptTo' has the value of the merchant ID which processing certificate is being used
  • The domain verification file hosted is the same as was downloaded for the merchant ID mentioned above

Shall we somehow re-register merchant id to make it able to register another merchants?

@torauser Did you find the solution? I'm having the same issue.

@miro1234 there was a problem with the verification file, the thing is that the team issued another one during the process of implementation; once we changed the file in the root folder it all went well

RegisterMerchantRequest "Payment Services Exception Unauthorized"
 
 
Q