Retrieves a paginated list of payins. Supports filtering by various criteria including payer name, amount range, creation date, rail type, status, and subaccount.
**Success Responses**
| Status Code | Description |
|-------------|-------------|
| 200 | OK - The list of payins was successfully retrieved |
**Error Responses**
| Status Code | Error Code | Description |
|-------------|------------|-------------|
| 400 | VALIDATION_ERROR | The provided query parameters failed validation |
| 400 | INVALID_STATUS_VALUES | One or more invalid status values were provided |
| 401 | AUTHENTICATION_ERROR | Authentication credentials are invalid or missing |
| 403 | AUTHORIZATION_ERROR | You do not have permission to perform this action |
**Example Error Response for Invalid Status**
```http
{
"error_code": "INVALID_STATUS_VALUES",
"message": "Invalid status values: invalid_status, another_invalid",
"details": {
"invalid_statuses": ["invalid_status", "another_invalid"],
"valid_statuses": ["approved", "canceled", "created", "debited", "failed", "initiated", "settled"]
}
}
```
Query parameters
cursorstring or nullOptional
Cursor for pagination. Use the next_cursor from the previous response to get the next page.
limitintegerOptional10-500Defaults to 50
Number of items to return per page. Maximum is 500.
payer_namestring or nullOptional
Filter payins by a case-insensitive substring match on the payer’s name.
amount_gteinteger or nullOptional>=1
Return payins whose amount_in_cents is greater than or equal to this value (in cents).
amount_lteinteger or nullOptional>=1
Return payins whose amount_in_cents is less than or equal to this value (in cents).
created_at_gtedatetime or nullOptional
Return payins created on or after this date (YYYY-MM-DD).
created_at_ltedatetime or nullOptional
Return payins created on or before this date (YYYY-MM-DD).
raillist of enums or nullOptional
Filter by rail (standard_ach, same_day_ach). Can provide multiple rails as separate parameters (e.g., ?rail=standard_ach&rail=same_day_ach).
statuslist of enums or nullOptional
Filter by the payin’s latest status. Can provide multiple statuses as separate parameters (e.g., ?status=created&status=approved). Valid values: created, approved, initiated, debited, settled, failed, canceled.
subaccount_idstring or nullOptionalformat: "uuid"
Filter payins by subaccount ID. Only returns payins associated with the specified subaccount.
Response
List of payins retrieved successfully
total_countinteger or nullOptional>=0Defaults to 0
next_cursorstring or nullOptional
previous_cursorstring or nullOptional