gln revolut payment-drafts list
List Revolut payment drafts for the active profile.
Synopsis
gln [global-options] revolut payment-drafts list
Options
No command-specific options.
Description
Opens the active Revolut profile and calls the public Revolut payment-draft C API. The result contains provider draft ids, optional schedule/title fields, and the provider-reported payment count.
JSON output does not include OAuth tokens, client assertions, private keys, or raw provider secrets.
Requirements
- Profile: required
- Backend prerequisites: Revolut profile with stored OAuth token and approved Revolut plugin
Status and exit codes
| Status | Exit | Meaning |
|---|---|---|
ok | 0 | Payment drafts were listed. |
error | 1 | Local validation, profile, token, plugin, or transport failure. |
rejected | 1 | Provider rejected the request; provider status details are in issues. |
Result keys: drafts
Examples
gln --profile rev revolut payment-drafts list