Check the current state of a Kulmi Pay payment by invoice ID. Returns the invoice state (PENDING, PROCESSING, COMPLETE, or FAILED) with full invoice details.
Use this endpoint to check the status of a payment after initiating a collection. Pass the invoice_id returned by collect payment or STK push. For checkout-based payments, you can also pass checkout_id to validate that the invoice belongs to the correct session.Method:POST URL:https://app.kulmipay.com/api/v1/payment/collection/status
The checkout session UUID. When provided, Kulmi Pay validates that the invoice belongs to this checkout session before returning status. Use this when polling from a hosted checkout flow.
For time-sensitive flows, use webhooks instead of polling. Kulmi Pay sends an event to your endpoint the moment the payment state changes, which is faster and more reliable than a polling loop.