---
updatedAt: 2026-10-01T10:38:20.000Z
agentTools:
  projectIndex: https://developer.peachpayments.com/llms.txt
---

# Query payout request by payout ID

Query the status of the payout request that contains the merchant-supplied payout ID.

Use this after a create call times out and no `payoutRequestId` came back. A 200 means the payout was stored. A 404 means it is not visible yet. Wait and call this again. Send create again only if this call stays 404.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Payouts",
    "version": "0.9.0",
    "description": "The Payouts API enables you to execute and manage real-time payouts.",
    "contact": {
      "name": "Peach Payments Support",
      "url": "https://support.peachpayments.com/support/home",
      "email": "support@peachpayments.com"
    }
  },
  "servers": [
    {
      "url": "https://sandbox-payouts.peachpayments.com/api",
      "description": "Sandbox testing environment."
    },
    {
      "url": "https://payouts.peachpayments.com/api",
      "description": "Live production environment."
    }
  ],
  "tags": [
    {
      "name": "Bank Account Verification",
      "description": "These APIs allow you to create and manage bank account verification requests."
    },
    {
      "name": "Payouts",
      "description": "These APIs allow you to make and manage your payout requests."
    },
    {
      "name": "Webhooks",
      "description": "These APIs allow you to configure endpoints for event notifications."
    }
  ],
  "security": [
    {
      "BearerAuth": []
    }
  ],
  "paths": {
    "/merchants/{merchantId}/payouts/status": {
      "get": {
        "summary": "Query payout request by payout ID",
        "description": "Query the status of the payout request that contains the merchant-supplied payout ID.\n\nUse this after a create call times out and no `payoutRequestId` came back. A 200 means the payout was stored. A 404 means it is not visible yet. Wait and call this again. Send create again only if this call stays 404.",
        "operationId": "queryPayoutRequestByPayoutId",
        "tags": [
          "Payouts"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/MerchantIdParam"
          },
          {
            "name": "payoutId",
            "in": "query",
            "description": "Merchant-supplied payout ID.",
            "required": true,
            "schema": {
              "$ref": "#/components/schemas/UUIDv4"
            },
            "example": "84920878-fc32-494f-8e30-6a2465c9a456"
          },
          {
            "$ref": "#/components/parameters/DateOrderParam"
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/PayoutRequestStatusResponse"
          },
          "400": {
            "description": "The payoutId or order query parameter is missing or invalid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "examples": {
                  "NoMerchantIdError": {
                    "$ref": "#/components/examples/NoMerchantIdError"
                  },
                  "InvalidMerchantIdError": {
                    "$ref": "#/components/examples/InvalidMerchantIdError"
                  },
                  "NoPayoutIdError": {
                    "description": "There was no payoutId specified in the query.",
                    "value": {
                      "title": "Invalid input error",
                      "message": "Query parameter missing or invalid.",
                      "code": "2900.003.005",
                      "errors": {
                        "payoutId": "\"payoutId\" is required"
                      }
                    }
                  },
                  "InvalidPayoutIdError": {
                    "description": "The payoutId specified is invalid.",
                    "value": {
                      "title": "Invalid input error",
                      "message": "Query parameter missing or invalid.",
                      "code": "2900.003.005",
                      "errors": {
                        "payoutId": "\"payoutId\" with value \"invalid_payout_id\" fails to match the required pattern"
                      }
                    }
                  },
                  "InvalidOrderError": {
                    "description": "The order query parameter is invalid.",
                    "value": {
                      "title": "Invalid input error",
                      "message": "Query parameter missing or invalid.",
                      "code": "2900.003.005",
                      "errors": {
                        "order": "\"order\" must be one of [date_asc, date_desc]"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/AuthenticationErrorResponse"
          },
          "403": {
            "$ref": "#/components/responses/AuthorisationErrorResponse"
          },
          "404": {
            "description": "No payout with that payoutId was found for this merchant.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                },
                "example": {
                  "title": "Request error",
                  "message": "No payout request for the ID you have provided. Please check and try again.",
                  "code": "2900.004.000"
                }
              }
            }
          },
          "503": {
            "$ref": "#/components/responses/AuthenticationUnavailableResponse"
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "BearerAuth": {
        "description": "HTTP bearer authentication using a JsonWebToken",
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "responses": {
      "AuthenticationUnavailableResponse": {
        "description": "Signing keys could not be loaded, so the request could not be authenticated. Please retry shortly.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "title": "Technical error",
              "message": "Authentication is temporarily unavailable, please retry shortly.",
              "code": "2900.001.078"
            }
          }
        }
      },
      "AuthenticationErrorResponse": {
        "description": "The request is not authenticated. Please re-authenticate and provide a new token.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "title": "Security error",
              "message": "Unauthorised.",
              "code": "2900.005.000"
            }
          }
        }
      },
      "AuthorisationErrorResponse": {
        "description": "The request is not authorised. Please contact your business administrator.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/Error"
            },
            "example": {
              "title": "Security error",
              "message": "Unauthorised: Please contact your business administrator.",
              "code": "2900.005.001"
            }
          }
        }
      },
      "PayoutRequestStatusResponse": {
        "description": "Created or requested.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/PayoutRequestStatus"
            },
            "example": {
              "payoutRequestId": "6e029f3f-21bf-425d-8f65-4eef2b5d8bb2",
              "created": "2024-03-14T22:00:00.000Z",
              "payouts": [
                {
                  "bankName": "ABSA",
                  "accountNumber": "4047594620",
                  "branchCode": "632005",
                  "amount": 56712,
                  "currency": "ZAR",
                  "accountHolder": "Sibusiso Kumalo",
                  "reference": "Refund order 74152",
                  "payoutMethod": "realtime-eft",
                  "status": "processing",
                  "payoutId": "84920878-fc32-494f-8e30-6a2465c9a456",
                  "lastUpdated": "2024-03-14T22:00:00.000Z",
                  "created": "2024-03-14T22:00:00.000Z",
                  "resultCode": "2900.000.003",
                  "missingCreditQueryStatus": "queried"
                },
                {
                  "bankName": "NEDBANK",
                  "accountNumber": "1006393099",
                  "branchCode": "210002",
                  "amount": 78652,
                  "currency": "ZAR",
                  "accountHolder": "Thembisile Msibi",
                  "reference": "Refund order 98767",
                  "payoutMethod": "realtime-eft",
                  "status": "failed",
                  "payoutId": "355f5577-e174-4397-b8f6-ced4a7165217",
                  "lastUpdated": "2024-03-14T22:00:00.000Z",
                  "created": "2024-03-14T22:00:00.000Z",
                  "resultCode": "2001.003.109",
                  "missingCreditQueryStatus": "failed",
                  "error": {
                    "title": "Invalid input error",
                    "message": "There is no account associated with the account number you entered. Double-check your input and try again.",
                    "code": "2001.003.109"
                  }
                }
              ]
            }
          }
        }
      }
    },
    "examples": {
      "NoMerchantIdError": {
        "description": "There was no merchantId specified in the path.",
        "value": {
          "title": "Invalid input error",
          "message": "Path parameter missing or invalid.",
          "code": "2900.003.000",
          "errors": {
            "merchantId": "\"merchantId\" is required"
          }
        }
      },
      "InvalidMerchantIdError": {
        "description": "The merchantId specified is invalid.",
        "value": {
          "title": "Invalid input error",
          "message": "Path parameter missing or invalid.",
          "code": "2900.003.000",
          "errors": {
            "merchantId": "\\\"merchantId\\\" with value \"invalid_merchant_id\" fails to match the required pattern /^[0-9a-z]{32}$/"
          }
        }
      }
    },
    "schemas": {
      "MerchantId": {
        "description": "A unique merchant ID provided by Peach Payments in hexadecimal format.",
        "type": "string",
        "pattern": "^[0-9a-f]{32}$",
        "minLength": 32,
        "maxLength": 32,
        "example": "d0bf5a6a909111f0aabf02d14af18cff"
      },
      "Error": {
        "description": "Error messages all follow the default error pattern as described below.\nSome errors may contain additional details to help you diagnose the issues.",
        "type": "object",
        "required": [
          "title",
          "message",
          "code"
        ],
        "properties": {
          "title": {
            "type": "string",
            "example": "Invalid input error"
          },
          "message": {
            "type": "string",
            "example": "Request field(s) missing or invalid."
          },
          "code": {
            "type": "string",
            "example": "2900.003.001"
          },
          "errors": {
            "type": "object",
            "example": {
              "payouts[0].reference": "\"payouts[0].reference\" is required"
            }
          }
        },
        "example": {
          "title": "Invalid input error",
          "message": "Request field(s) missing or invalid.",
          "code": "2900.003.001",
          "errors": {
            "payouts[0].reference": "\"payouts[0].reference\" is required"
          }
        }
      },
      "UUIDv4": {
        "description": "A valid v4 UUID expressed in lowercase with dashes.",
        "type": "string",
        "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[0-9a-f]{4}-[0-9a-f]{12}$",
        "minLength": 36,
        "maxLength": 36,
        "example": "6e029f3f-21bf-425d-8f65-4eef2b5d8bb2"
      },
      "CurrencyCode": {
        "description": "A three-letter currency code (ISO 4217). ZAR is supported for `realtime-eft` payouts; XOF is supported for mobile money payouts.",
        "type": "string",
        "enum": [
          "ZAR",
          "XOF"
        ],
        "example": "ZAR"
      },
      "PayoutMethod": {
        "description": "The type of payout based on the payout delivery method.",
        "type": "string",
        "enum": [
          "realtime-eft",
          "mobile-money"
        ],
        "example": "realtime-eft"
      },
      "BankName": {
        "description": "The bank associated with the payout.",
        "type": "string",
        "example": "TYMEBANK",
        "enum": [
          "STANDARD BANK",
          "NEDBANK",
          "FNB",
          "OLD MUTUAL BANK",
          "ACCESS BANK",
          "AFRICAN BANK",
          "UBANK LTD",
          "BIDVEST BANK",
          "BIDVEST BANK ALLIANCES",
          "CAPITEC BANK",
          "ABSA",
          "HBZ BANK LIMITED",
          "FINBOND MUTUAL BANK",
          "INVESTEC BANK LIMITED",
          "FINBOND EPE",
          "DISCOVERY BANK",
          "TYMEBANK",
          "SASFIN BANK",
          "STANDARD CHARTERED BANK SA",
          "ALBARAKA BANK",
          "CAPITEC BUSINESS",
          "AFRICAN BANK BUSINESS",
          "BANK ZERO MUTUAL BANK",
          "YWBN MUTUAL BANK",
          "BANK ZERO - MUKURU"
        ]
      },
      "PayoutState": {
        "description": "The current state of the payout.",
        "type": "string",
        "example": "pending",
        "enum": [
          "pending",
          "processing",
          "failed",
          "successful",
          "cancelled",
          "reversed"
        ]
      },
      "PayoutWebhookStatus": {
        "description": "A payout status notification sent for all payout methods (realtime-eft and mobile money) when a payout state changes.",
        "type": "object",
        "required": [
          "status",
          "payoutId",
          "lastUpdated",
          "resultCode"
        ],
        "properties": {
          "status": {
            "$ref": "#/components/schemas/PayoutState"
          },
          "payoutId": {
            "$ref": "#/components/schemas/UUIDv4"
          },
          "lastUpdated": {
            "$ref": "#/components/schemas/LastUpdated"
          },
          "resultCode": {
            "$ref": "#/components/schemas/ResultCode"
          }
        },
        "example": {
          "status": "processing",
          "payoutId": "84920878-fc32-494f-8e30-6a2465c9a456",
          "lastUpdated": "2024-03-14T22:00:00.000Z",
          "resultCode": "2900.000.003"
        }
      },
      "MissingCreditQueryStatus": {
        "description": "The missing credit query status of the payout.",
        "type": "string",
        "enum": [
          "not_queried",
          "queried",
          "successful",
          "failed"
        ],
        "example": "not_queried"
      },
      "PayoutStatus": {
        "description": "A payout status contains all the information of a payout with the addition of a status and a payoutId.",
        "type": "object",
        "required": [
          "currency",
          "amount",
          "accountNumber",
          "branchCode",
          "reference",
          "bankName",
          "accountHolder",
          "payoutMethod",
          "status",
          "payoutId",
          "lastUpdated"
        ],
        "properties": {
          "currency": {
            "$ref": "#/components/schemas/CurrencyCode"
          },
          "amount": {
            "description": "The amount that was paid out, in minor currency (that is, cents) where 3443 is 34.43 in the major currency. It must be greater than or equal to 1 cent and less than or equal to 500000000 cents.",
            "type": "number",
            "example": 3443,
            "minimum": 1,
            "maximum": 500000000
          },
          "accountNumber": {
            "description": "The account number that was paid out to.",
            "type": "string",
            "maxLength": 50,
            "example": "11987654321"
          },
          "branchCode": {
            "description": "The branch code of the bank that was paid out to.",
            "type": "string",
            "pattern": "^[0-9]{6}$",
            "minLength": 6,
            "maxLength": 6,
            "example": "410105"
          },
          "reference": {
            "description": "The reference for the payout.",
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "pattern": "^(?! )[A-Za-z0-9 ]{1,20}(?<! )$",
            "example": "PAYOUT YF6N9ZA"
          },
          "bankName": {
            "$ref": "#/components/schemas/BankName"
          },
          "accountHolder": {
            "description": "The account holder for the payout.",
            "type": "string",
            "minLength": 2,
            "maxLength": 50,
            "pattern": "^[a-zA-Z0-9]([ .-](?![ .-])|[a-zA-Z0-9]){0,48}[a-zA-Z0-9]$",
            "example": "Jan van der Merwe"
          },
          "merchantReference": {
            "description": "Use this reference for your own tracking.",
            "type": "string",
            "minLength": 1,
            "maxLength": 20,
            "pattern": "^(?! )[A-Za-z0-9 ]{1,20}(?<! )$",
            "nullable": true,
            "example": "PAYOUT 12345"
          },
          "payoutMethod": {
            "$ref": "#/components/schemas/PayoutMethod"
          },
          "status": {
            "$ref": "#/components/schemas/PayoutState"
          },
          "payoutId": {
            "$ref": "#/components/schemas/UUIDv4"
          },
          "lastUpdated": {
            "$ref": "#/components/schemas/LastUpdated"
          },
          "created": {
            "description": "The ISO-8601 timestamp of when the payout was created.",
            "format": "date-time",
            "example": "2024-03-14T22:00:00.000Z"
          },
          "resultCode": {
            "$ref": "#/components/schemas/ResultCode"
          },
          "payoutPartnerRespondedAt": {
            "description": "ISO-8601 timestamp when the payout partner completed the payout.\nPresent only when no longer processing\n",
            "type": "string",
            "format": "date-time",
            "nullable": true,
            "example": "2024-03-14T22:10:00.000Z"
          },
          "missingCreditQueryStatus": {
            "$ref": "#/components/schemas/MissingCreditQueryStatus"
          },
          "error": {
            "$ref": "#/components/schemas/Error"
          }
        },
        "example": {
          "bankName": "ABSA",
          "accountNumber": "4047594620",
          "branchCode": "632005",
          "amount": 56712,
          "currency": "ZAR",
          "accountHolder": "Sibusiso Kumalo",
          "reference": "Refund order 74152",
          "merchantReference": "PAYOUT 12345",
          "payoutMethod": "realtime-eft",
          "status": "processing",
          "payoutId": "84920878-fc32-494f-8e30-6a2465c9a456",
          "lastUpdated": "2024-03-14T22:00:00.000Z",
          "created": "2024-03-14T22:00:00.000Z",
          "resultCode": "2900.000.003",
          "payoutPartnerRespondedAt": null,
          "missingCreditQueryStatus": "queried"
        }
      },
      "PayoutRequestStatus": {
        "type": "object",
        "description": "The combined result of your payout request.",
        "properties": {
          "payoutRequestId": {
            "$ref": "#/components/schemas/UUIDv4"
          },
          "created": {
            "description": "The ISO-8601 timestamp of when the payout request was made.",
            "format": "date-time",
            "example": "2024-03-14T22:00:00.000Z"
          },
          "payouts": {
            "description": "The response to the create payout request contains the list of payouts accepted along with\ntheir unique IDs which can be used in subsequent calls to query the status of the payouts.",
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/PayoutStatus"
            },
            "example": [
              {
                "bankName": "ABSA",
                "accountNumber": "4047594620",
                "branchCode": "632005",
                "amount": 56712,
                "currency": "ZAR",
                "accountHolder": "Sibusiso Kumalo",
                "reference": "Refund order 74152",
                "payoutMethod": "realtime-eft",
                "status": "processing",
                "payoutId": "84920878-fc32-494f-8e30-6a2465c9a456",
                "lastUpdated": "2024-03-14T22:00:00.000Z",
                "created": "2024-03-14T22:00:00.000Z",
                "resultCode": "2900.000.003",
                "payoutPartnerRespondedAt": null,
                "missingCreditQueryStatus": "queried"
              },
              {
                "bankName": "NEDBANK",
                "accountNumber": "1006393099",
                "branchCode": "210002",
                "amount": 78652,
                "currency": "ZAR",
                "accountHolder": "Thembisile Msibi",
                "reference": "Refund order 98767",
                "payoutMethod": "realtime-eft",
                "status": "failed",
                "payoutId": "355f5577-e174-4397-b8f6-ced4a7165217",
                "lastUpdated": "2024-03-14T22:00:00.000Z",
                "created": "2024-03-14T22:00:00.000Z",
                "resultCode": "2001.003.109",
                "payoutPartnerRespondedAt": "2024-03-14T22:10:00.000Z",
                "error": {
                  "title": "Invalid input error",
                  "message": "There is no account associated with the account number you entered. Double-check your input and try again.",
                  "code": "2001.003.109"
                }
              }
            ]
          }
        },
        "example": {
          "payoutRequestId": "6e029f3f-21bf-425d-8f65-4eef2b5d8bb2",
          "created": "2024-03-14T22:00:00.000Z",
          "payouts": [
            {
              "bankName": "ABSA",
              "accountNumber": "4047594620",
              "branchCode": "632005",
              "amount": 56712,
              "currency": "ZAR",
              "accountHolder": "Sibusiso Kumalo",
              "reference": "Refund order 74152",
              "payoutMethod": "realtime-eft",
              "status": "successful",
              "payoutId": "84920878-fc32-494f-8e30-6a2465c9a456",
              "lastUpdated": "2024-03-14T22:00:00.000Z",
              "created": "2024-03-14T22:00:00.000Z",
              "resultCode": "2000.000.000",
              "payoutPartnerRespondedAt": "2024-03-14T22:10:00.000Z"
            },
            {
              "bankName": "NEDBANK",
              "accountNumber": "1006393099",
              "branchCode": "210002",
              "amount": 78652,
              "currency": "ZAR",
              "accountHolder": "Thembisile Msibi",
              "reference": "Refund order 98767",
              "payoutMethod": "realtime-eft",
              "status": "failed",
              "payoutId": "355f5577-e174-4397-b8f6-ced4a7165217",
              "lastUpdated": "2024-03-14T22:00:00.000Z",
              "created": "2024-03-14T22:00:00.000Z",
              "resultCode": "2001.003.109",
              "payoutPartnerRespondedAt": "2024-03-14T22:10:00.000Z",
              "error": {
                "title": "Invalid input error",
                "message": "There is no account associated with the account number you entered. Double-check your input and try again.",
                "code": "2001.003.109"
              }
            }
          ]
        }
      },
      "LastUpdated": {
        "description": "The ISO-8601 timestamp of when the payout was last updated.",
        "format": "date-time",
        "example": "2024-03-14T22:00:00.000Z"
      },
      "ResultCode": {
        "description": "The result code indicating the status or error of the payout.",
        "format": "string",
        "pattern": "^2[0-9]{3}\\.[0-9]{3}\\.[0-9]{3}$",
        "minLength": 12,
        "maxLength": 12,
        "example": "2000.000.000"
      },
      "BankAccountVerificationRequestStatusStates": {
        "description": "The current status of the bank account verification request.",
        "type": "string",
        "enum": [
          "pending",
          "processing",
          "successful",
          "failed"
        ],
        "example": "pending"
      },
      "BankVerificationResponse": {
        "description": "The status and field match results for a bank account verification request.",
        "type": "object",
        "required": [
          "bankVerificationId",
          "created",
          "lastUpdated",
          "accountNumber",
          "idNumber",
          "initials",
          "lastName",
          "accountOpen",
          "accountAcceptsCredits",
          "accountAcceptsDebits",
          "accountOpenGtThreeMonths",
          "accountType",
          "status",
          "resultCode"
        ],
        "properties": {
          "bankVerificationId": {
            "$ref": "#/components/schemas/UUIDv4"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "example": "2024-03-14T22:00:00.000Z"
          },
          "lastUpdated": {
            "type": "string",
            "format": "date-time",
            "example": "2024-03-14T22:10:00.000Z"
          },
          "accountNumber": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "idNumber": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "initials": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "lastName": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "accountOpen": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "accountAcceptsCredits": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "accountAcceptsDebits": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "accountOpenGtThreeMonths": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "accountType": {
            "$ref": "#/components/schemas/BankVerificationMatchResult"
          },
          "status": {
            "$ref": "#/components/schemas/BankAccountVerificationRequestStatusStates"
          },
          "resultCode": {
            "$ref": "#/components/schemas/ResultCode"
          }
        },
        "example": {
          "bankVerificationId": "6e029f3f-21bf-425d-8f65-4eef2b5d8bb2",
          "created": "2024-03-14T22:00:00.000Z",
          "lastUpdated": "2024-03-14T22:10:00.000Z",
          "accountNumber": "positive",
          "idNumber": "positive",
          "initials": "unverified",
          "lastName": "positive",
          "accountOpen": "positive",
          "accountAcceptsCredits": "positive",
          "accountAcceptsDebits": "positive",
          "accountOpenGtThreeMonths": "positive",
          "accountType": "positive",
          "status": "successful",
          "resultCode": "2002.000.000"
        }
      },
      "BankVerificationMatchResult": {
        "description": "The per-field comparison result for a bank verification.",
        "type": "string",
        "enum": [
          "positive",
          "negative",
          "unverified"
        ],
        "example": "positive"
      }
    },
    "parameters": {
      "MerchantIdParam": {
        "name": "merchantId",
        "in": "path",
        "description": "A unique merchant ID provided by Peach Payments.",
        "required": true,
        "schema": {
          "$ref": "#/components/schemas/MerchantId"
        },
        "example": "d0bf5a6a909111f0aabf02d14af18cff"
      },
      "DateOrderParam": {
        "name": "order",
        "in": "query",
        "description": "Order the results by date providing date_asc or date_desc.",
        "required": false,
        "schema": {
          "type": "string",
          "enum": [
            "date_asc",
            "date_desc"
          ],
          "example": "date_asc"
        }
      }
    }
  },
  "webhooks": {
    "bankVerificationUpdated": {
      "post": {
        "tags": [
          "Bank Account Verification"
        ],
        "summary": "Bank account verification update webhook",
        "description": "Called by Peach Payments to notify of a bank account verification update.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BankVerificationResponse"
              },
              "examples": {
                "sample": {
                  "value": {
                    "bankVerificationId": "6e029f3f-21bf-425d-8f65-4eef2b5d8bb2",
                    "created": "2024-03-14T22:00:00.000Z",
                    "lastUpdated": "2024-03-14T22:10:00.000Z",
                    "accountNumber": "positive",
                    "idNumber": "positive",
                    "initials": "unverified",
                    "lastName": "positive",
                    "accountOpen": "positive",
                    "accountAcceptsCredits": "positive",
                    "accountAcceptsDebits": "positive",
                    "accountOpenGtThreeMonths": "positive",
                    "accountType": "positive",
                    "status": "successful",
                    "resultCode": "2002.000.000"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Bank account verification notification received."
          }
        }
      }
    },
    "payoutStatusUpdated": {
      "post": {
        "tags": [
          "Payouts"
        ],
        "summary": "Payout status update webhook",
        "description": "Called by Peach Payments to notify of payout status updates.\nApplies to all payout methods: `realtime-eft` and mobile money.\nMobile money payout status transitions are driven by background polling.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PayoutWebhookStatus"
              },
              "examples": {
                "RealtimeEft": {
                  "summary": "Realtime EFT payout status update",
                  "value": {
                    "status": "processing",
                    "payoutId": "84920878-fc32-494f-8e30-6a2465c9a456",
                    "lastUpdated": "2024-03-14T22:00:00.000Z",
                    "resultCode": "2900.000.003"
                  }
                },
                "MobileMoney": {
                  "summary": "Mobile money payout status update",
                  "value": {
                    "status": "successful",
                    "payoutId": "1a2b3c4d-21bf-425d-8f65-4eef2b5d8bb2",
                    "lastUpdated": "2024-03-14T22:10:00.000Z",
                    "resultCode": "2000.000.000"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Payout status notification received."
          }
        }
      }
    },
    "floatAllocationUpdated": {
      "post": {
        "tags": [
          "Webhooks"
        ],
        "summary": "Float top-up webhook",
        "description": "Called by Peach Payments when a deposit is allocated to your float (same configured payouts webhook URL as payout status updates).\nOnly sent when `webhookOptions.floatAllocationUpdates` is enabled. See the [update webhook endpoints](https://developer.peachpayments.com/reference/updatewebhookendpoints) API for more details.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "currency",
                  "lastTransactionDate",
                  "availableBalance",
                  "topupAmount"
                ],
                "properties": {
                  "currency": {
                    "type": "string",
                    "example": "ZAR"
                  },
                  "lastTransactionDate": {
                    "type": "string",
                    "format": "date-time",
                    "description": "ISO 8601 timestamp of the latest account transaction used for the balance snapshot."
                  },
                  "availableBalance": {
                    "type": "integer",
                    "description": "Available float balance after the top-up, in smallest currency units (cents).",
                    "example": 1234
                  },
                  "topupAmount": {
                    "type": "integer",
                    "description": "Amount credited from the allocated deposit(s), in smallest currency units (cents).",
                    "example": 1200
                  }
                }
              },
              "examples": {
                "sample": {
                  "value": {
                    "currency": "ZAR",
                    "lastTransactionDate": "2026-01-10T14:30:00.000+02:00",
                    "availableBalance": 1234,
                    "topupAmount": 1200
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Float allocation notification received."
          }
        }
      }
    }
  }
}
```