The offramp flow lets your users send crypto (USDT, USDC, BTC, ETH) and receive local currency (NGN, GHS, KES) in their bank account or mobile money wallet. Partna handles the crypto receipt, conversion, and local currency payout. If you want full control over the experience, use this API flow. If you would rather redirect users to a Partna payout flow, use the Offramp Widget instead.Documentation Index
Fetch the complete documentation index at: https://docs.getpartna.com/llms.txt
Use this file to discover all available pages before exploring further.
How it works
Create a user account
Register your user with Partna using Create Account if they do not already have one.
Resolve the destination bank account
Verify the user’s bank account details using Resolve Bank. This confirms the account number and returns the account holder’s name.Response:
Fetch a rate
Call Get Rate with
fromCurrency=USDT and toCurrency=NGN. Save the rate key.Initiate the offramp
Call Onramp and Offramp with The response includes a crypto wallet address where the user should send their USDT.
type: "cryptoToFiat". Include the rate key, the user’s bank details, and the crypto amount.User sends crypto
The user sends the specified crypto amount to the wallet address returned in step 5.
Key parameters
| Parameter | Description |
|---|---|
type | Must be cryptoToFiat for offramp |
fromCurrency | The crypto being sent (e.g., USDT, USDC, BTC) |
fromNetwork | The blockchain network (e.g., tron, ethereum, solana) |
toCurrency | The local currency for payout (e.g., NGN) |
toNetwork | The payout network (e.g., naira, mobileMoney, mpesa) |
accountName | The bank account holder’s name (from Resolve Bank) |
accountNumber | The destination bank account number |
bankCode | The bank code (from Get Banks) |
rateKey | The rate key from Get Rate |
rampReference | Your unique reference for this transaction |