ADVENTURE API
HOMESTAYS API

Gift Card Buy / Purchase

post
Gift Card Buy / Purchase

https://traveloapi.com/yourapi/giftcard/giftcard_purchase
Request
Response
Path Parameters
gatkey
required
string
gatkey (provided by traveloapi)
code
required
string
code
amount
required
string
amount
orderid
required
string
orderid unique Id (Min 6 & Max Length 15) From Your Side
sender_name
required
string
sender_name
sender_email
required
string
sender_email
sender_mobile
required
string
sender_mobile
receiver_name
required
string
receiver_name
receiver_email
required
string
receiver_email
receiver_mobile
required
string
receiver_mobile
gift_message
required
string
gift_message Please Use Max: 160-180 Characters
sender_address
required
string
sender_address : Pass if Giftcard is Physical
sender_pincode
required
string
sender_pincode : Pass if Giftcard is Physical
sender_city
required
string
sender_city : Pass if Giftcard is Physical
sender_state
required
string
sender_state : Pass if Giftcard is Physical
receiver_address
required
string
receiver_address : Pass if Giftcard is Physical
receiver_pincode
required
string
receiver_pincode : Pass if Giftcard is Physical
receiver_city
required
string
receiver_city : Pass if Giftcard is Physical
receiver_state
required
string
receiver_state : Pass if Giftcard is Physical
200: OK
{
"payid": "1180419135447ZFEGT",
"operator_ref": "1804191354240144",
"status": "success",
"message": "Transaction Successful",
"txstatus_desc": "Success",
"number": "9836069576",
"order_id": "42342343",
"commission": 0.5
}
status : success / pending / failure
txstatus_desc : Success / Pending / Failure
404: Not Found
{
"message": "Invalid Request",
"status": "error",
}

‚Äč