Pay the existing letter with a shared payment token. An empty body reconciles a pending payment or requests an MPP challenge; use Payment-Authorization for its credential.
post/v1/letters/{id}/checkout
Request
- Base URL: https://paperagent.dev
- URL: https://paperagent.dev/v1/letters/{id}/checkout
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://paperagent.dev/oauth/authorize, token URL https://paperagent.dev/oauth/token, scopes: letters:write)
- API key in header X-Api-Key
- HTTP bearer
Path parameters
idstring required
Headers
Payment-Authorizationstring
MPP Payment credential containing the approved shared payment token. Preserve your OAuth/API-key authentication.
Request body
Response
The existing order is paid, including an idempotent replay.
Changes
No recorded changes to this operation across all 1 revision of this API.