paymentUnapplyFromInvoices
Graphql fields and variables for the paymentUnapplyFromInvoices mutation
Remove a payment from an invoice
Scope required: billing:write
mutation paymentUnapplyFromInvoices ($paymentId: ID!, $invoiceIds: !) {
paymentUnapplyFromInvoices (paymentId: $paymentId, invoiceIds: $invoiceIds) {
errors
invoices
payment {
accountId
amount
amountUnapplied
baseCurrencyCash
baseCurrencyId
completedAt
createdAt
currencyId
description
errorCode
errorMessage
id
isLegacy
memo
receivedAt
remoteTransactionId
updatedAt
}
}
}
Arguments
{
"paymentId": "456123",
"invoiceIds": [
"456123"
]
}
Name
Type
Description
paymentId
ID
invoiceIds
List (ID)
Response
Last updated
Was this helpful?