Bills API
Billers and the bills that come in, and paying them, alone inside the owner's limits when allowed.
The same operations are in the interactive API reference, and the whole contract is in the OpenAPI document.
GET/v1/billers
Billers
Who sends bills, and whether bills from them are paid alone. Needs miniself:read.
Scope billers:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/billers
Add a biller
Adds a biller. Paying alone is set apart, with its own end date. Needs miniself:write.
Scope billers:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
PUT/v1/billers/{id}
Change a biller
Replaces the biller when expected_version is the version you read. Paying alone is kept as it was. Needs miniself:write.
Scope billers:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
PUT/v1/billers/{id}/autopay
Pay bills alone
Lets bills from this biller go on their own when the amount is at most 120 percent (or the chosen share) of the average of the earlier six months, was not written by the assistant, and the biller is a payee on the book. It always ends on the day given, within a year. Anything else is put to the owner. Needs the right to change settings.
Scope billers:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/bills
Bills
Bills with what paying alone would do with each one that is still due. Needs miniself:read.
Scope bills:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
biller | query | string | No | Only bills from this biller. |
state | query | string | No | Only bills in this state. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/bills
Enter a bill
Takes a bill in. The same biller and month twice is one bill: the same amount changes nothing, another amount replaces a bill still due. Needs miniself:write.
Scope bills:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
GET/v1/bills/{id}
One bill
The bill and what paying alone would do with it. Needs miniself:read.
Scope bills:read. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/bills/{id}/pay
Pay a bill
Hands the payment to the money rails. The payment is held for the owner's tap or passkey unless it may go alone. A biller with no network connected is paid by hand and marked paid. Needs the right to change settings.
Scope bills:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/bills/{id}/skip
Skip a bill
Marks a bill the owner will not pay here. Needs miniself:write.
Scope bills:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |
POST/v1/bills/{id}/paid
Mark a bill paid
The owner paid it another way and says so. Only for a bill still due. Needs miniself:write.
Scope bills:write. Accepts: API key or personal access token. Open in the API reference
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | Yes | The id. |
AirFone-Version | header | string | No | The API version to use, as a date. Defaults to the version the account was pinned to. |