Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API token authentication using format <api token id>:<api client secret>

Body

application/json
quoteId
string
required

The unique identifier of the quote

Example:

"Quote:019542f5-b3e7-1d02-0000-000000000006"

currencyCode
string
required

Currency code for the funds to be sent

Example:

"USD"

currencyAmount
integer<int64>

The amount to send in the smallest unit of the currency (eg. cents). If not provided, the amount will be derived from the quote.

Example:

1000

Response

Funds received successfully

id
string
required

Unique identifier for the transaction

Example:

"Transaction:019542f5-b3e7-1d02-0000-000000000004"

status
enum<string>
required

Status of an outgoing payment transaction.

Available options:
PENDING,
EXPIRED,
PROCESSING,
COMPLETED,
FAILED
type
enum<string>
required

Type of transaction (incoming payment or outgoing payment)

Available options:
OUTGOING
direction
enum<string>
required

Whether this transaction credits or debits the customer's account.

Available options:
CREDIT,
DEBIT
destination
Account Destination · object
required

Destination account details

customerId
string
required

System ID of the customer (sender for outgoing, recipient for incoming)

Example:

"Customer:019542f5-b3e7-1d02-0000-000000000001"

platformCustomerId
string
required

Platform-specific ID of the customer (sender for outgoing, recipient for incoming)

Example:

"18d3e5f7b4a9c2"

source
Account Source · object
required

Source account details

sentAmount
object
required

Amount sent in the sender's currency

settledAt
string<date-time>

When the payment was or will be settled

Example:

"2025-08-15T14:30:00Z"

createdAt
string<date-time>

When the transaction was created

Example:

"2025-08-15T14:25:18Z"

updatedAt
string<date-time>

When the transaction was last updated

Example:

"2025-08-15T14:30:00Z"

receiptDeliveryConfirmedAt
string<date-time>

The time at which the platform confirmed delivery of the receipt to their customer.

Example:

"2025-08-15T14:31:00Z"

agentId
string

If this transaction was initiated by an agent, the system-generated ID of that agent. Absent for platform-initiated transactions.

Example:

"Agent:019542f5-b3e7-1d02-0000-000000000042"

description
string

Optional memo or description for the payment

Example:

"Payment for invoice #1234"

counterpartyInformation
object

Additional information about the counterparty, if available and relevant to the transaction and platform.

Example:
receivedAmount
object

Amount to be received by recipient in the recipient's currency

exchangeRate
number

Number of sending currency units per receiving currency unit.

Example:

1.08

fees
integer<int64>

The fees associated with the quote in the smallest unit of the sending currency (eg. cents).

Required range: x >= 0
Example:

10

reconciliationInstructions
object

Reconciliation details for this transaction. For the on-chain hash of a crypto payout to an external wallet, see the destination's onChainTransaction instead.

quoteId
string

The ID of the quote that was used to trigger this payment

Example:

"Quote:019542f5-b3e7-1d02-0000-000000000006"

paymentInstructions
object[]

Payment instructions for executing the payment.

Example:
refund
object

The refund if transaction was refunded.

rateDetails
object

Details about the rate and fees for the transaction.

failureReason
enum<string>

If the transaction failed, this field provides the reason for failure.

Available options:
QUOTE_EXPIRED,
QUOTE_EXECUTION_FAILED,
LIGHTNING_PAYMENT_FAILED,
FUNDING_AMOUNT_MISMATCH,
COUNTERPARTY_POST_TX_FAILED
paymentRail
enum<string> | null

The payment rail used to settle this transaction (e.g. ACH, WIRE, NEFT, FASTER_PAYMENTS). Uses the same values as the PaymentRail sent on quote requests. Null when no external rail is used (e.g. instant or intra-network transfers, or non-direct-destination transactions) or before a rail is resolved.

Available options:
ACH,
ACH_COLOMBIA,
BANK_TRANSFER,
BRE_B,
CIPS,
FAST,
FASTER_PAYMENTS,
FEDNOW,
INSTAPAY,
MOBILE_MONEY,
NEFT,
PAYNOW,
PESONET,
PIX,
RTGS,
RTP,
SEPA,
SEPA_INSTANT,
SPEI,
SWIFT,
UNIONPAY,
UPI,
WIRE
Example:

"ACH"

railSelectionMode
enum<string> | null

How the rail was chosen — MANUAL when the platform specified a paymentRail on the destination, AUTO when Lightspark selects it. Null when no rail is resolved.

Available options:
AUTO,
MANUAL
Example:

"AUTO"

expectedSettlementAt
string<date-time> | null

Expected settlement time at the beneficiary. Null for instant rails (settlement is immediate) and before a rail with deferred settlement is resolved.

settlementTimelineSeconds
integer | null

Expected number of seconds from quote creation to settlement. Null when not yet known.