Create merchant's contact by type

Changed on

Create merchant's contact by type

post/merchantcontact

Request

  • Base URL
    https://api-sandbox.ezypay.com/v2
  • URL
    https://api-sandbox.ezypay.com/v2/merchantcontact
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://identity-sandbox.ezypay.com/token

Headers

merchantstring required

Merchant ID

Request body

typestring

Type of contact to be created for mechant. Supported values are EMAIL, ADDRESS.

merchantIdstring

Merchant ID

Response

200

idstring
typestring
merchantIdstring
createdBystring

Example response

{
  "id": "67863a3a-0333-4b87-ba3b-af1b0d26d405",
  "type": "EMAIL",
  "merchantId": "1aefbba9-263a-484f-8ba1-1b074b8c1493",
  "createdBy": "test.test@ezypay.com"
}

Changes