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

# API Integration Checklist

> Follow this checklist to test your RazorpayX integration and go live in Malaysia.

Available in
🇲🇾 Malaysia

> [!NOTE]
>
> RazorpayX payouts in Malaysia are available on request. RazorpayX is not enabled on Razorpay Curlec accounts by default. To enquire about RazorpayX for your business, [contact our Support team](https://curlec.com/docs/payments/dashboard/support.md).

The following table lists the recommended practices for a successful API integration with RazorpayX.

| Checklist | Description |
| - | - |
| Generate API keys | The owner of the account [generates the Key ID and Key Secret](https://curlec.com/docs/x/dashboard/api-keys.md) on the RazorpayX Dashboard. The secret is shown only once. |
| [Allowlist IPs](https://curlec.com/docs/x/dashboard/allowlist-ip.md) | Live API calls work only from your allowlisted server IPs. A call from any other IP returns HTTP 401. Tell your account manager before you add or change your server IPs. |
| Select the type of API integration | With the [Composite API](https://curlec.com/docs/api/x/payout-composite.md), the beneficiary goes inline in the payout request. You can reuse the returned `fund_account.id` in later payouts. |
| Choose a payout mode | Use `IBFT` for a bank account and `DUITNOW` for a DuitNow proxy. Know more about [payout modes](https://curlec.com/docs/x/payouts/modes.md). |
| [Validate the beneficiary](https://curlec.com/docs/x/fund-account-validation.md) | Check the bank account or DuitNow proxy before the actual payout. The validation returns the name registered at the bank. No amount is credited. |
| Use the [Idempotency](https://curlec.com/docs/api/x/payout-idempotency/make-request.md) header | The `X-Payout-Idempotency` header is mandatory on every payout create request. It eliminates duplicate payouts due to human or network error. |
| [Set up Webhooks](https://curlec.com/docs/x/apis/subscribe.md) | Receive status updates in real time. Verify the signature of every webhook and subscribe to `payout.failed`. |
| Plan for approvals | Payouts above the approval amount set for your account wait for a checker to approve them on the Dashboard. Payouts below this amount go to the bank directly. Know more about the [Approval Workflow](https://curlec.com/docs/x/manage-teams/approval-workflow.md). |
| Keep enough balance | [Top up your RazorpayX account](https://curlec.com/docs/x/account.md#add-funds) before you send volume. Use `queue_if_low_balance` to [queue payouts](https://curlec.com/docs/x/payouts/queued.md) when the balance is low. |
| [Contact our Support team](https://curlec.com/docs/x/support.md) or your account manager | For questions about your integration or approvals. |

## Test Checklist

Our team confirms with you how testing works before you go live.

Check each of these before you go live:

* A call with a wrong key returns HTTP 401.
* A payout to a bank account (`IBFT`) above the approval amount is created and shows as waiting for approval (`pending`).
* A payout below the approval amount is created and goes to the bank without approval.
* A payout to a DuitNow proxy (`DUITNOW`) is created.
* A checker approves a payout on the Dashboard and it completes.
* A checker rejects a payout and your system handles the `rejected` status.
* Webhooks arrive and the signature check passes.
* You fetch a payout's status and it matches the webhook.
* A beneficiary validation returns the registered name.
* A duplicate reference is handled without paying twice.

## Go-Live Steps

1. **Tell us testing is complete**: Share the test results with your account manager.
2. **Generate your API key**: Store the secret securely and add it to your production configuration.
3. **Go live on the agreed date**: Our team agrees the go-live date with you.
4. **Send one low-value live payout**: Check the status and the webhook before you send volume.

### Related Information

* [Payouts Best Practices](https://curlec.com/docs/x/payouts/best-practices.md)
* [Payout States and Life Cycle](https://curlec.com/docs/x/payouts/states-life-cycle.md)
