manualPaymentsUndo
Undo a manual payment, unapplying it from invoices and destroying the payment record. The manualPaymentsUndo mutation in Bunny's GraphQL API, with its input attributes, return type and an example request.
Scope required: billing:write
mutation manualPaymentsUndo ($paymentId: ID!) {
manualPaymentsUndo (paymentId: $paymentId) {
errors
}
}
ArgumentsLink to Arguments section
{
"paymentId": "456123"
}
| Name | Type | Description |
|---|---|---|
| paymentId | ID |
ResponseLink to Response section
| Name | Type | Description |
|---|---|---|
| errors | List (String) |