Skip to main content
POST
Create an off-ramp order

Authorizations

x-api-key
string
header
required

Your secret key. fpay_test_… keys use the sandbox; fpay_live_… keys move real money.

Body

application/json
amount
number
required

For an on-ramp, the local currency the customer pays. For an off-ramp, the stablecoin they send.

Example:

150000

asset
enum<string>
required

The stablecoin.

Available options:
usdc,
usdt,
cngn
Example:

"usdc"

network
string
required

The network the stablecoin moves on.

Example:

"base"

currency
string
required

The local currency.

Example:

"NGN"

country
string
required

The country, as an ISO code.

Example:

"NG"

beneficiary
object
required

Who receives the money: a wallet_address for an on-ramp, bank details for an off-ramp.

callback_url
string
required

Where we send every status change for this order.

Example:

"https://app.example.com/hooks/flipeet"

reference
string
required

Your own ID for this order, in any format. Each one can be used once per business; sending it again returns 409. Responses and webhooks for the order carry it.

Example:

"ramp_901"

channel
string
required

How the local currency moves, such as BANK.

Example:

"BANK"

reason
string

Why the money is moving, where the country asks.

staticAddress
boolean

Reuse the same deposit details for this customer.

Response

Success

message
string
Example:

"Successfully"

status
string
Example:

"success"

statusCode
number
Example:

201

data
object