list_payments
Retrieve a list of payments with pagination or fetch a specific payment by ID. Includes payment statuses: active (1), draft (2), failed (3), refunded (4).
Instructions
List payments or retrieve a specific payment by ID. Payment statuses: ACTIVE=1, DRAFT=2, FAILED=3, REFUNDED=4.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Optional payment ID to retrieve a specific payment | |
| page | No | Page number for pagination | |
| per_page | No | Number of results per page |