Payment Schedule
Get payment schedule information for energy accounts from the Fiskil API.
AI Actions
The Payment Schedule endpoint provides information about payment arrangements and scheduled payments for energy accounts.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/payment-schedule | Get payment schedules for an end user |
The Payment Schedule Model
| Attribute | Type | Description |
|---|---|---|
id | string | Unique schedule identifier |
account_id | string | Associated energy account ID |
type | string | Payment type (DIRECT_DEBIT, BILL_SMOOTHING, MANUAL) |
frequency | string | Payment frequency |
amount | number | Payment amount (for fixed payments) |
next_payment_date | string | Next scheduled payment date |
payment_method | string | Payment method |
Example Response
{
"id": "ps_123",
"account_id": "energy_acc_123",
"type": "DIRECT_DEBIT",
"frequency": "MONTHLY",
"amount": null,
"next_payment_date": "2023-02-15",
"payment_method": "BANK_ACCOUNT"
}Get Payment Schedules
Retrieve payment schedule information for an end user's energy accounts.
GET https://api.fiskil.com/v1/payment-scheduleQuery Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end_user_id | string | Yes | The ID of the end user |
account_id | string | No | Filter by specific account ID |
page[size] | integer | No | Number of results (max 1000) |
page[after] | string | No | Cursor for pagination |
Example Request
curl --request GET \
--url 'https://api.fiskil.com/v1/payment-schedule?end_user_id=482c0e2b-5866-46b1-b795-220b7bba45b5' \
--header 'Authorization: Bearer {access_token}' \
--header 'accept: application/json; charset=UTF-8'const response = await fetch(
'https://api.fiskil.com/v1/payment-schedule?end_user_id=482c0e2b-5866-46b1-b795-220b7bba45b5',
{
method: 'GET',
headers: {
'Authorization': 'Bearer {access_token}',
'accept': 'application/json; charset=UTF-8'
}
}
);
const schedules = await response.json();import requests
response = requests.get(
'https://api.fiskil.com/v1/payment-schedule',
params={'end_user_id': '482c0e2b-5866-46b1-b795-220b7bba45b5'},
headers={
'Authorization': 'Bearer {access_token}',
'accept': 'application/json; charset=UTF-8'
}
)
schedules = response.json()Example Response
{
"data": [
{
"id": "ps_123",
"account_id": "energy_acc_123",
"type": "DIRECT_DEBIT",
"frequency": "MONTHLY",
"amount": null,
"next_payment_date": "2023-02-15",
"payment_method": "BANK_ACCOUNT"
},
{
"id": "ps_456",
"account_id": "energy_acc_456",
"type": "BILL_SMOOTHING",
"frequency": "FORTNIGHTLY",
"amount": 85.00,
"next_payment_date": "2023-01-27",
"payment_method": "CREDIT_CARD"
}
]
}Payment Types
| Type | Description |
|---|---|
DIRECT_DEBIT | Automatic payment of bill amount |
BILL_SMOOTHING | Fixed regular payments to smooth bills |
MANUAL | Customer pays manually when bill issued |
PAYMENT_PLAN | Structured payment plan (e.g., for arrears) |
Payment Methods
| Method | Description |
|---|---|
BANK_ACCOUNT | Direct debit from bank account |
CREDIT_CARD | Credit card payment |
BPAY | BPAY payment |
Related Endpoints
- Energy Accounts - Get account details
- Billing - Get billing history
- Invoices - Get invoice details
Was this page helpful?