Reward Configuration - Bulk Update Status
This API allows merchants to update the status of multiple reward configurations at once.
POST /api/v1/integration/reward-configurations/bulkUpdateStatus
Request
| Parameter Name | Data Type | Description | Required/Optional |
|---|---|---|---|
| ids | Array | List of reward configuration ids | Required |
| status | String | Reward configuration status [ACTIVE, INACTIVE] | Required |
| merchantId | UUID | Merchant ID | Required |
| timestamp | Long | Timestamp in epoch milliseconds | Required |
| hash | String | Hash signature for request verification. The hash is an HMAC SHA256 checksum of the concatenated parameter values (merchantId and timestamp). These values are encoded in UTF-8 and passed to the calculateHmacSha256 method along with the secret key. This hash must match the one generated by the merchant using the same logic and the shared secret key provided by HPGames. HMAC SHA256 Code Snippet | Required |
Request example:
{
"ids": [
"7a899322-c001-4187-8a8b-26d51d0e08fd",
"7a899322-c001-4187-8a8b-26d51d0e08df"
],
"status": "ACTIVE",
"merchantId": "1387a6cc-3651-4473-ae52-e415caea3395",
"timestamp": 1754495931035,
"hash": "e93556d37a8c4eab7bda2d411322cdc4f0dc444c9101d9453a6635dfd8c73f7d"
}
Response
200 OK