PaymentOrder object
Last updated: 2026-11-10
PaymentOrder is returned by pay-in and payout operations, payment reads, and
webhooks. Fields that do not apply to the selected flow can be omitted or empty.
The OpenAPI schema does not mark response properties as required, so the
presence labels below describe normal response semantics rather than a JSON
Schema guarantee.
| Field | JSON type | Presence | Merchant meaning |
|---|---|---|---|
id | string | Core | Payment order UUID |
merchantReference | string | Core | Merchant-provided reference |
paymentMethod | enum | Core | Selected PAYMENT_METHOD_* value |
type | enum | Core | PAYMENT_ORDER_TYPE_PAYMENT_IN or PAYMENT_ORDER_TYPE_PAYMENT_OUT |
status | enum | Core | Current payment lifecycle status |
amount | string (int64) | Core | Requested amount in minor units; unchanged after creation |
actualAmount | string (int64) | Conditional | Recognized gross payment amount in minor units; a zero value can be omitted from a webhook |
currencyCode | string | Core | Payment currency |
currencyMinorUnits | integer (int32) | Optional | Currency exponent captured when the payment was created |
settlementCurrencyCode | string | Conditional | Assigned settlement asset; USDT on USDT flows, including before FX is fixed; absent for existing FIAT flows |
settlementCurrencyMinorUnits | integer (int32) | Conditional | Settlement-asset exponent; 6 for USDT, present with its asset code |
convertedAmount | string (int64) | Conditional | Recognized gross amount in settlement minor units, present only after FX is fixed; excludes fee deductions |
paymentUrl | string | Conditional | Hosted or authorization URL when a redirect is available |
redirectUrl | string | Optional | Merchant return URL stored on the payment |
failureReason | string | Conditional | Public failure reason for a negative outcome |
failureReasonCode | string (int64) | Conditional | Numeric failure code encoded as a JSON string |
createdAt | string (date-time) | Core | Creation timestamp |
updatedAt | string (date-time) | Core | Last update timestamp |
trafficVertical | enum | Core | Transaction vertical classification |
customerSegment | enum | Core | Customer lifecycle segment |
bankTransferDetails | object | Conditional | Generated bank-transfer account state and details |
mobileMoneyTransferDetails | object | Conditional | Transfer instruction availability and safe details; can change while payment status remains pending |
paymentSubMethod | string | Conditional | Public submethod code; currently moniepoint for bank transfer |
See Mobile money transfer objects for
async instructions. Deduplicate webhooks by Idempotency-Key; the same status
can accompany new details.
Requested and recognized amounts
For pay-ins, amount is the full amount the customer is expected to pay.
actualAmount describes the recognized gross and can equal amount. A
zero-valued actualAmount can be omitted from a webhook. If it is absent, read
the current payment before amount-based reconciliation; do not substitute the
requested amount.
Fees are accounted separately; they do not reduce this
gross value. Keep both fields as lossless minor-unit integers.
amount is not a remaining balance: it does not decrease after a partial
transfer. If the completed payment has a different actualAmount, reconcile
that difference against your order; do not assume every method accepts under-
or overpayment.
actualAmount alone is not a completion signal. Credit a customer for a pay-in
only when the reconciled status is PAYMENT_ORDER_STATUS_COMPLETED, and make
that credit idempotent per payment ID across reads and webhooks. For payouts,
use the value for payout reconciliation, not another customer credit.
For payouts, the completed amount must match the requested beneficiary amount. If those values disagree, reconcile the payment instead of accepting a partial payout or issuing another customer credit.
Historical payments completed before actual-amount tracking retain the requested amount in this field. This is not new payment confirmation and must not initiate another customer credit. Once recorded, the value is retained for audit even if the payment status later changes.
USDT settlement amounts
Payment amount and actualAmount stay in currencyCode minor units. The
settlement fields describe a separate monetary dimension and do not replace
the payment currency or customer-credit amount.
On a USDT payment awaiting FX fixation, settlementCurrencyCode and
settlementCurrencyMinorUnits are present while convertedAmount is absent.
Do not substitute zero, an estimate, or a new indicative rate for that absence.
For example, a pending payment before fixation can contain:
{
"id": "00000000-0000-4000-8000-000000000002",
"status": "PAYMENT_ORDER_STATUS_PENDING",
"amount": "130000",
"actualAmount": "130000",
"currencyCode": "KES",
"currencyMinorUnits": 2,
"settlementCurrencyCode": "USDT",
"settlementCurrencyMinorUnits": 6
}
After fixation, the same payment can still be pending:
{
"id": "00000000-0000-4000-8000-000000000002",
"status": "PAYMENT_ORDER_STATUS_PENDING",
"amount": "130000",
"actualAmount": "130000",
"currencyCode": "KES",
"currencyMinorUnits": 2,
"settlementCurrencyCode": "USDT",
"settlementCurrencyMinorUnits": 6,
"convertedAmount": "10000000"
}
Here the recognized gross is 1300 KES and its saved conversion is 10 USDT.
A fixed convertedAmount: "0" is a valid recognized value, including when
actualAmount is zero. It differs from an absent, not-yet-fixed amount.
A zero-gross webhook can therefore contain the following fields while omitting
actualAmount:
{
"id": "00000000-0000-4000-8000-000000000002",
"status": "PAYMENT_ORDER_STATUS_PENDING",
"amount": "130000",
"currencyCode": "KES",
"currencyMinorUnits": 2,
"settlementCurrencyCode": "USDT",
"settlementCurrencyMinorUnits": 6,
"convertedAmount": "0"
}
This is an illustrative monetary example, not a rate or account-availability
promise. Fees remain separate: the converted gross is not the merchant's net
credit or fee-inclusive payout debit. Confirm completion using status.
The same fields apply to merchant create responses, payment reads, and webhooks. Existing FIAT flows omit all three settlement fields. A distinct update can add or change a converted amount while the status stays the same. On a later recognized-amount correction, reconcile the saved converted gross on that same payment; do not reprice it with a newly read indicative rate. See FX and USDT settlement.
Later amount corrections
A later webhook can report a corrected actualAmount for the same payment ID,
including when the status is again PAYMENT_ORDER_STATUS_COMPLETED. This is an
update to the existing payment, not a second payment.
For example, you may first receive a completed pay-in with actualAmount: "10000"
and later receive a correction to "11000". Both updates refer to the same id.
Record the new value against that payment, read the current payment if needed,
and reconcile the difference with your existing records. Do not issue another
full "11000" customer credit simply because another completed webhook arrived.
You may also receive a FAILED update for that same payment before its corrected
completion. For example, observations can be COMPLETED with "10000", then
FAILED retaining "10000", then COMPLETED with "11000". They all belong to
one payment ID. Do not discard the failed update just because completion was
seen earlier, and do not treat it as a separate failed payment. Read the current
payment and reconcile the observations together. A failed update does not
guarantee that another completion will follow.
Deduplicate repeated deliveries by Idempotency-Key, but do not discard every
future update for a payment just because its first completion was processed.
Contact support when the corrected amount and your records cannot be reconciled.
Status
Payment status values are:
PAYMENT_ORDER_STATUS_CREATEDPAYMENT_ORDER_STATUS_PENDINGPAYMENT_ORDER_STATUS_COMPLETEDPAYMENT_ORDER_STATUS_CANCELLEDPAYMENT_ORDER_STATUS_EXPIREDPAYMENT_ORDER_STATUS_FAILEDPAYMENT_ORDER_STATUS_REJECTED
PAYMENT_ORDER_STATUS_REJECTED is the JSON value of status for an attempt
declined before execution (enum number 7). It is not an additional response
field and does not rename ordinary FAILED outcomes. Accept this value in
status decoders and exhaustive status handling before integrating the contract
update, including in payment reads, equivalent repeats and webhook payloads.
The Merchant Portal can show this payment as failed.
For example, when a method is unavailable, a reference lookup can contain:
{
"id": "00000000-0000-4000-8000-000000000007",
"merchantReference": "order-rejected-1",
"status": "PAYMENT_ORDER_STATUS_REJECTED",
"amount": "125000",
"currencyCode": "NGN",
"failureReason": "method_unavailable",
"failureReasonCode": "12"
}
A REJECTED payment has not started execution. Do not credit a pay-in customer
for this status, even if amount or actualAmount is present. For payouts,
reconcile the declined attempt against your payout records. Requested amounts and
retained historical amount values are not evidence of a completed payment.
An equivalent same-reference repeat returns the same attempt; a new intended
attempt needs a new reference. An initial generic create error can still have
this recorded outcome: recover it with a reference lookup.
Treat PAYMENT_ORDER_STATUS_UNSPECIFIED as an unknown/default enum value, not a
successful business outcome. Keep unrecognized statuses unresolved instead of
mapping them to CREATED or success. See Payment lifecycle for
reconciliation and Bank transfer details
for the nested bank-transfer object.