Request

[POST]
{{baseUrl}}/transaction
ParameterTypeDescription
AppIdstringyou would need to create an app to get your app ID
Authorizationstringpublic secret key e.g prod_sk_1T1eSavlZxy02OT3OWlvbxK4G

Request Body

body

{
    "account_id": "919c2bf5-ab26-4878-a3ef-43cb9f2435cd",
    "type": "bank_transaction",
    "event": {
        "transaction": {
            "id": "87554303-3f75-4883-8fb8-48fce003854u",
            "time": 1670843705391,
            "amount": 8591,
            "fee": 50,
            "currency": "NGN",
            "ref": "ccwhw45vw5h4w5hvy",
            "session_id": "xaf",
            "type": "credit"
        },
        "user": {
            "user_id": "9931fac0-6bfa-4b3c-842c-7840006d89b6",
            "name": "Trevor Arias",
            "phone": "+12346504321",
            "email": "[email protected]"
        },
        "counterparty": {
            "account_name": "John Doe",
            "bank_name": "",
            "account_number": "",
            "country": ""
        }
    }
}

Sample response

[200]
{
    "message": "Transaction Received"
}