🔁APIs
post
Body
amountnumber · min: 1Required
payment_methodstring · enumRequiredPossible values:
Responses
200Success
application/json
422
Validation error
application/json
post
POST /api/wallet/deposit HTTP/1.1
Host: cm.test
Content-Type: application/json
Accept: */*
Content-Length: 36
{
"amount": 1,
"payment_method": "cash"
}
{
"status": true,
"message": "Deposit successfully"
}
get
Query parameters
typestring,null · enumOptionalPossible values:
Responses
200Success
application/json
401Error
application/json
422
Validation error
application/json
get
GET /api/wallet/transactions HTTP/1.1
Host: cm.test
Accept: */*
{
"status": true,
"message": "Transactions loaded successfully",
"data": "text"
}
Last updated
Was this helpful?