ADVENTURE API
HOMESTAYS API

Buy Digital Gold

get
Buy Digital Gold

https://traveloapi.com/yourapi/digitalgold/buyGold
Request
Response
Path Parameters
gatkey
required
string
gatkey (provided by traveloapi)Pass gatkey with url
mobile
required
string
Mobile Number Of Customer
id
required
string
pass id from Customer registration response
buy_type
required
string
amount/grams
amount
required
string
amount
200: OK
{"statuscode":"TXN","status":"Transaction Successful","data":{"tx_id":12243600,"sg_rate":"3143.56","partner_rate":"3143.56","gold_amount":"0.0154","buy_price":"50","pre_gst_buy_price":48.54,"gst_amount":1.46,"user_id":"2478179","total_grams":0.0154,"total_amount":"50"}}
404: Not Found
{
"message": "Invalid Request",
"status": "error",
}

‚Äč