get https://partners-staging.safegold.com/v1/sell-gold//order-status
This endpoint will let you query the order status of the sell gold transaction.
Method Type | GET |
---|---|
Staging URL | https://partners-staging.safegold.com/v1/sell-gold/{tx_id}/order-status |
Production URL | https://partners.safegold.com/v1/sell-gold/{tx_id}/order-status |
URL Params
Parameters | Value |
---|---|
tx_id | [integer] Example: tx_id = 1012 |
Success 200 Response Parameters
Field | Description |
---|---|
created_at | The timestamp of the creation of the particular transaction. |
status | The status of the particular Buy transaction *status -> 0: tx not confirmed, 1: success, 2: failed, 3: in progress |
Failure Parameters
Status Code | Code | Code Description |
---|---|---|
HTTP Status 400 | ||
1 | Invalid Transaction ID |
Points to Remember
After confirming the transaction in the Sell Confirm API, this API can be used for checking the status of the transaction by passing the tx_id as the parameter.