Skip to main content
POST
/
transactions
Create a transaction
curl --request POST \
  --url https://api.conduit.financial/transactions \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --header 'X-API-Secret: <api-key>' \
  --data '{
  "type": "withdrawal",
  "destination": {
    "walletId": "wlt_2nqjHpNLK6wSNlFyMvZgX8SYeAO",
    "asset": "USDC",
    "network": "ethereum",
    "amount": "1400.00"
  }
}'
{
  "type": "offramp",
  "id": "trxn_2ji0un2T6BaGhHKsmJu93Zf5OQm",
  "quote": "quote_2nqjHpNLK6wSNlFyMvZgX8SYeAO",
  "source": {
    "id": "bank_2kezVryAA3Uw9LJYBiXUV7Pj6gu",
    "asset": "USDT",
    "network": "tron",
    "amount": "115.000000"
  },
  "destination": {
    "id": "bank_2UOcdiXWXbHdLRl3zfU2gG27yRi",
    "asset": "USD",
    "amount": "117.00"
  },
  "documents": [
    {
      "id": "doc_2ofTAESrTs4uQ8N3yGBMhGj59jV"
    }
  ],
  "status": "completed",
  "createdAt": "2024-10-26T02:21:03.742Z",
  "completedAt": "2024-10-26T02:45:03.742Z",
  "reference": "TRX#09123A",
  "purpose": "Other"
}

Authorizations

X-API-Key
string
header
required

Includes an API key in the HTTP headers to authenticate the client.

X-API-Secret
string
header
required

Includes an API secret in the HTTP headers to authenticate the client.

Body

application/json
  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
type
enum<string>
required
Available options:
withdrawal
destination
object
required

Response

The created object

  • Option 1
  • Option 2
  • Option 3
  • Option 4
  • Option 5
  • Option 6
type
enum<string>
required
Available options:
offramp
id
string
required

A valid Transaction ID

Example:

"trxn_2ofTAESrTs4uQ8N3yGBMhGj59jV"

quote
string
required

A valid Quote ID

Example:

"quote_2ofTABULiy4F9kO7JrrZJWpcO65"

source
object
required
destination
object
required
status
enum<string>
required
Available options:
initializing,
created,
compliance_approved,
compliance_rejected,
completed,
awaiting_funds,
funds_received,
cancelled,
in_compliance_review,
awaiting_compliance_review,
processing_withdrawal,
withdrawal_processed,
processing_settlement,
settlement_processed,
processing_payment,
payment_processed
createdAt
string<date-time>
required
documents
object[]
required
purpose
enum<string>
required
Available options:
PaymentsForGoodsOrServices,
InterCompanyTransfer,
Investments,
Payroll,
TreasuryManagement,
Other,
Unspecified,
12186-VirtualAssets,
12823-TradeOfGoods,
46019-FinancialServices,
46002-ItAndInformationServices,
46040-ManagementAndLegalServices,
46239-CreditTransfers,
46246-NonInsuranceIndemnities,
47609-CommissionsAndExpenses,
37303-MaintenanceOfResidents,
37334-DonationsAndCooperation,
46222-Reimbursements,
47908-SalariesAndCompensation,
46208-RentOfRealEstateAndEquipment
completedAt
string<date-time>
reference
string
I