Create Order

Create a new order (onramp, offramp, payin, payout, prefund, swap).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string

Optional; This field can be used to reference your own transaction Id with TransFi's order Id.

string

Required for onramp, offramp, payin, payout, swap, gaming

string

Can be obtained from the /v3/invoices/create endpoint. Relevant for payin and payout orderTypes.

customerMetaData
object

Optional; This field can be used to pass additional customer metadata to the order.

string
required

Purpose of the Payment. Enum values for purposeCode can be found here.

string
length ≥ 10

Optional. Required if purposeCode is 'other'. Must be at least 10 characters, using only letters, spaces, and basic punctuation.

uri

Merchant website URL from where the traffic is flowing to TransFi. Must include https:// protocol.

uri

URL to redirect the user after a successful transfer. Must include the https:// protocol. This field is not required if a default redirectUrl is configured in the Displ-AI dashboard [https://qa-displai.transfi.com/settings/integration]. Providing a value in this field will override the default redirectUrl configured in the dashboard. If a redirectUrl is not configured in the dashboard, this field is required for: - Gaming orders - Cases where headlessMode is false and the orderType is one of: onramp, offramp, payin, swap

uri

URL to redirect the user after a failed transfer. Must include the https:// protocol. This field is not required if a default redirectUrl is configured in the Displ-AI dashboard [https://qa-displai.transfi.com/settings/integration]. Providing a value in this field will override the default redirectUrl configured in the dashboard. If a redirectUrl is not configured in the dashboard, this field is required for: - Gaming orders - Cases where headlessMode is false and the orderType is one of: onramp, offramp, payin, swap

deviceDetails
object

Optional; This field can be used to pass device details of the user.

customization
object

Optional.

boolean
Defaults to false

Optional; defaults to false. When true, enables headless mode for the payment flow: the user is not redirected to a payment page. All required additional payment details for the source object must be provided in this API payload. NOte: This field is relevant for payin, swap, onramp, offramp orderTypes.

string
enum
required
source
object
required
destination
object
required
Headers
string
required

Merchant or sub-merchant MID

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json