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

isSuccessbooleanOptional

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

responseDataintegerOptional

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

responseTextstringOptional

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

Errors