Endpoints꞉ Accounts - Fastway-Couriers-South-Africa/myFastway.ApiClient GitHub Wiki
Endpoints
Endpoint |
Verb |
Paging |
Description |
/api/accounts/available |
GET |
Y |
returns all available transactions |
/api/accounts/available/{Id} |
GET |
|
returns a transaction for a given Id |
/api/accounts/available/balance |
GET |
|
returns the available balance |
/api/accounts/pending |
GET |
Y |
returns all pending transactions |
/api/accounts/pending/{Id} |
GET |
|
returns a transaction for a given Id |
/api/accounts/pending/balance |
GET |
|
returns the pending balance |
Objects
Account Response
{
"data": [
{
"accountId": 0,
"conId": 0,
"label": "",
"transDate": "2018-01-01T07:00:00.0000",
"debit": 0.000000,
"credit": null,
"tax": 0.000000,
"balance": 0.000000,
"description": "",
"reference": ""
}]
}
Available Balance Response
{
"data": {
"available": 0.000000
}
}
Pending Balance Response
{
"data": {
"pending": 0.000000
}
}