Subscriptions
Carry a signed allowance change onto the chain
For a customer who holds no native currency. They signed two things - the allowance change and a bounded fee for the transaction that carries it - and P2Flux sends one call that does both. A change that cannot execute returns the fee, so nobody is charged for something that did not happen.
allowance_units of "0" REMOVES the allowance, which stops collection. That is not a revocation of the recurring authorization: only the payer's own transaction to the recurring contract does that, and the two must be described separately to customers.
No gas-service fee is added here. A subscription already pays a fixed network fee on every collection.
post/v1/allowances/restore/submit
Request
- Base URL: https://api.p2flux.com
- URL: https://api.p2flux.com/v1/allowances/restore/submit
- Auth: none required
Request body
Response
Settled or confirming
Changes
No recorded changes to this operation across all 1 revision of this API.