post https://api-pro.sim.hashkeydev.com/api/v1/earn/purchase
Weight: 1
Request Parameters
Parameter | Type | Required | Example Value | Description |
|---|---|---|---|---|
productId | STRING | Y | Product ID | |
currency | STRING | Y | USD | Investment currency |
amount | STRING | Y | Investment amount | |
clOrderId | STRING | Client Order Id
A combination of case-sensitive alphanumerics, all numbers, or all letters of up to 16 characters. | ||
timestamp | LONG | Y | 1691567587389 | Timestamp |
signature | STRING | Y |
Response Content
| Param | Example | Type | Description |
|---|---|---|---|
| orderId | STO773487710412623872 | STRING | orderId generated by Hashkey |
| clOrderId | STRING | orderId defined by customer |