> For the complete documentation index, see [llms.txt](https://docs.xft.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xft.finance/bitnet/use-cases/archive/integration/api-interface.md).

# API Interface

**Authenticate in Sandbox**

**Funding Flow**\
1 Create Fiat Deposit Instructions\
2 Send Fiat to XFT\
3 Check Status of Deposit\
4 View Updated Balances

**Withdrawal Flow**\
1 Create Fiat Account\
2 Confirm Sufficient Funds\
3 Retrieve Bank Account Status\
4 Create Fiat Withdrawal\
5 Check Status of Withdrawal\
6 View Updated Balances

**Stablecoin Payments**

**Set Up Stablecoin Pay-in Workflow**\
1 Add Seller Stablecoin Deposit Address\
2 Receive Stablecoin Payment\
3 Add Pay-in Monitoring and Reconciliation Request\
4 Move USD to Bank Account

**Set Up a Refund Workflow**\
1 Add USD to a Refund Account\
&#x20;   a. Sandbox Only: Check USD Deposit\
2\. Initiate a Stablecoin Refund\
3\. Add Refund Monitoring and Reconciliation Request\
&#x20;   a. Sandbox Only: Check USD Withdrawal
