l402-store-token
Save an L402 token pasted from a payment page so later L402 fetch calls are authenticated using the stored credential.
Instructions
Store an L402 token (macaroon:preimage) obtained from a payment page. Use this when a user pastes back a token from a toll-booth payment page. The token is stored as a credential so subsequent l402-fetch calls are authenticated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The service URL this token is for | |
| token | Yes | The L402 token in macaroon:preimage format |