How to test virtual account on test webhook

Screenshot from 2023-10-29 14-20-52

An account details was generated to test on development, but after sending a value to it the webhook was not called

Hi @Ayinde_John

Thank you for sharing this experience,

Kindly note that when a virtual account number is created in test mode, the amount specified in your request is automatically credited, and a webhook for a successful charge is sent without the need to manually initiate a transfer to the virtual account.

Example of Webhooks received after successfully creating a virtual account number in Test mode:

{
  "event": "charge.completed",
  "data": {
    "id": 4695477,
    "tx_ref": "1698838419963-RND_504",
    "flw_ref": "6968761661861698838420226",
    "device_fingerprint": "N/A",
    "amount": 100,
    "currency": "NGN",
    "charged_amount": 100,
    "app_fee": 1.4,
    "merchant_fee": 0,
    "processor_response": "success",
    "auth_model": "AUTH",
    "ip": "::ffff:172.16.66.136",
    "narration": "JudiAfrica",
    "status": "successful",
    "payment_type": "bank_transfer",
    "created_at": "2023-11-01T11:33:47.000Z",
    "account_id": 1816498,
    "customer": {
      "id": 2255599,
      "name": "Anonymous customer",
      "phone_number": null,
      "email": "test@gmail.com",
      "created_at": "2023-11-01T11:33:39.000Z"
    }
  },
  "event.type": "BANK_TRANSFER_TRANSACTION"
}

Regards