Skip to content

Request a top-up

POST
/api/billing/topup-requests
curl --request POST \
--url https://met.cards/api/billing/topup-requests \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "amountMicros": "25000000", "invoiceEmail": "[email protected]", "note": "example" }'

Files a request to add money to the workspace wallet. An operator issues the invoice; paying it adds the money. At most 3 requests can be open at once.

Media typeapplication/json
object
amountMicros
required

Micro-dollars as a string, from 1 USD (1000000) to 100 000 USD (100000000000).

string
/^[1-9]\d{0,17}$/
Example
25000000
invoiceEmail

Where to send the invoice. Defaults to the workspace’s billing email, then to yours.

string format: email
<= 254 characters
note

A note for the person who issues the invoice.

string
<= 500 characters
Media typeapplication/json
object
Examplegenerated
{}