SET Crypto API Suite · Senders and screening
The message a Cash-Out payment's paying wallet signs to prove its sender
GET/v1/cash_out_payments/{id}/sender
The wallet SET read as this Cash-Out payment's payer, and the exact message that wallet signs to prove it sent the payment. Send the signature with POST /v1/cash_out_payments/{id}/sender.
Path parameters
idstringrequired- The Cash-Out payment's id. Not one of your Cash-Out payments, it answers
404 cash_out_payment_unknown.
Notes
- Needs the
readscope. Any account type; no deployment switch. - The payment must have a sending wallet on record, or the answer is
400 sender_wallet_unknown. Live, SET reads it on chain; in the sandbox it is thefromAddressgiven toPOST /v1/sandbox/cash_out_payments. messagebinds your business, the payment id, the wallet, the network and the mode; nothing in it expires. It does not name the asset.- The chain is the payment's own: the Cash-Out Address's chain, or for a chain
evmaddress the chain the payment came in on. - How to sign by chain: on Solana, Ed25519
signMessage; on Base and Ethereum, EIP-191 (personal_sign), EIP-1271 or the contract'sowner(); on any other EVM chain, EIP-191 from a plain key (EOA) only. walletis lowercase on an EVM chain and exact case on Solana.- The same message signed by another wallet answers
422 proof_not_from_walleton the POST. - In the sandbox the POST answers
senderStatesimulatedand sends nothing to the provider. - This example is a recorded run of SET's own code (wallet release
e9b03447) with a sandbox key; ids and times are that run's.
Errors
404 cash_out_payment_unknown400 sender_wallet_unknown