post https://api.aeronpay.in/api/serviceapi-prod/api/digitalgold/user/purchase
Sample Request:
{
"unique_id": "{{Unique ID}}",
"client_referenceId": "{{Client Reference ID}}",
"metal_type": "gold",
"amount": "10.00"
}
Sample Response:
{
"status": "SUCCESS",
"statusCode": "200",
"message": "Purchase of 0.0010 grams of gold Successful",
"data": {
"unique_id": "{{Unique ID}}",
"name": "{{Customer Name}}",
"metal_type": "gold",
"price_per_unit": "8874.56",
"quantity": "0.0010",
"pre_tax_amount": "9.71",
"total_amount": "10.00",
"total_tax_amount": "0.29",
"reference_id": "AE245217414367178491282342",
"transaction_id": "APAY17414367172233",
"gold_balance": "0.0010",
"invoice_number": "{{Invoice Number}}"
},
"acknowledged": "1"
}