Merchant Profile
  • 04 Apr 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

Merchant Profile

  • Dark
    Light

Article summary

Fetch Merchant Profile

Fetch merchant profile details.It is important to know the current status of the merchant in order to decide the further course of actions.

Request

HEADERS

Content-Type:application/json
x-asap-key:<x-asap-key>
x-asap-id:<x-asap-id>
x-api-key:<x-api-key>

BODY

{}

Response

HEADERS

Content-Type:application/json

BODY

{
  "flag": "SUCCESS",
  "message": "Response has been sent successfully",
  "info": {
    "name": "Merchant Name",
    "email": "email@merchant.com",
    "phone_no": "+919000000001",
    "activation_status": "OPEN"
  }
}

Update Merchant Profile

Update merchant profile.

Request Body

nametyoe
activation_statusString

Request

HEADERS

Content-Type:application/json
x-asap-key:<x-asap-key>
x-asap-id:<x-asap-id>
x-api-key:<x-api-key>

BODY

{
  "activation_status": "OPEN"
}