The Firmhouse Logo [FH]
Developer Docs

createInvoicedOneTimeCharge

Immediately charges and invoices the given amount. If initiating the charge succeeds, an invoice is also created. When initiating the charge fails, no invoice is created. It's possible that the payment and invoice status are open or pending until a final succesful payment status is received from your Payment Service Provider. This could take a couple of business days for certain payment methods, like SEPA direct debit.

Arguments

ArgumentDescription
input (CreateInvoicedOneTimeChargeInput!)
Parameters for CreateInvoicedOneTimeCharge

CreateInvoicedOneTimeChargeInput Arguments

ArgumentDescription
subscriptionId (ID!)
ID of the subscription to charge and invoice.
description (String!)
Description to put as single invoice line item.
amountCents (Int!)
Amount in cents to charge and invoice.

Return Fields

invoice (Invoice)
payment (Payment)
paymentErrors ([ModelValidationError!]!)
subscription (Subscription)