Skip to content

Trade ​

FieldTypeNotes
idString
orderIdString
buyerId / sellerIdStringResolved from order type and taker
xlmAmountDecimal(20,7)Copied from the order
ngnRateDecimal(14,2)Copied from the order
ngnAmountDecimal(18,2)xlmAmount × ngnRate, rounded half-up to the kobo
paymentMethodPaymentMethodChosen by the taker
statusTradeStatusSee state machine
escrowPublicKeyString?, uniqueStored before the lock is submitted
escrowTxHashString?Lock transaction
releaseTxHashString?
refundTxHashString?
cancelReasonString?BUYER_CANCELLED, PAYMENT_TIMEOUT, ESCROW_FAILED
paymentDeadlineDateTimeReset to now + window when escrow is confirmed
paidAt / completedAt / cancelledAtDateTime?
createdAt / updatedAtDateTimeupdatedAt drives reconciliation

Party resolution ​

Order typeBuyerSeller
SELLTakerMaker
BUYMakerTaker

The seller always funds escrow.

Nexlm is a peer-to-peer facilitator and never holds customer Naira.