Create card top up
POST
/ admin/ v1/ stores/ {store_id}/ shipping-balance/ top-ups- payments:manage
- Idempotency-Key supported
Top up by card: answers the page to pay on; the balance is credited once the payment is confirmed.
Path parameters
store_idstringrequiredThe store's ID, like
store_01k8qs5s…. Apps get it with the install, in the OAuth redirect and the token response.
Headers
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Body
amountobjectrequiredIn the store's currency, 10 to 100 000.
return_urlstringrequiredThe admin page to come back to after paying.
Returns
201 The pending top-up and where to pay.
Errors
- 409Card top-ups aren't available.
- 422
validation_failedValidation failed.