Add email address for merchant contact

Changed on

Add email for merchant contact

post/email

Request

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

Request body

addressstring required

Email address of the merchant

contactIdstring required

Auto generated identifier of merchant contact id

isActiveboolean

Determines whether contact is active or not.

Response

200

idstring
addressstring
contactIdstring
isActiveboolean
createdBystring

Example response

{
  "id": "ac8da5f5-853b-470d-9463-3c3cfa198d7c",
  "address": "John.Doe@gmail.com",
  "contactId": "67863a3a-0333-4b87-ba3b-af1b0d26d405",
  "isActive": true,
  "createdBy": "test@ezypay.com"
}

Changes