post https://partners-staging.safegold.com/v1/users//gift-gold-confirm-v2
This endpoint will let you confirm the gifting gold transaction post the Gifting Verify API’s.
Go to Registration API after executing the Gift verify without receiver ID API
The Registration API will be used by the Distributor to register the User using the transaction ID that was generated in the “Gifting Verify without Receiver ID”.
Post successful registration, the user ID will be created for the user and will replace the Dummy ID that was created in the “Gifting Verify without Receiver ID” method.
Once the customer has been registered, for adding the gold to the Receiver and the receiver accepts the gift, Distributor will call the Gifting Confirm API.
Method Type | POST |
---|---|
Staging URL | https://partners-staging.safegold.com/v1/users/{user_id}/gift-gold-confirm-v2 |
Production URL | https://partners.safegold.com/v1/users/{user_id}/gift-gold-confirm-v2 |
Request Parameters
Field | Description |
---|---|
tx_id | This would be the Transaction ID which was passed by Safegold in the previous Gifting Verify API for the particular User ID. |
Success 200 Response Parameters
Field | Description |
---|---|
invoice_id | Invoice ID generated by SafeGold which would be seen in the Invoice for the particular transaction. |
Failure Parameters
Status Code | Code | Code Description |
---|---|---|
HTTP Status 400 | ||
1 | Missing required information | |
2 | Invalid transaction ID | |
3 | User ID/ Vendor ID Mismatch. | |
4 | Insufficient Balance |
Points to Remember
- Make sure to pass the tx_id received as response from Gift Verify with/without receiver ID API to the Gift Confirm API in the body parameter.