Skip to main content
POST
/
v1
/
transaction
/
headless
/
submit
Submit a Headless Payment
curl --request POST \
  --url https://api.hel.io/v1/transaction/headless/submit \
  --header 'Content-Type: application/json' \
  --data '
{
  "signedTransaction": "<string>",
  "transactionToken": "<string>"
}
'
{
  "transactionSignature": "string",
  "status": "string",
  "content": "array"
}
Note: When using the production environment at moonpay.hel.io, set your API endpoint to api.hel.io/v1 and generate API keys there. For the development environment, use api.dev.hel.io/v1 and generate API keys from moonpay.dev.hel.io.

Body

application/json
signedTransaction
string
required

The serialized transaction signed by the payer.

transactionToken
string
required

The token returned from the prepare step, used to identify the transaction.

Response

The transaction was submitted successfully

signedTransaction
string
required

The serialized transaction signed by the payer.

transactionToken
string
required

The token returned from the prepare step, used to identify the transaction.