Skip to content

/payout_wallet

Generated from openapi.yaml. 4 operations.Download the specification.

POST/v1/payout_wallet

Set the payout wallet by signature

Proves control of the address off-chain and without gas: the wallet signs the challenge message, and the ed25519 signature is verified against the address. Get the message from /v1/payout_wallet/challenge first.

Requires your secret key as a bearer token.

Body

FieldTypeRequiredDescription
addressstringyesSolana address to receive settlement
messagestringyesThe challenge exactly as issued
signaturestringyesBase64 of the 64-byte ed25519 signature

Responses

StatusDescription
200The updated merchant
400The signature does not verify against the address

GET/v1/payout_wallet/challenge

Get a message for the wallet to sign

Requires your secret key as a bearer token.

Path and query parameters

NameInRequiredDescription
addressqueryyes

Responses

StatusDescription
200payout_wallet_challenge with the address and the message to sign

Build an unsigned transaction proving wallet control

The on-chain alternative to signing a message. Returns a transaction for the wallet to sign; submitting it is what proves control. Available only where the on-chain prover is configured.

Requires your secret key as a bearer token.

Path and query parameters

NameInRequiredDescription
addressqueryyes

Responses

StatusDescription
200payout_wallet_link_tx with the address
400On-chain wallet proof is not available in this deployment

POST/v1/payout_wallet/link

Set the payout wallet by signed transaction

Requires your secret key as a bearer token.

Body

FieldTypeRequiredDescription
addressstringyes
memostringyesThe memo exactly as issued by link_tx
signedTransactionstringyesBase64 of the wallet-signed transaction

Responses

StatusDescription
200The updated merchant
400The proof does not verify

All resources ·Supported tokens ·Sandbox