Overpaid

Criteria

paid_amount is greater than pay_amount

Callbacks to be sent in this scenario

Callback eventInvoice statusInvoice status contextDescription

transaction_created

new

null

A customer has just broadcas their transaction on the network but paid_amount is greater than pay_amount

transaction_confirmed

new

null

The transaction has been confirmed on the network

status_changed

unresolved

overpaid

The invoice needs to be resolved

status_changed

completed

null

The transaction amount was exchanged at the new exchange rate. The final invoice amount may be different from the original one.

OR

The original invoice amount is added to the merchant's account balance and the overage is refunded

API auto settings and status flow

API Auto SettingsPayment Flow

Do nothing, I will handle them myself

new → txn sent → txn confirmed → unresolved:overpaid

Settle the invoice and automatically refund the overage to my crypto account

new → txn sent → txn confirmed → unresolved:overpaid → overage refunded → completed

Automatically recalculate at a new exchange rate and settle

new → txn sent → txn confirmed → unresolved:overpaid → tx recalculated → completed

Last updated