This endpoint will let you create a gifting transaction. User ID of the Sender needs to be passed in the URL. On successful verification, the gold amount will be deducted from the senders wallet.

Once the Verify API is successful, the Sender’s wallet balance will be deducted. For adding the gold to the Receiver once the receiver accepts the gift, Distributor will call the Gifting Confirm API.

Once the Gifting Verify API (with receiver ref id) has been called, the status of the particular transaction would be ​ (Status - 3) ​ as the gold amount for the particular transaction would be deducted from the customer’s balance.


FieldDescription
rate_idThe rate_id which was passed by Safegold in the response of Live Sell Price API.
gold_amountGold Amount corresponding to the Sell Price.
sell_priceThe final Amount which the Sender wishes to send to the Receiver.
receiver_idThe receiver’s user_id.

Success 200 Response Parameters

FieldDescription
tx_idUnique Transaction ID provided by Safegold which will be passed to the next endpoint to confirm the transaction.
rate_idThe rate_id which was passed by Safegold in the response of Live Sell Price API.
sender_idUser ID of the Sender.
receiver_idUser ID of the Receiver.
gold_amountGold Amount corresponding to the Sell Price.
sell_priceThe final Amount which the Sender wishes to send to the Receiver.

Failure Parameters

Status CodeCodeCode Description
HTTP Status 400
1Missing required information
2Sender Not registered
3Insufficient Balance
4SG Rate does not match the current rate
5Gold Amount does not match
6Receiver Not Registered
7Receiver ID Cannot Be Same As Sender ID
Language
Click Try It! to start a request and see the response here!