Skip to main content

PayInvoicePayload

The result of paying an invoice via a stored card.

type PayInvoicePayload {
data: Invoice
paymentId: ID
paymentChargeId: String
error: String
}

Fields

PayInvoicePayload.data ● Invoice object

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

PayInvoicePayload.paymentId ● ID scalar

The id of the payment recorded on the invoice (Invoice.payments[].id). Pass this to refundPayment.

PayInvoicePayload.paymentChargeId ● String scalar

The Stripe charge id, for reconciliation.

PayInvoicePayload.error ● String scalar

Returned By

payInvoice mutation