v2023-09-01
Search...
/
Partner Portal
Home
Guides
API Explorer
GitHub
Support
Home
Guides
API Explorer
GitHub
Support
API Concepts
Overview
Environments and URLs
Authentication
API versioning
Rate limiting
HTTP headers
Pagination, sorting, and filtering
General
Access tokens
Partner settings
Webhook subscriptions
Webhook deliveries
Events
Common
Entities
Entity bank accounts
Entity persons
Entity VAT IDs
Roles
Entity users
Counterparts
Counterpart addresses
Counterpart bank accounts
Counterpart contacts
Counterpart VAT IDs
Payment records
Projects
Tags
Accounts payable
Approval policies
GET
Get approval policies
POST
Create an approval policy
GET
Get an approval policy by ID
DEL
Delete an approval policy
PATCH
Update an approval policy
GET
Get approval processes created from a policy
GET
Get an approval process by ID
POST
Cancel an approval process
GET
Get the steps of an approval process
Approval requests
Comments
Payable line items
Payables
Purchase orders
Accounts receivable
Measure units
Overdue reminders
Payment reminders
Payment terms
Products
Receivables
Recurrences
VAT rates
Payments
Batch payments
Entity bank account verifications
Entity onboarding data
Onboarding documents
Onboarding links
Onboarding requirements
Payment intents
Payment links
Payment methods
Accounting integration
Accounting connections
Accounting data pull
Accounting synchronized records
Accounting tax rates
Ledger accounts
Utilities
Audit logs
Data export
Data export - extra data
Files
Mail templates
Mailbox domains
Mailboxes
PDF templates
Text templates
Partner Portal
Accounts payable
Approval policies
Cancel an approval process
POST
https://
api.sandbox.monite.com/v1
/
approval_policies
/
:approval_policy_id
/
processes
/
:process_id
/
cancel
Cancel an ongoing approval process for a specific approval policy.
Path parameters
approval_policy_id
string
Required
process_id
string
Required
Headers
Auth
Authorization
string
Required
Bearer authentication of the form Bearer <token>, where token is your auth token.
x-monite-version
string
Required
x-monite-entity-id
string
Required
The ID of the entity that owns the requested resource.
Response
This endpoint returns an object.
id
string
status
enum
Tthe current status of the approval policy process.
Show 6 enum values
input
map from strings to any
The input for the script.
metadata
map from strings to any
The metadata for the process.
created_at
datetime
error
map from strings to any
Optional
The error for the process.
script_snapshot
boolean or double or string or list of any or map from strings to any
Optional
The script snapshot taken when script started.
Show 5 variants
updated_at
datetime
Optional
created_by
string
Optional
updated_by
string
Optional
Errors
401
Unauthorized
404
Not Found
409
Conflict
422
Unprocessable Entity
500
Internal Server Error