Purchase Messages
Was this section helpful?
What made this section helpful for you?
What made this section unhelpful for you?
On this page
- Purchase Messages
POST
Create an accountPOST
Resend Verification EmailPATCH
Update an accountGET
Retrieve an accountGET
List all connected accountsPOST
Create API Key for connected accountGET
Retrieve API Keys for connected accountDELETE
Disable API Key for connected accountDELETE
Delete an accountPOST
Create Webhook for connected accountPOST
Disable Webhook for connected accountGET
Retrieve Webhooks for connected accountPurchase messages are designed for integrators who want to build and control their own checkout experience. Instead of redirecting customers to a hosted checkout page, integrators request a raw payload from SubScrypt, which contains all necessary transaction details.
The integrator then signs this payload on the client or server side using their private key, following the EIP-712 structured data signing standard. Once signed, the integrator submits the message back to SubScrypt API to finalize the transaction.
This approach gives developers full flexibility over the user interface and transaction flow, while still leveraging SubScrypt backend for transaction processing, validation, and reconciliation.
A short demo on how to sign a message using EIP-712 is available here: CodeSandbox EIP-712 Demo