Approve
This service is used to approve an exchange. This is only required if your exchange has been paused due to an Approval Required being triggered. This will occur if the finalized rate of the exchange is less than the threshold you specified in the initial creation with the Minimum Sell Rate variable. You will need to provide us with the Reference Id of the exchange you wish to approve so we can proceed with the trade.
The response of this service is relatively empty as we only need to notify you of the success.
Inputs
| Variable | Description | |
|---|---|---|
| Merchant ID | merchant_id | Your unique merchant id. This can be found under your Account Settings. |
| Reference Id | reference_id | The Reference Id of the exchange you want to approve. This should have been provided in the response from the Sell query. |
| Hash Value | hash_value | The resulting hash of your input arguments and your API Key. |
Example Input
https://exchange.nekbit.com/api/v1/approve/?merchant_id=B4FFFAE5-2618-4C2B-A8A0-1A62421CF227&reference_id=2aa3b74c3c2e048e928d4f7fba6c12d3&hash_value=479c3769583fd6fe366607ec4deb6b18
Outputs
| Variable | Description | |
|---|---|---|
| Type | type | Indicates either success or error. |
| Data | data | Contains variables unique to this query type. |
| Timestamp | timestamp | The current date/time UTC. |
Example Output
{
"type": "success",
"data": [],
"timestamp": "2018-12-21 15:17:12"
}