Permit Messages
Was this section helpful?
What made this section helpful for you?
What made this section unhelpful for you?
On this page
- Permit 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 accountPermit messages enable gasless token approvals by allowing users to sign an off-chain message that authorizes SubScrypt smart contract to spend their tokens. Instead of requiring an on-chain approval transaction—which costs gas—users can simply sign a structured message with their wallet. This reduces friction at checkout and makes the payment process faster and more cost-effective.
When you submit a signed purchase session, SubScrypt checks whether the user has already approved token spending. If so, the payment is processed immediately. If not, the response will include a permit message in typed data format. You can present this message to the user for signing. Once signed, submit it to SubScrypt to complete the approval and proceed with the transaction—all without requiring an additional on-chain approval step.