Cancellation
Calldata that cancels one subscription
P2Flux cannot revoke a customer's on-chain authority - only their wallet can. This returns the transaction for them to send. Accepts either the stored capability (server-side) or a cancel token (customer-side).
post/v1/subscriptions/revoke/prepare
Request
- Base URL: https://api.p2flux.com
- URL: https://api.p2flux.com/v1/subscriptions/revoke/prepare
- Auth: none required
Request body
Response
Unsigned calldata.
Example response
{
"payer": "0xb4e43f3fBa5Add75395adAD366627E7d74141Fa9",
"to": "0xb4e43f3fBa5Add75395adAD366627E7d74141Fa9",
"subscription_id": "0x2d6bbc112885a6976289e599f71003f7d310e7152ebd662c6221dffd3e0da708"
}Changes
No recorded changes to this operation across all 1 revision of this API.