invoices
Record refund for invoice
Records a refund for the invoice. If all payments are refunded, the invoice is marked as REFUNDED. Otherwise, the invoice is marked as PARTIALLY REFUNDED.
post/v2/invoicing/invoices/{invoice_id}/refunds
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 200 Created status code and a reference to the recorded refund.
Changes
No recorded changes to this operation across all 1 revision of this API.