Get Specific Collection

Retrieves the details of a specific collection transaction using the transaction merchant reference and user reference.

Request

GET {{base_url}}/api/v1/collection/data

Authentication & Headers

HeaderRequiredDescriptionExample
x-merchant-refYesUnique reference identifying the merchant.{{vault:x-merchant-ref}}

Query Parameters

ParameterTypeRequiredDescriptionExample
txn_merchant_refstringYesUnique merchant reference of the collection transaction.COL_001245
user_refstringYesReference of the user associated with the collection.USR_784521

Example Request

{{base_url}}/api/v1/collection/data?txn_merchant_ref=COL_001245&user_ref=USR_784521

Headers

HeaderValue
x-merchant-ref{{vault:x-merchant-ref}}

Example Response

{
  "status": "success",
  "message": "Retrieved successfully",
  "data": {
    "amount": 2750,
    "collection_data": {
      "account_name": "Michael Adeyemi",
      "account_number": "0123456789",
      "bank_code": "058",
      "bank_name": "Example Bank"
    },
    "currency": "NGN",
    "date": "2026-03-15 14:40",
    "payment_ref": "PAY_784521",
    "payment_status": "SUCCESSFUL",
    "txn_merchant_ref": "COL_001245"
  }
}

Response

FieldTypeDescription
statusstringIndicates whether the request was successful.
messagestringResponse message.
dataobjectDetails of the requested collection transaction.
data.amountnumberAmount collected.
data.collection_dataobjectBank account details associated with the collection.
data.collection_data.account_namestringName on the collection account.
data.collection_data.account_numberstringCollection account number.
data.collection_data.bank_codestringBank code of the collection account.
data.collection_data.bank_namestringName of the collection bank.
data.currencystringCurrency of the collection.
data.datestringDate and time of the collection transaction.
data.payment_refstringUnique payment reference.
data.payment_statusstringCurrent status of the collection payment.
data.txn_merchant_refstringMerchant reference for the collection transaction.

Did this page help you?