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