> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rocka.live/llms.txt
> Use this file to discover all available pages before exploring further.

# Test your payouts

Before you start issuing payouts to your customers, make sure your integration works as expected. You can create test payouts, implement additional security checks and verify you're correctly handling all payout statuses.

## Create a test payout

To create a test payout:

<Steps>
  <Step title="Make a test API call">
    1. Go to your [Rocka Hub](https://hub.rocka.live/) > **Integration**. You'll find your test API key under **Test credentials**.
    2. To verify your site is connected to Rocka, make a test API call with your sandbox key. For example, you can try the Get the list of top banks endpoint.
  </Step>

  <Step title="Create your first payout in sandbox mode">
    Try creating your first payment with your test API key using the [POST /api/payouts endpoint](/api-reference/create-open-banking-payments).

    To trigger specific payout statuses, use these IBANs:

    | Status    | IBAN                          |
    | --------- | ----------------------------- |
    | Executing | `FR7630006000011234567890189` |
    | Done      | `GB33BUKB20201555555555`      |
    | Failed    | `DE75512108001245126199`      |
    | Rejected  | `FI1410093000123458`          |
  </Step>

  <Step title="Process the callback">
    Once your payout is processed, you will receive a callback. For more information, see [Callbacks](https://docs.rocka.live/api-reference/callbacks#payouts).
  </Step>
</Steps>

## Before you go live

We recommend that you double-check everything works as expected on sandbox before your payouts go live:

### 1. Security checks

If you're using the `webhookUrl` parameter to receive payout status updates, implement security checks to protect yourself against bank fraud.

<Icon icon="signature-lock" /> [Security checks → ](/api-reference/security-checks)

### 2. Error handling

Verify you're properly validating all input data.

<Icon icon="message-code" />  [Error codes → ](https://docs.rocka.live/api-reference/error-codes)

### 3. Status handling

Make sure you're processing all payout status callbacks (`Done`, `Rejected` and `Failed`).

<Icon icon="webhook" />  [Payout callbacks → ](/api-reference/callbacks#payouts)
