Digital Gold Redeem API
The Digital Gold Redeem API allows customers to redeem their digital gold holdings by placing orders for physical gold/silver products.
Endpoint
POST https://api.aeronpay.in/api/serviceapi-prod/api/digitalgold/user/products/order
Headers
| Header | Value | Required |
|---|---|---|
client-id | Your unique client ID | Yes |
client-secret | Your client secret key | Yes |
Content-Type | application/json | Yes |
Request Body
Example Request
{
"unique_id": "APAY12345",
"name": "Rohit Sharma",
"mobile": "9876543210",
"address": "45 Sunrise Apartments, Mumbai",
"pincode": "400001",
"product": [
{
"sku": "GOLD100",
"quantity": 2
},
{
"sku": "SILVER50",
"quantity": 1
}
],
"client_referenceId": "REF123456789"
}Field Specifications
| Field | Data Type | Required | Validation Rules |
|---|---|---|---|
unique_id | string | Yes | Must be 3–10 characters; match regex ^APAY[0-9]{5}$ |
name | string | Yes | 2–50 characters |
mobile | string | No | 10 digits; starts with 6, 7, 8, or 9 |
address | string | Yes | Cannot be empty |
pincode | string | Yes | Exactly 6 numeric digits |
product | array | Yes | At least 1 product object required |
product[].sku | string | Yes | SKU of the product to redeem. Fetch from products list API |
product[].quantity | integer | Yes | Integer between 1 and 999 (no decimals) |
client_referenceId | string | Yes | Maximum 30 characters |
Field Descriptions
unique_id
The unique customer identifier in the AeronPay system. Must follow the format APAY followed by exactly 5 digits.
name
Full name of the customer placing the redemption order.
mobile
Customer's mobile number (optional). If provided, must be a valid 10-digit Indian mobile number starting with 6, 7, 8, or 9.
address
Complete delivery address for the physical gold/silver products. This field is mandatory and cannot be empty.
pincode
6-digit postal code for the delivery location. Must be exactly 6 numeric digits.
product
Array of products to be redeemed. Each product object must contain:
- sku: Product identifier obtained from the products list API
- quantity: Number of units to redeem (integer between 1-999)
client_referenceId
Your internal reference ID for tracking this redemption order. Maximum 30 characters allowed.