Create a test payout
To create a test payout:1
Make a test API call
- Go to your Rocka Hub > Integration. You’ll find your test API key under Test credentials.
- 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.
2
Create your first payout in sandbox mode
Try creating your first payment with your test API key using the POST /api/payouts endpoint.To trigger specific payout statuses, use these IBANs:
3
Process the callback
Once your payout is processed, you will receive a callback. For more information, see Callbacks.
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 thewebhookUrl parameter to receive payout status updates, implement security checks to protect yourself against bank fraud.
Security checks →
2. Error handling
Verify you’re properly validating all input data. Error codes →3. Status handling
Make sure you’re processing all payout status callbacks (Done, Rejected and Failed).
Payout callbacks →