v1

latestOpenAPI 3.0.02026-07-2656110201.6 KB
Headless Transactions

Prepare a Headless Payment

Prepares a Solana headless transaction. Returns a payload that the payer can sign and submit.

post/v1/transaction/headless/prepare

Request body

paymentRequestIdstring required

The ID of the associated payment request.

senderPublicKeystring required

The sender’s public key on the Solana blockchain.

currencyIdstring

The identifier of the currency being used for the transaction.

quantitynumber

The quantity of the selected currency.

minimalUnitAmountnumber

The minimal unit amount (e.g., in lamports for Solana).

affiliateCodestring

Optional affiliate or referral code linked to the transaction.

btcPublicKeystring

Optional Bitcoin public key if BTC-related properties are included.

Response

The transaction was prepared successfully

paymentRequestIdstring required

The ID of the associated payment request.

senderPublicKeystring required

The sender’s public key on the Solana blockchain.

currencyIdstring

The identifier of the currency being used for the transaction.

quantitynumber

The quantity of the selected currency.

minimalUnitAmountnumber

The minimal unit amount (e.g., in lamports for Solana).

affiliateCodestring

Optional affiliate or referral code linked to the transaction.

btcPublicKeystring

Optional Bitcoin public key if BTC-related properties are included.