Create a transaction

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

Creates a new transaction in quoted state. The transaction must be confirmed before it executes.

This is the universal endpoint for all payment types — Lightning, on-chain Bitcoin, USDT, fiat payouts, and internal swaps. The method and ccy fields determine the flow.

Example: Lightning Send

curl -X POST https://api.neutron.me/api/v2/transaction/ \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -d '{
    "sourceReq": {
      "ccy": "BTC",
      "method": "neutronpay"
    },
    "destReq": {
      "ccy": "BTC",
      "method": "lightning",
      "reqDetails": {
        "paymentRequest": "lnbc100u1p..."
      }
    }
  }'

Example: Lightning Receive

curl -X POST https://api.neutron.me/api/v2/transaction/ \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -d '{
    "sourceReq": {
      "ccy": "BTC",
      "method": "lightning",
      "reqDetails": {}
    },
    "destReq": {
      "ccy": "BTC",
      "method": "neutronpay",
      "amtRequested": 0.0001,
      "reqDetails": {}
    }
  }'

Payment Methods

MethodDescriptionreqDetails
neutronpayInternal Neutron wallet{}
lightningLightning NetworkSend: { "paymentRequest": "lnbc..." } / Receive: {}
on-chainBitcoin on-chainSend: { "address": "bc1q..." } / Receive: {}
tronUSDT via TRON{ "address": "T..." }
vnd-instantVietnamese Dong bank payout{ "bankAcctNum": "...", "institutionCode": "..." }

Key Rules

  • Amounts are in BTC (not satoshis) — 0.00000100 = 100 sats
  • Set amtRequested on one side only (source OR dest), not both
  • The response includes fee breakdown (neutronpayFees, networkFees) — review before confirming
  • KYC and sourceOfFunds are only required for fiat payouts
  • Use extRefId to attach your own reference ID for tracking

Response

Returns the transaction in quoted state with fees and exchange rate. See Schema & Sample Payloads for the full response structure.

Next Step

Confirm the transaction to execute it.

Related

Body Params
string
string
boolean
boolean
boolean
sourceOfFunds
object
sourceReq
object
required
destReq
object
required
Responses

401

Unauthorized - Invalid or missing authentication credentials

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