API Overview

Transactions

Retrieve Transaction / Check Transaction Status

The chief premise of this endpoint is to allow you to retrieve the details of a transaction and can be as well used to check the status of a transaction.

Kindly take note that this is a protected resource.


Endpoint Details

Endpoint Url https://epaygh.com/api/v1/transactions/{reference}
Method GET

Request Headers

Content-Type application/json
Accept application/json
Authorization Bearer {access_token}



//Example Response Body

{
    "success": true,
    "message": "Transactions retrieved Successfully",
    "transaction": {
        "id": 184,
        "reference": "EP-sbadhb23bb",
        "payment_method": "momo",
        "payment_no": "054**********",
        "amount": "1",
        "customer_id": "37",
        "status": "pending",
        "created_at": "2019-01-23 19:57:30",
        "updated_at": "2019-01-23 19:57:30",
        "type": "payments",
        "description": "test payment"
    }
}

Transactions

The chief premise of this endpoint is to allow you list all transactions under your Epay Account. Kindly take note that this is a protected resource.

The response returns a paginated list of transactions


Endpoint Details

Endpoint Url https://epaygh.com/api/v1/transactions
Method GET

Request Headers

Content-Type application/json
Authorization Bearer {access_token}