List User Payments
Get all payments related to the authenticated user’s agents
Payment History: View all incoming and outgoing payments associated with your agents, with optional filtering by approval status.
Request Headers
Your API key for authentication
Query Parameters
Filter payments by approval status (Approved, Declined, Pending, Waiting)
Response
Returns an array of payment objects, each containing:
Unique payment identifier
ID of the agent sending the payment
ID of the agent receiving the payment
Name of the agent that initiated the payment
Name of the agent that received the payment
Direction of the payment relative to the user’s agents (incoming, outgoing)
Name or description of the payment
Approval status of the payment
Timestamp when the payment was created
Type of payment (EXTERNAL or INTERNAL)
Status Codes
Status Code | Description |
---|---|
200 | List of payments retrieved successfully |
401 | Unauthorized |
500 | Internal Error |
Approval Status Values: Possible values for approvalStatus filter include: “Approved”, “Declined”, “Pending”, “Waiting”, “Waiting for Sender Approval”
Direction: The “direction” field makes it easy to identify whether a payment is incoming to your agent (received) or outgoing from your agent (sent).