Create Coin Event Configuration
DevelopingPOST
/api/v0/enkash-coins/create-coins-configThis API facilitates the creation of Coin Event Configuration
Request
Header Params
Content-Type
string
required
Example:
application/json
Cookie
string
required
Example:
_cfuvid=HYP8bzh65tyJdOQA3SszmnkR5ESGtAs.KQDRP5INTTg-1720761030734-0.0.1.1-604800000; JSESSIONID=2965781B20AA96A7AA6BF5631B3BBDD8
Body Params application/json
configuration
string
required
CUSTOM enum
companyId
string
required
Company id of the company
event
string
required
Event Name
amount
integer
required
Coins Amount
Example
{
"configuration": "DEFAULT",
"companyId": "CEKEKCARDS",
"event": "MEAL_CARD_PAYMENT",
"amount": 6
}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
payload
object
required
coinConfigId
string
required
configuration
string
required
companyId
string
required
event
string
required
amount
integer
required
response_code
integer
required
response_message
string
required
Example
{
"payload": {
"coinConfigId": "WCC817428",
"configuration": "DEFAULT",
"companyId": "CEKEKCARDS",
"event": "MEAL_CARD_PAYMENT",
"amount": 6
},
"response_code": 0,
"response_message": "Success"
}
Last modified: 3 months ago