Fiat Payout

Webhook received for the different lifecycle of a fiat payout transaction

{
  "id": "236347f8-65a6-45c6-8cbe-5e2c47b22480",
  "event": "FIAT_WITHDRAWAL",
  "data": {
    "reference": "2caa7b9f-e71c-4a94-8ea0-609bcf22864a",
    "walletAssetId": "1c7bcbd3-d1ff-449c-90eb-d4c641a99cf0",
    "clientReference": "9c59690f-ee0b-4288-9b8d-baee55ad93d0",
    "status": "WITHDRAWAL_SUCCESS", // WITHDRAWAL_PENDING, WITHDRAWAL_IN_PROGRESS, WITHDRAWAL_SUCCESS, WITHDRAWAL_FAILED
    "amount": { 
      "currency": "NGN", 
      "value": 680 
    },
    "fees": { 
      "amount": 20, 
      "flat": 20, 
      "percent": 0 
    },
    "memo": "XXXXXX",
    "metadata": [
      {
        "name": "recipient_account_name",
        "value": "XXXXXX XXXXXX XXXXXX"
      },
      { 
        "name": "recipient_bank_name", 
        "value": "OPAY" 
      },
      { 
        "name": "recipient_bank_id", 
        "value": "NG::100004" 
      },
      { 
        "name": "recipient_account_number", 
        "value": "XXXXXX" 
      },
      {
        "name": "sessionId",
        "value": "XXXXXX"
      }
    ],
    "methodId": "BANK_TRANSFER",
    "recipient": {
      "accountName": "XXXXXX XXXXXX XXXXXX",
      "accountNumber": "XXXXXX",
      "accountType": null,
      "address": null,
      "address2": null,
      "bankId": "NG::100004",
      "bankName": "OPAY",
      "beneficiaryType": null,
      "city": null,
      "country": null,
      "currency": "NGN",
      "documents": [],
      "email": null,
      "iban": null,
      "memo": "XXXXXX",
      "method": "BANK_TRANSFER",
      "network": null,
      "phoneNumber": null,
      "postalCode": null,
      "routingNumber": null,
      "sortCode": null,
      "state": null,
      "swiftBic": null,
      "type": "BANK"
    },
    "wasReversed": false,
    "createdAt": "Mon Aug 11 2025 15:17:37 GMT+0000 (Coordinated Universal Time)",
    "updatedAt": "Mon Aug 11 2025 15:25:02 GMT+0000 (Coordinated Universal Time)"
  }
}