Award Reference
Create Award
Award a binded customer a Gold Convert (GC) and Gold Asset Enhance (GAE) reward. This process will deduct your float account balance to issue Gold Convert (GC) and Gold Asset Enhance (GAE) reward to the customer.
Required the target customer to be binded first. Refer to Bind Customer.
Award a binded customer.
POST /v1/award/create HTTP/1.1
Content-Type: application/json
Key: {API Key}
Sign: {Signature}
{
"customer": {
"id": "string"
},
"transaction": {
"reference": "string"
},
"amount": 0.00
}
Request
Body
application/json
Property | Type | Description |
---|---|---|
customer | object | The customer's object to be awarded. |
customer.id | string | The unique identifier of binded customer. Refer to Bind Customer. |
transaction | object | The related transaction's object |
transaction.reference | string | The reference of the transaction. |
amount | number | The amount to be awarded. |
Response
Body
application/json{
"code": 0,
"message": "string"
}
Property | Type | Description |
---|---|---|
code | number | The response code.0 - Success.901 - Insufficient Float Balance.902 – Insufficient inventory to process this request, please retry on next business day.1001 - Not allowed to perform this request due to customer has been unbinded.For other generic code , refer to ENUM Definition. |
message | string | The response message. |