cURL
curl --request POST \ --url https://api.goyappr.com/billing/topup \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "amountCents": 2000 } '
{ "success": true, "new_balance_cents": 123 }
Charges the saved card immediately and adds credits to the balance.
Your Yappr API key (e.g. ypr_live_...). Generate one in the dashboard under Settings → API Keys.
ypr_live_...
Amount in cents (e.g. 2000 = $20)
x >= 500
2000
Top-up successful