Bill

Approve or disapprove a bill

Approve or disapprove a bill by ID.

get/Bill/approval/{idBill}/{approved}

Request

  • Base URL: https://api-sandbox.payabli.com/api
  • URL: https://api-sandbox.payabli.com/api/Bill/approval/{idBill}/{approved}
  • Auth: HTTP bearer

Path parameters

approvedstring required

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

idBillinteger required

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

Query parameters

emailstring

Email or username of user modifying approval status.

Response

Success

isSuccessboolean

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

responseTextstring required

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

responseDatainteger

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

Changes

No recorded changes to this operation across all 1 revision of this API.