- Explore Our Product Suite
- Payment Gateway
- Payouts
- Prepaid Cards
- About Prepaid Card
- Key Capabilities
- Getting Started
- APIs
- API Access & Authorization
- Encryption & Decryption Guide
- Auth Token
- Create Card Account
- Create Gift Card
- Create Prepaid Card
- Set Card PIN
- Load Card Balance
- Get Card Account Details
- Generate Card OTP
- View Card Details
- Card Usage Controls
- Get Card Usage Limits
- Request Card Replacement
- Block Card
- Order Physical Card
- Get Card Details
- Get Transaction Details
- Get All Transaction details
- Bharat Connect (BBPS)
- About Bharat Connect
- Invoice Payments
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Accounts Payable
- Account Receivable
- Expense Management
- Rewards & Incentives
- About Rewards
- Getting Started
- Encryption & Decryption Guide
- Reward Allocation
- Incentive Allocation
- APIs
- Token APIs
- Reward Allocation
- Incentive Allocation
- Redemption
- Point Management
- Verification Suite
Update Event
Developing
PATCH
/api/v0/enkash-coins/{coinConfigId}
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
coinConfigId
string
required
Example:
WCC12345
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
amount
integer
optional
configuration
object
optional
CUSTOM
string
required
companyId
string
optional
event
string
optional
Example
{
"amount": 10,
"configuration" : "DEFAULT"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://test.your-api-server.com/api/v0/enkash-coins/WCC12345' \
--header 'Cookie: _cfuvid=HYP8bzh65tyJdOQA3SszmnkR5ESGtAs.KQDRP5INTTg-1720761030734-0.0.1.1-604800000; JSESSIONID=2965781B20AA96A7AA6BF5631B3BBDD8' \
--header 'Content-Type: application/json' \
--data-raw '{
"amount": 10,
"configuration" : "DEFAULT"
}'
Responses
🟢200Success
application/json
Body
payload
object
required
coinConfigId
string
required
configuration
string
required
event
string
required
amount
integer
required
response_code
integer
required
response_message
string
required
Example
{"payload":{"coinConfigId":"WCC024845","configuration":"DEFAULT","event":"INVOICE_PAYMENT","amount":10},"response_code":0,"response_message":"Success"}