Skip to main content
POST
Sign and broadcast with a customer Solana wallet

Authorizations

x-api-key
string
header
required

Headers

X-Idempotency-Key
string
required

Unique merchant-scoped key for this exact signing request. Maximum 255 characters.

Required string length: 1 - 255

Path Parameters

customerId
string<uuid>
required

FossaPay customer UUID owned by the authenticated merchant.

Body

application/json
serializedTransaction
string
required

Base64-encoded serialized Solana VersionedTransaction. The selected FossaPay wallet must be a required signer and the fee payer; all other required signers must already have signed.

Required string length: 1 - 4096
Example:

"AQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAQAB..."

Response

Transaction simulated, signed, and submitted

status
string
required
Allowed value: "success"
statusCode
integer
required
message
string
required
data
object
required