Reading time2 min read
Published13/06/2025

Transaction Verification

After a successful transaction, you must verify that the transaction was successful before providing value to a customer. Every transaction is assigned an ID, which must be supplied when attempting to confirm a transaction. To use the transaction verification API to confirm a transaction, the merchant must provide their Klump Secret Key, which can be found in their Klump dashboard

Things to look out for when verifying a transaction:

  • Verify the data.currency matches what you're expecting

Also, depending on your need, data.is_live will return a boolean. If the boolean is true this signifies that the transaction happened in production and you can proceed to issue real value, else, you don't have to.

Sample code used in transaction verification

:reference is the expected transaction ID

Sample transaction verification response

What did you think of this content?