Start a one-time hosted card checkout for the root account's USD wallet.
curl --request POST \
--url https://omni-api.sendblue.com/admin/billing/top_ups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"amount": "25.00"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({amount: '25.00'})
};
fetch('https://omni-api.sendblue.com/admin/billing/top_ups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/admin/billing/top_ups"
payload = { "amount": "25.00" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "87350fa8-7779-4d23-a968-e215ae5961d8",
"status": "pending",
"amount": {
"amount": "25.00",
"amount_micro_usd": 25000000,
"currency": "USD"
},
"checkout_url": null,
"transaction_id": null,
"created_at": "2026-11-23T12:00:00Z",
"updated_at": "2026-11-23T12:00:00Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Start a one-time hosted card checkout for the root account's USD wallet.
Show the gross amount before confirmation. Omni absorbs processing fees.
Poll the returned ID until checkout_url is available, then open it in a browser.
Replay the same key and amount to recover the same top-up. A changed amount
returns 409 idempotency_conflict. Invalid amounts or fields return 400,
absent credentials 401, and a child account or missing billing:top_up grant 403. A deployment
without checkout intake returns 503 unavailable.
Required permission: billing:top_up. Accepted credentials: a signed-in administrator, an API key, the account token.
POST
/
admin
/
billing
/
top_ups
Start a one-time hosted card checkout for the root account's USD wallet.
curl --request POST \
--url https://omni-api.sendblue.com/admin/billing/top_ups \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'Idempotency-Key: <idempotency-key>' \
--data '
{
"amount": "25.00"
}
'const options = {
method: 'POST',
headers: {
'Idempotency-Key': '<idempotency-key>',
Authorization: 'Bearer <token>',
'Content-Type': 'application/json'
},
body: JSON.stringify({amount: '25.00'})
};
fetch('https://omni-api.sendblue.com/admin/billing/top_ups', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://omni-api.sendblue.com/admin/billing/top_ups"
payload = { "amount": "25.00" }
headers = {
"Idempotency-Key": "<idempotency-key>",
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"id": "87350fa8-7779-4d23-a968-e215ae5961d8",
"status": "pending",
"amount": {
"amount": "25.00",
"amount_micro_usd": 25000000,
"currency": "USD"
},
"checkout_url": null,
"transaction_id": null,
"created_at": "2026-11-23T12:00:00Z",
"updated_at": "2026-11-23T12:00:00Z"
}{
"error": {
"code": "invalid_request",
"message": "Unknown field",
"details": {
"field": "colour"
}
}
}Authorizations
personbearerlegacyKeyId & legacyKeySecret
Headers
Body
application/json
Response
The durable top-up, including its current state on replay.