Skip to main content
POST
/
v1
/
wallet
/
credit
curl
curl -X POST https://api.expys.com/v1/wallet/credit \
  -H "Authorization: Bearer YOUR_ORG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": 0,
    "externalUserID": "string",
    "reason": "string"
  }'
{
  "balance": 123,
  "currency": {
    "name": "<string>",
    "symbol": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Org-API-Key as a Bearer token.

Headers

Idempotency-Key
string

Optional client-generated key (<=255 chars). A retried POST carrying the same key replays the original response instead of acting twice; reusing a key with a different body returns 409.

Maximum string length: 255

Body

application/json
amount
integer
required
externalUserID
string
required
reason
string

Response

Response for status 200

balance
number
required
currency
object
required