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
Argument | Description |
---|---|
input (CreateInvoicedOneTimeChargeInput!) | Parameters for CreateInvoicedOneTimeCharge |
CreateInvoicedOneTimeChargeInput Arguments
Argument | Description |
---|---|
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)
Last updated