Skip to main content

PayInvoiceWithPayload

The result of paying an invoice from existing account credit.

type PayInvoiceWithPayload {
data: Invoice
paymentIds: [ID!]
error: String
}

Fields​

PayInvoiceWithPayload.data ● Invoice object​

The updated invoice. outstanding may remain if only a partial amount was paid.

PayInvoiceWithPayload.paymentIds ● [ID!] list scalar​

Ids of the payments recorded on the invoice for this operation (one per payment-on-account draw).

PayInvoiceWithPayload.error ● String scalar​

Returned By​

payInvoiceWith mutation