Request:

Path ParameterTypeDescription
urlRefStringUnique reference for the transaction

Example request

curl --location 'https://api.vendy.money/transactions/6518564956061343757?businessId=1' \
--header 'Authorization: Bearer <token>'

Response:

FieldTypeDescription
statusBooleanStates if the request was successfully executed or not
codeIntegerInternal code, success if 200
msgStringA description of the status of the request
dataObjectTransaction details

Example response

{
    "status": true,
    "code": 200,
    "msg": "Payment URL",
    "data": {
        "ref": "af8-5c6d",
        "amount": 100,
        "currency": "NGN",
        "businessID": 6,
        "chargeCustomer": null,
        "isTest": true,
        "meta": {
            "ref": "af8-5c6d",
            "url": "https://checkout.vendy.money/test_af8-5c6d"
        },
        "channel": "whatsapp"
    }
}

Possible errors are;

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