GET
/
v1
/
transactions
List transactions
curl --request GET \
  --url https://api.fingopay.io/v1/transactions \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "Transactions fetched",
  "data": {
    "object": "list",
    "items": [
      {
        "id": "txn_01j7b6f9p5y9h",
        "merchantTransactionId": "mtx_123",
        "processor": "mpesa",
        "processorReference": "ODI31...",
        "status": "completed",
        "type": "charge",
        "paymentMethod": "mobile_money",
        "amount": 10000,
        "chargedAmount": 10000,
        "fees": 0,
        "currency": "KES",
        "narration": "Invoice #1234",
        "chargedPhone": "+254712345678",
        "description": "<string>",
        "message": "Payment completed",
        "debitOrCredit": "credit",
        "destination": "customer_wallet",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "2023-11-07T05:31:56Z",
        "reference": "<string>",
        "externalReference": "<string>",
        "invoiceId": "<string>",
        "payoutId": "<string>",
        "stage": "<string>",
        "metadata": {}
      }
    ],
    "hasMore": false,
    "nextCursor": null
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

type
enum<string>
Available options:
c2b,
b2c
status
enum<string>
Available options:
pending,
completed,
failed,
settled
startDate
string<date-time>
endDate
string<date-time>
limit
integer
default:25
Required range: 1 <= x <= 100
startingAfter
string
endingBefore
string

Response

Transactions fetched

The response is of type object.