# PaymentAccountOrder

Schema: #/components/schemas/PaymentAccountOrder

Method: SCHEMA
Version: 1.0.0

## Schema fields:

  - `id` (string)
    The unique identifier for the order.
    Example: paload_6ab59a06f9xuk

  - `customer_id` (string)
    The customer that owns the payment account.
    Example: cust_6ab599fdEvVur

  - `payment_account_id` (string)
    The payment account that the payment credits.
    Example: pacct_6ab59a10Hk3Zq

  - `status` (string)
    The status of the order.
- `active`
 - the order can be paid.
- `paid`
 - the card payment succeeded. Terminal.
- `partially_paid`
 - part of the amount is paid.
- `under_review`
 - Glomo is reviewing the order.
- `action_required`
 - Glomo needs more information before the order can be paid.
- `failed`
 - the order could not be accepted. Terminal.
- `cancelled`
 - the order was cancelled before it was paid. Terminal.
- `expired`
 - the order was not paid before
`expires_at`
.
    Enum: "active", "paid", "partially_paid", "under_review", "action_required", "failed", "cancelled", "expired"

  - `amount` (integer)
    The amount to add, in minor units of `currency`. `100000` is USD 1,000.00.
    Example: 100000

  - `currency` (string)
    Enum: "USD"

  - `remaining_amount` (integer)
    The amount still to be paid, in minor units.
    Example: 100000

  - `already_paid_amount` (integer)
    The amount already paid, in minor units.
    Example: 0

  - `request_id` (string | null)
    The `request_id` you sent, or `null`.
    Example: acme-load-0001

  - `checkout_url` (string)
    The URL that opens the Glomo checkout for this order. It carries the public key that the checkout needs. Use this URL, or the public key in it, to open the checkout.
    Example: https://api.glomopay.com/api/public/v1/checkout/redirect?resource_id=paload_6ab59a06f9xuk&public_key=live_6ab59a01EXAMPLE1

  - `notes` (object)
    Always an empty object on an add-funds order.
    Example: {}

  - `document_id` (string | null)
    Always `null` on an add-funds order.
    Example: null

  - `purpose_code` (string | null)
    Always `null` on an add-funds order.
    Example: null

  - `invoice_amount` (integer | null)
    Always `null` on an add-funds order.
    Example: null

  - `invoice_description` (string | null)
    Always `null` on an add-funds order.
    Example: null

  - `invoice_number` (string | null)
    Always `null` on an add-funds order.
    Example: null

  - `reference_number` (string | null)
    Always `null` on an add-funds order.
    Example: null

  - `expires_at` (string)
    When the order expires. An add-funds order expires 3 months after it is created.
    Example: 2027-01-15T09:15:42Z

  - `created_at` (string)
    Example: 2026-10-15T09:15:42Z

  - `updated_at` (string)
    Example: 2026-10-15T09:15:43Z

