API referenceCustomer account
Add funds: create the top-up invoice and start paying it
Path Parameters
storeId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/public/stores/string/account/balance/topup" \ -H "Content-Type: application/json" \ -d '{ "amountMinor": -9007199254740991, "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011" }'{ "uniqueId": "string", "invoiceUrl": "string", "next": { "type": "redirect", "url": "string" }}