Skip to main content
POST
string
required
Your StarkFi API key. You can find it in your dashboard.
You must always use this endpoint for all on-chain operations. Never send transactions via your own broadcast or directly through the user’s wallet (e.g. using sendTransaction). The user should only sign the transaction — after signing, your backend must forward it here. This ensures all required steps for payment processing and order confirmation are properly executed.
string
required
Transaction executor type. Use api_transaction when the request comes via API.
string
required
Unique payment identifier generated in the Create Transaction step.
string
required
Signed transaction hex string generated by the user’s wallet after signing the crypto_tx received from the create transaction endpoint.

Response

number
required
HTTP status code. Returns 200 on success.
boolean
required
Whether the request succeeded.
enum<string>
required
Broadcast result status. Available options: payment_confirmed, payment_received
  • payment_confirmed — broadcast accepted and transaction receipt confirmed on-chain. Order status updated to success.
  • payment_received — transaction confirmed on source chain. Worker (FinalizerTransferWorker) takes over to monitor the bridge via LiFi. Order status updated to received.
string
required
Human-readable response message.
object
required
Broadcast result data.

Errors

Before broadcast

These occur during payload or order validation, before any transaction is sent to the network.

During broadcast

These occur after validation, during or after the broadcast to the network.

Order status lifecycle

Once broadcast is submitted, the order moves through the following states:
Use the Check Payment Info endpoint to poll the order status after broadcasting and confirm when it reaches success.