cURL
curl --request GET \
--url https://us.api.flexprice.io/v1/collections/board/columns/{key} \
--header 'x-api-key: <api-key>'from flexprice import Flexprice
with Flexprice(
api_key_auth="<YOUR_API_KEY_HERE>",
) as f_client:
res = f_client.collections.get_collections_board_column(key="<key>")
# Handle response
print(res)import { Flexprice } from "@flexprice/sdk";
const flexprice = new Flexprice({
apiKeyAuth: "<YOUR_API_KEY_HERE>",
});
async function run() {
const result = await flexprice.collections.getCollectionsBoardColumn({
key: "<key>",
});
console.log(result);
}
run();package main
import(
"context"
flexprice "github.com/flexprice/go-sdk/v2"
"github.com/flexprice/go-sdk/v2/models/dtos"
"log"
)
func main() {
ctx := context.Background()
s := flexprice.New(
flexprice.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Collections.GetCollectionsBoardColumn(ctx, dtos.GetCollectionsBoardColumnRequest{
Key: "<key>",
})
if err != nil {
log.Fatal(err)
}
if res.CollectionsColumnPageResponse != nil {
// handle response
}
}{
"as_of": "<string>",
"cards": [
{
"amount": "<string>",
"currency": "<string>",
"customer_id": "<string>",
"customer_name": "<string>",
"days_overdue": 123,
"due_date": "2023-11-07T05:31:56Z",
"due_in_days": 123,
"invoice_id": "<string>",
"invoice_number": "<string>",
"paid_at": "2023-11-07T05:31:56Z",
"reminder_status": "pending",
"reminder_status_reason": "<string>",
"reminder_tone": "friendly"
}
],
"has_more": true,
"key": "not_due",
"page": 123,
"range": {
"from": "<string>",
"to": "<string>"
}
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}Collections
Get a page of a collections board column
Use when you need the cards of one board column, one page at a time, after the board call. Pages are numbered from 1 and ordered stably (not due by due date, overdue and held by remaining balance, chasing by newest approval first, paid by newest payment first); send the as_of of the board response, and the same from and to, with every page so the overdue boundary, the date range and the 7-day window do not move while you scroll. A row that changes between page requests can repeat or be skipped, so reset pages when the board changes. Page times limit may not exceed 5000.
GET
/
collections
/
board
/
columns
/
{key}
cURL
curl --request GET \
--url https://us.api.flexprice.io/v1/collections/board/columns/{key} \
--header 'x-api-key: <api-key>'from flexprice import Flexprice
with Flexprice(
api_key_auth="<YOUR_API_KEY_HERE>",
) as f_client:
res = f_client.collections.get_collections_board_column(key="<key>")
# Handle response
print(res)import { Flexprice } from "@flexprice/sdk";
const flexprice = new Flexprice({
apiKeyAuth: "<YOUR_API_KEY_HERE>",
});
async function run() {
const result = await flexprice.collections.getCollectionsBoardColumn({
key: "<key>",
});
console.log(result);
}
run();package main
import(
"context"
flexprice "github.com/flexprice/go-sdk/v2"
"github.com/flexprice/go-sdk/v2/models/dtos"
"log"
)
func main() {
ctx := context.Background()
s := flexprice.New(
flexprice.WithSecurity("<YOUR_API_KEY_HERE>"),
)
res, err := s.Collections.GetCollectionsBoardColumn(ctx, dtos.GetCollectionsBoardColumnRequest{
Key: "<key>",
})
if err != nil {
log.Fatal(err)
}
if res.CollectionsColumnPageResponse != nil {
// handle response
}
}{
"as_of": "<string>",
"cards": [
{
"amount": "<string>",
"currency": "<string>",
"customer_id": "<string>",
"customer_name": "<string>",
"days_overdue": 123,
"due_date": "2023-11-07T05:31:56Z",
"due_in_days": 123,
"invoice_id": "<string>",
"invoice_number": "<string>",
"paid_at": "2023-11-07T05:31:56Z",
"reminder_status": "pending",
"reminder_status_reason": "<string>",
"reminder_tone": "friendly"
}
],
"has_more": true,
"key": "not_due",
"page": 123,
"range": {
"from": "<string>",
"to": "<string>"
}
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}{
"code": "http_client_error",
"http_status_code": 123,
"message": "<string>"
}
