The two identifiers
merchantOrderId is yours. You generate it to identify and reconcile the payment on your own system. It must be unique for every payment request. paymentId is Archefusion’s. Archefusion generates it to identify the payment within its system. Use it for every follow-up call to Archefusion, such as verifying a payment or checking its status.Quick reference
Coming from a direct gateway integration
If you have integrated a gateway like Paystack or Flutterwave directly, you are used to generating a single reference and passing it to the gateway. That reference identified the transaction everywhere: you used it to start the payment, verify it, and reconcile. With Archefusion, that role is split:- The reference you would have passed to the gateway becomes your
merchantOrderId. You still generate it and still use it to reconcile on your side. - To verify or check the status of a payment, you use
paymentId.

