PUT
/
Bill
/
approval
/
{idBill}
curl --request PUT \
  --url https://api-sandbox.payabli.com/api/Bill/approval/{idBill} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '[
  "<string>"
]'
{
  "isSuccess": true,
  "responseText": "Success",
  "responseCode": 1,
  "responseData": 6101
}

Authorizations

requestToken
string
header
required

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

Path Parameters

idBill
integer
required

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

Example:

285

Body

List of emails or usernames to approve the bill.

The body is of type string[].

Response

200
application/json
Success
isSuccess
boolean

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

Example:

true

responseText
string | null

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

Example:

"Success"

responseData
integer

The response data.

Was this page helpful?