Skip to main content
POST
/
api
/
agent-payments
/
send-spark
Send sats to another Spark address from authenticated user's wallet.
curl --request POST \
  --url https://openagents.com/api/agent-payments/send-spark \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amountSats": 21,
  "sparkAddress": "someone@spark.wallet",
  "timeoutMs": 12000
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Send sats to a Spark address from the authenticated user wallet.

amountSats
integer
required
Example:

21

sparkAddress
string
required
Example:

"someone@spark.wallet"

timeoutMs
integer | null
Example:

12000

Response

Successful response

data
object