V1 Paymentplans
Payment plan listing (v1)
List payment plans with filtering and pagination.
Additional filter query parameters are available depending on the resource.
Authorizations
AuthorizationstringRequired
Account API key authentication. Pass an API key as a Bearer token in the Authorization header. An account may have multiple named keys; any of them grants full access to all endpoints — equivalent to all OAuth scopes.
Query parameters
pageintegerOptionalExample:
Page number (1-based)
1per_pageintegerOptionalExample:
Items per page (default 50)
50sortstringOptionalExample:
Sort field (prefix with - for descending)
-created_atsearchstringOptional
Full-text search query
Responses
200
Paginated list of resources
application/json
pageintegerRequiredExample:
Current page number
1per_pageintegerRequiredExample:
Items per page
50totalintegerRequiredExample:
Total number of items
250total_pagesintegerRequiredExample:
Total number of pages
5401
Unauthorized
application/json
403
Forbidden / insufficient scope
application/json
500
Internal server error
application/json
get/v1/paymentplans
GET /v1/paymentplans HTTP/1.1
Host: api.spiffy.co
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"data": [],
"page": 1,
"per_page": 50,
"total": 250,
"total_pages": 5
}Last updated