Retrieve a specific transaction using it's unique refid

📘

GET

https://api.vendy.money/transactions/{id}

Example request

Authorization: Bearer 
Content-Type: application/json
Accept: application/json
Accept-Charset: utf-8
curl --location --request GET 'https://api.vendy.money/transactions/6518564956061343757?businessId=1'

Example response

{
  "status": true,
  "code": 200,
  "msg": "Transaction",
  "data": {
    "id": 1,
    "uid": 1,
    "businessId": 1,
    "request": "Optional",
    "msisdn": "08101851915",
    "amount": "100.0000",
    "requestamount": "100.0000",
    "refid": "6518564956061343757",
    "vendref": null,
    "debitref": null,
    "reason": null,
    "raw_reason": null,
    "channel": null,
    "page": null,
    "currency": "NGA",
    "delivered": -1,
    "vended": null,
    "reversed": null,
    "debited": null,
    "failed": -1,
    "isreversing": null,
    "processing": null,
    "flag": null,
    "created_on": null,
    "updated_on": null,
    "delivered_date": null,
    "reversed_date": null,
    "createdAt": "2021-10-31T21:58:27.000Z",
    "updatedAt": "2021-10-31T21:58:27.000Z",
    "deletedAt": null
  }
}

With these parameter;

Query ParameterTypeDescription
business idstringbusiness id through which transaction was carried out
Path ParameterTypeDescription
idstringUnique refid of transaction

With the right data;

FieldTypeDescription
AmountEnumSpecific amount requested for.
CurrencyString3 ISO code currency value
Channelenummobile or ussd supported, mobile is for telegram and whatsapp
idstringAccount Identifier
useridstring
businessid
request
msidn
Requestamount
refid

Possible errors are;

Error codeTypeDescription
327TRANSACTION_NOT_FOUNDTransaction not found
Language
Authentication
Header
Click Try It! to start a request and see the response here!