get https://partners-staging.safegold.com/v1/buy-gold//order-status
This endpoint will let you query the order status of the buy gold transaction.
Method Type | GET |
---|---|
Staging URL | https://partners-staging.safegold.com/v1/buy-gold/{tx_id}/order-status |
Production URL | https://partners.safegold.com/v1/buy-gold/{tx_id}/order-status |
URL Params
Parameters | Value |
---|---|
tx_id | [integer] Example: tx_id = 1011 |
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 |
Ignore realization_status and payment_status in response example
Failure Parameters
Status Code | Code | Code Description |
---|---|---|
HTTP Status 400 | ||
1 | Invalid Transaction ID |
Points to remember
After confirming the transaction in the Buy Confirm API, this API can be used for checking the status of the transaction by passing the tx_id as the parameter.