/v1/invoices/{invoice}/payStripe automatically creates and then attempts to collect payment on invoices for customers on subscriptions according to your subscriptions settings. However, if you’d like to attempt payment on an invoice out of the normal collection schedule or for some other reason, you can do so.
| Name | Description |
|---|---|
| invoice* |
| Field | Type | Description |
|---|---|---|
| expand | array<string> | Specifies which fields in the response should be expanded. |
| forgive | boolean | In cases where the source used to pay the invoice has insufficient funds, passing |
| mandate | string | string | ID of the mandate to be used for this invoice. It must correspond to the payment method used to pay the invoice, including the payment_method param or the invoice's default_payment_method or default_source, if set. |
| off_session | boolean | Indicates if a customer is on or off-session while an invoice payment is attempted. Defaults to |
| paid_out_of_band | boolean | Boolean representing whether an invoice is paid outside of Stripe. This will result in no charge being made. Defaults to |
| payment_method | string | A PaymentMethod to be charged. The PaymentMethod must be the ID of a PaymentMethod belonging to the customer associated with the invoice being paid. |
| source | string | A payment source to be charged. The source must be the ID of a source belonging to the customer associated with the invoice being paid. |
| Field | Type | Description | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| account_country | string | The country of the business associated with this invoice, most often the business creating the invoice. | ||||||||||||||||||
| account_name | string | The public name of the business associated with this invoice, most often the business creating the invoice. | ||||||||||||||||||
| account_tax_ids | array<string | tax_id | deleted_tax_id> | The account tax IDs associated with the invoice. Only editable when the invoice is a draft. | ||||||||||||||||||
| amount_due* | integer | Final amount due at this time for this invoice. If the invoice's total is smaller than the minimum charge amount, for example, or if there is account credit that can be applied to the invoice, the | ||||||||||||||||||
| amount_overpaid* | integer | Amount that was overpaid on the invoice. The amount overpaid is credited to the customer's credit balance. | ||||||||||||||||||
| amount_paid* | integer | The amount, in cents (or local equivalent), that was paid. | ||||||||||||||||||
| amount_paid_off_stripe* | integer | Amount, in cents (or local equivalent), that was paid on the invoice outside of Stripe. | ||||||||||||||||||
| amount_remaining* | integer | The difference between amount_due and amount_paid, in cents (or local equivalent). | ||||||||||||||||||
| amount_shipping* | integer | This is the sum of all the shipping amounts. | ||||||||||||||||||
| application | string | application | deleted_application | ID of the Connect Application that created the invoice. | ||||||||||||||||||
| attempt_count* | integer | Number of payment attempts made for this invoice, from the perspective of the payment retry schedule. Any payment attempt counts as the first attempt, and subsequently only automatic retries increment the attempt count. In other words, manual payment attempts after the first attempt do not affect the retry schedule. If a failure is returned with a non-retryable return code, the invoice can no longer be retried unless a new payment method is obtained. Retries will continue to be scheduled, and attempt_count will continue to increment, but retries will only be executed if a new payment method is obtained. | ||||||||||||||||||
| attempted* | boolean | Whether an attempt has been made to pay the invoice. An invoice is not attempted until 1 hour after the | ||||||||||||||||||
| auto_advance* | boolean | Controls whether Stripe performs automatic collection of the invoice. If | ||||||||||||||||||
| automatic_tax* | automatic_tax | 5 nested fields
| ||||||||||||||||||
| automatically_finalizes_at | integer (unix-time) | The time when this invoice is currently scheduled to be automatically finalized. The field will be | ||||||||||||||||||
| billing_reason | string | Indicates the reason why the invoice was created.
* | ||||||||||||||||||
| collection_method* | string | Either | ||||||||||||||||||
| confirmation_secret | invoices_resource_confirmation_secret | The confirmation secret associated with this invoice. Currently, this contains the client_secret of the PaymentIntent that Stripe creates during invoice finalization. | ||||||||||||||||||
| created* | integer (unix-time) | Time at which the object was created. Measured in seconds since the Unix epoch. | ||||||||||||||||||
| currency* | string (currency) | Three-letter ISO currency code, in lowercase. Must be a supported currency. | ||||||||||||||||||
| custom_fields | array<invoice_setting_custom_field> | Custom fields displayed on the invoice. array item fields
| ||||||||||||||||||
| customer* | string | customer | deleted_customer | The ID of the customer to bill. | ||||||||||||||||||
| customer_account | string | The ID of the account representing the customer to bill. | ||||||||||||||||||
| customer_address | address | The customer's address. Until the invoice is finalized, this field will equal | ||||||||||||||||||
| customer_email | string | The customer's email. Until the invoice is finalized, this field will equal | ||||||||||||||||||
| customer_name | string | The customer's name. Until the invoice is finalized, this field will equal | ||||||||||||||||||
| customer_phone | string | The customer's phone number. Until the invoice is finalized, this field will equal | ||||||||||||||||||
| customer_shipping | shipping | The customer's shipping information. Until the invoice is finalized, this field will equal | ||||||||||||||||||
| customer_tax_exempt | string | The customer's tax exempt status. Until the invoice is finalized, this field will equal | ||||||||||||||||||
| customer_tax_ids | array<invoices_resource_invoice_tax_id> | The customer's tax IDs. Until the invoice is finalized, this field will contain the same tax IDs as array item fields
|