TransferVerify Transfer

Verify Transfers

This document will go through the necessary actions taken to verify transfers after you initiated a transfer using Chapa’s transfers API.

How to Verify Transfers

Verifying payment is dependent on the method used when first initializing a transfer. Using your payout reference, a GET request is needed to be made to the Verify Transfer endpoint server.

Here is a sample code for verifying transactions:

Endpoint https://api.chapa.co/v1/transfers/verify/<tx_ref>

Method GET

  • Authorization : Pass your secret key as a bearer token in the request header to authorize this call.
import requests      url = "https://api.chapa.co/v1/transfers/verify/chewatatest-6669"  headers = {      'Authorization': 'Bearer CHASECK_TEST-XXXXXXXXXXXXXXX'  }  response = requests.get(url, headers=headers)  data = response.text  print(data)

ℹ️
Refer to our Error Codes page for all responses for this request.