Skip to main content
Checkout session events, their payloads, and how to handle them.

checkout.pending

Sent once when a payment is detected. Use it to update your UI. It isn’t a payment confirmation.
string
required
Always checkout.pending.
string
The network the payment came in on.
string
The blockchain transaction ID of the payment.
string
USDC or USDT, whichever your customer paid with.
string
required
Always deposit_received.
Don’t fulfil orders on checkout.pending. Wait for checkout.completed.

checkout.completed

You’ve been paid and the money is yours, either as local currency in your account or as USDC in your Minisend wallet.
string
required
Always checkout.completed.
string
required
Use it together with event to spot repeats. See best practices.
string
Your reference, if you set one.
number
required
The amount you asked for. This isn’t always what arrived. See amount_received_usdc.
number
required
The amount you asked for. Same as amount_usdc. Compare it with amount_received_usdc.
number
The amount received. Reconcile on this field, not amount_usdc.
boolean
false when the amount received differs from the amount requested by more than $0.01. Review these sessions.
string
The network the payment came in on.
string
The blockchain transaction ID of the payment.
string
USDC or USDT, whichever your customer paid with.
string
required
fiat or usdc. usdc events include fee_usdc, amount_usdc_net, settlement_chain, and forward_required instead of amount_local and exchange_rate.
number
USDC only. The fee deducted.
number
USDC only. The amount received minus the fee.
string
USDC only. The network the USDC settles to.
boolean
USDC only. true when the USDC hasn’t reached settlement_chain yet. Wait for checkout.forwarded.
number
Local currency only. What you received after the platform fee.
string
required
KES, NGN, GHS, or UGX for local currency payouts. USDC if you keep USDC.
number
Local currency only. Local currency per 1 USDC at payout.
string
required
For local currency, the payout reference. For USDC, the payment’s transaction hash.
string
required
Always completed.
string
required
Date and time, ISO 8601.
string
required
Date and time, ISO 8601.

When this arrives

Whichever applies, by the time you get this event the payment can’t be reversed, and it’s safe to treat as final.

checkout.failed

The payment arrived but the payout didn’t complete.
string
required
Always checkout.failed.
string
required
string
number
required
The amount requested. amount_received_usdc is included when a payment was received.
string
required
string
required
Always failed.
string
required
Send the session_id to support and we’ll sort it out. Your customer’s money is not lost.

checkout.expired

No payment was received within 30 minutes.
string
required
Always checkout.expired.
string
required
string
Your reference, if set.
number
required
The amount requested.
string
required
string
required
Always expired.
string
required
Fees apply only to completed payments.

checkout.forwarded

USDC settlement to a network other than Base only. The USDC reached settlement_chain.
string
required
Always checkout.forwarded.
string
required
string
string
required
The network the USDC arrived on.
string
required
The transaction hash on that network.
If the move fails, you get settlement.forward_failed below instead. Your USDC is safe on Base either way. To check without waiting for an event, look at forward.status on the checkout session.

settlement.forward_failed

USDC settlement only. The USDC couldn’t be moved to settlement_chain. The checkout itself completed.
string
required
Always settlement.forward_failed.
string
required
The intended network.
string
required
Where the USDC is. Always BASE.
Sent only when the move is final. Send the session_id to support.

settlement.swap_failed

USDC settlement only, for USDT payments. The USDT couldn’t be converted to USDC and remains on the network it was paid on.
string
required
Always settlement.swap_failed.
string
required
The network the payment was made on, where the funds are.
string
required
Always USDT.
Always follows checkout.completed. Not sent for local-currency settlement. Send the session_id to support.

Best practices

Reply first, then do the work

Avoid handling the same event twice

The same event can be delivered more than once with different X-Minisend-Event-Id values. Deduplicate on session_id and event:

Check settlement_mode before reading amounts

Amount fields differ by settlement_mode:

Record what arrived, not what you asked for

amount_usdc is the amount requested. Reconcile on amount_received_usdc.

Match payments to your orders with external_id