GET
/
Bill
/
approval
/
{idBill}
/
{approved}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

approved
string
required

String representing the approved status. Accepted values: 'true' or 'false'.

idBill
integer
required

Payabli ID for the bill. Get this ID by querying /api/Query/bills/ for the entrypoint or the organization.

Query Parameters

email
string

Email or username of user modifying approval status.

Response

200 - application/json
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

responseData
integer

If isSuccess = true, this contains the bill identifier. If isSuccess = false, this contains the reason for the error.

responseText
string | null

Response text for operation: 'Success' or 'Declined'.