Wallet
Start a card top-up
POST
Opens a Stripe Checkout session for adding funds by card. The wallet is credited once Stripe confirms the payment - from the webhook, never from this response.
apiKeyheader
AuthorizationBearer <token>An API key from the Developers page. rhq_test_ keys reach the sandbox, rhq_live_ keys the live side.
application/json- body
amount*integerCharged to the card, in cents
Range
500 <= value <= 500000Created
application/json- response
Created
id*stringurl*stringOpen this to pay
Format
uriamount*integerCharged to the card, in cents
creditAmount*integerWhat the wallet is credited once Stripe confirms the payment
curl -X POST "https://example.com/v1/wallet/top-ups" \ -H "Content-Type: application/json" \ -d '{ "amount": 10000 }'{ "id": "wtp_01K6XJ4Q8ZT3M9R5V2B7WDHNCA", "url": "http://example.com", "amount": 0, "creditAmount": 0}