Transaction
Transaction Logs

Transaction Logs

This endpoint allows you to view the timeline for a transaction. A transaction timeline is a list of events that happened to a selected transaction.

How to View Transaction Timeline

Here is a sample code for viewing your transactions timeline:

Endpoint https://api.chapa.co/v1/transaction/events/<ref_id>

<tx_ref> is the reference id to that specific transaction.

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/transaction/events/chewatatest-6669"        payload = {}    headers = {      'Authorization': 'Bearer CHASECK-xxxxxxxxxxxxxxxx'    }        response = requests.request("GET", url, headers=headers, data=payload)        print(response.text)                

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