API key and Basic Authentication

In order to receive callbacks about status changes for an invoice a callback URL must be specified first. But before setting your callback URL you must choose prefered authentication method which we will use for authenticating our requests when calling your callback URL. Currently we support Basic and ApiKey authentication methods:

PUT /api/v1/merchants/{merchantId}/auth/basic
PUT /api/v1/merchants/{merchantId}/auth/apikey

 Using ApiKey authentication method your provided API key will be simply added to Authorizationheader.