- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback!
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
name | tyoe |
---|---|
activation_status | String |
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"
}