Skip to main content
POST
Top up credits

Authorizations

Authorization
string
header
required

Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys.

Body

application/json
amount_cents
integer
required

Amount in cents (e.g. 2000 = $20.00)

Required range: x >= 100
Example:

2000

Response

200 - application/json

Top-up successful

success
boolean
new_balance_cents
integer