Approve bill

Approve or disapprove a bill by ID.

Path parameters

approvedstringRequired

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

idBillintegerRequired

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

Headers

requestTokenstringRequired

Query parameters

emailstringOptional
Email or username of user modifying approval status.

Response

Success
isSuccessboolean or null

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

responseDatainteger or null

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

responseTextstring or null

Response text for operation: ‘Success’ or ‘Declined’.

Errors