Top-ups and payments

POST /oneaster/v1/billing/nowpayments/orders

Native access token · POST /oneaster/v1/billing/nowpayments/orders

POST/oneaster/v1/billing/nowpayments/orders

Authorizations

Authorizationstringrequired

Use a native login access_token (or a scoped PAT where supported); required access: Native access token.

Authorization: Bearer $ONEASTER_ACCESS_TOKEN

Parameters

Idempotency-Keystringrequired

header

Body · application/json

amount_usd_centsstringrequired
pay_currencystring
fee_modestring,null

deduct credits verified net outcome using the original quote; on_top asks payer to pay fees and fixed rate, credits full principal only on a verified finished full payment. Immutable per order.

JSON Schema
{
  "type": "object",
  "required": [
    "amount_usd_cents"
  ],
  "additionalProperties": false,
  "properties": {
    "amount_usd_cents": {
      "type": "string",
      "pattern": "^[1-9][0-9]*$"
    },
    "pay_currency": {
      "type": "string"
    },
    "fee_mode": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "deduct",
        "on_top",
        null
      ],
      "default": "deduct",
      "description": "deduct credits verified net outcome using the original quote; on_top asks payer to pay fees and fixed rate, credits full principal only on a verified finished full payment. Immutable per order."
    }
  }
}