invoices
Cancel sent invoice
Cancels a sent invoice, by ID, and, optionally, sends a notification about the cancellation to the payer, merchant, and CC: emails.
post/v2/invoicing/invoices/{invoice_id}/cancel
Request
- Base URLhttps://api-m.paypal.com
- AuthOAuth 2Client credentialsToken URL/v1/oauth2/tokenScopeshttps://uri.paypal.com/services/invoicing/invoices/readwrite
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
invoice_idstring required
The ID of the draft invoice to delete.
Request body
Response
A successful request returns the HTTP 204 No Content status code with no JSON response body.
Changes
No recorded changes to this operation across all 1 revision of this API.