Verify Payments

This document will go through the necessary actions taken to verify transactions after payment using Chapa’s API.

How to Verify Payments

Verifying payment is dependent on the method used when first initializing a transaction. This request is initiated from your callback URL. Using your transaction reference, a GET request is needed to be made to the Verify Transaction endpoint server.

Here is a sample code for verifying transactions:

curl --location --request GET 'https://api.chapa.co/v1/transaction/verify/tx-test123443' \
--header 'Authorization: Bearer YOUR_SECRET_KEY'
var request = require('request');
var options = {
  'method': 'GET',
  'url': 'https://api.chapa.dev/v1/transaction/verify/tx-test123443',
  'headers': {
    'Authorization': 'Bearer YOUR_SECRET_KEY'
  }
};
request(options, function (error, response) {
  if (error) throw new Error(error);
  console.log(response.body);
});



Accept Payment
HTML Checkout
Next →
Chapa's Dashbaord
Payment
Financial Services
Security
Disputes and Fraud