KES Notification Callbacks

Here you can find example callback for KES deposit and withdrawal

KES Deposit Pending Notification

{
    "account_id": 5,
    "order_id": "f0dea663-9f18-48bb-bb5b-11a9072f6ec4",
    "transaction_id":"2c1389a6-2e34-421f-86bf-059ddb300014",
    "currency": "KES",
    "amount": 1000,
    "amount_net": 0,
    "amount_paid": 0,
    "status": "PENDING",
    "type": "DEPOSIT",
    "event": {
        "code": "BD1000",
        "message": "Waiting for credit!"
    },
    "transaction_specific": {
        "payer_email": "NA",
        "payer_mobile_number": "NA"
    },
    "hash": "2560DAC8791072E294F72AD738EDCD81DDB08BAF2646B482190F750AE0D303DB7FDC20C3BF7F4AE7C2D7C1B7DF8A7C60563DC7D946C05FF1D783C0103E67DAC0"
}

KES Deposit Success Notification

{
    "account_id": 5,
    "order_id": "f0dea663-9f18-48bb-bb5b-11a9072f6ec4",
    "transaction_id":"2c1389a6-2e34-421f-86bf-059ddb300014",
    "currency": "KES",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "SUCCESS",
    "type": "DEPOSIT",
    "event": {
        "code": "DST1008",
        "message": "Deposit successfull."
    },
    "transaction_specific": {
        "payer_email": "[email protected]",
        "payer_mobile_number": "+254704071301"
    },
    "hash": "5E8554B87465A76D07B504971DD099EEA17EADAB3D999AF57FF67AC525266CD2BC388DAB8B80495A6BC8A565D66445620054E47F5F3C53B005F676688FAFCE6E"
}

KES Withdrawal Pending Notification

{
    "account_id": 5,
    "order_id": "b4a9343c-955d-488c-9842-72b15d17be73",
    "transaction_id":"019a9601-4e53-7507-b740-a1798f0c6ef9",
    "currency": "KES",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "PENDING",
    "type": "WITHDRAW",
    "event": {
        "code": "WD1000",
        "message": "Waiting to process payment!"
    },
    "transaction_specific": {
        "reference": "NA",
        "payer_email": "NA",
        "payer_mobile_number": "NA"
    },
    "hash": "D53C809B2240236F4494669D3D2A382655B9B415E52B48AD7544FBE1C2ABF5BB38500FFFED402DDEC4343CB4EC8A22D8ADC37DF5E36C6922261DAEFB46753007"
}

KES Withdrawal Processing Notification

{
    "account_id": 5,
    "order_id": "b4a9343c-955d-488c-9842-72b15d17be73",
    "transaction_id":"019a9601-4e53-7507-b740-a1798f0c6ef9",
    "currency": "KES",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "PROCESSING",
    "type": "WITHDRAW",
    "event": {
        "code": "WD1001",
        "message": "We are currently processing your payout!"
    },
    "transaction_specific": {
        "reference": "NA",
        "payer_email": "NA",
        "payer_mobile_number": "NA"
    },
    "hash": "D3274310074B479501C820A4F2FADDE1EE5981A9636401F553EC6232209E6DB6959F84A55AEFB8887C34E5EA479307F2CBEDE10A6F2A5EB645A7E286D0672D17"
}

KES Withdrawal Success Notification

{
    "account_id": 5,
    "order_id": "b4a9343c-955d-488c-9842-72b15d17be73",
    "transaction_id":"019a9601-4e53-7507-b740-a1798f0c6ef9",
    "currency": "KES",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "SUCCESS",
    "type": "WITHDRAW",
    "event": {
        "code": "WST1009",
        "message": "Withdraw successfull."
    },
    "transaction_specific": {
        "reference": "263013593719195651129205951979",
        "payer_email": "[email protected]",
        "payer_mobile_number": "+254700000000"
    },
    "hash": "C5CC019F8AAE294C7316F31C6E71DF58DCB9AB2E9BE9DC80B151E9FF9C961C075CD94EF27FC9D0A95F22A6DBAF08DAAF061CD76A420D5FBA64B91FCC34AF4943"
}

KES Withdrawal Failed Notification

{
    "account_id": 5,
    "order_id": "b4a9343c-955d-488c-9842-72b15d17be73",
    "transaction_id":"019a9601-4e53-7507-b740-a1798f0c6ef9",
    "currency": "KES",
    "amount": 1000,
    "amount_net": 1000,
    "amount_paid": 1000,
    "status": "FAILED",
    "type": "WITHDRAW",
    "event": {
        "code": "BT1008",
        "message": "Transaction has been failed!"
    },
    "transaction_specific": {
        "reference": "NA",
        "payer_email": "NA",
        "payer_mobile_number": "NA"
    },
    "hash": "C5CC019F8AAE294C7316F31C6E71DF58DCB9AB2E9BE9DC80B151E9FF9C961C075CD94EF27FC9D0A95F22A6DBAF08DAAF061CD76A420D5FBA64B91FCC34AF4943"
}