Deposit Cancel
POST
https://api-v1.apigamehub.com/v1/h2h/deposit/cancel
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-v1.apigamehub.com/v1/h2h/deposit/cancel' \
--header 'X-APIGAMEHUB-Authorization: XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX' \
--form 'signature="hash_hmac('\''sha256'\'', your_mem_code, your_api_key)"' \
--form 'reference="825fe52c-1a0b-4482-bd44-fb5d29d85d7d"'
Response Response Example
200 - Cancelled
{
"status": false,
"merchant_id": "XXXXXX",
"msg": "Request deposit cancelled failed",
"ip": "::1",
"ts": 1747279664
}
Request
Header Params
X-APIGAMEHUB-Authorization
string
optional
Example:
XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX
Body Params multipart/form-data
signature
string
required
Example:
hash_hmac('sha256', your_mem_code, your_api_key)
reference
string
required
Example:
825fe52c-1a0b-4482-bd44-fb5d29d85d7d