Allocate Coins
Developing
This API facilitates the allocation of Coins according to the event configured.
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/json
{ "companyId": "CEK0TCW2W8", "event": "REFERRAL_EVENT", "requestId": "COIN_REQ1234567", "userId": "EKQZVMQK"}
Request Code Samples
curl --location --request POST 'https://test.your-api-server.com/api/v0/enkash-coins/allocate-coin' \
--header 'authorization: Bearer oBPOndfOxpjOvReBnipyNdUuqB4' \
--header 'Content-Type: application/json' \
--data-raw '{ "companyId": "CEK0TCW2W8", "event": "REFERRAL_EVENT", "requestId": "COIN_REQ1234567", "userId": "EKQZVMQK"}'
Responses
application/json {"payload":"Successfully allocated enkash Coins","response_code":0,"response_message":"Success"}
Modified at 2025-01-08 07:38:04