Skip to main content
POST
/
deposit
/
voucher
Deposit using a voucher
curl --request POST \
  --url https://jamquest-dev.techboo.net/api/v1/deposit/voucher \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "voucher_code": "<string>"
}
'
{
  "status": "ok",
  "message": "Deposit successful",
  "data": {
    "amount": 123,
    "new_balance": 123
  }
}

Authorizations

Authorization
string
header
required

Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.

Body

application/json
voucher_code
string
required

Response

Voucher deposit successful

status
string
Example:

"ok"

message
string
Example:

"Deposit successful"

data
object