Optional
configuration: ConfigurationCancels an existing Payment Intent. A Payment Intent can be canceled when it is in one of these statuses: requires_payment_method
, requires_capture
, requires_confirmation
, or requires_action
. Once canceled, no additional charges will be made by the Payment Intent, and any operations on the Payment Intent will fail with an error.
Cancel a Payment Intent
The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.
Optional
options: RawAxiosRequestConfig<any> = {}Override http request option.
Captures a Payment Intent. Payment Intents can only be captured if their status is requires_capture
. Uncaptured Payment Intents will be canceled exactly 7 days after creation.
Capture a Payment Intent
The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.
Optional
options: RawAxiosRequestConfig<any> = {}Override http request option.
Confirms a Payment Intent. Confirming indicates that the customer intends to pay with the provided payment method.
Confirm a Payment Intent
The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.
Optional
options: RawAxiosRequestConfig<any> = {}Override http request option.
Creates a Payment Intent.
Create a Payment Intent
The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.
Optional
options: RawAxiosRequestConfig<any> = {}Override http request option.
Retrieves the details of an existing Payment Intent.
Get a Payment Intent
The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.
Optional
options: RawAxiosRequestConfig<any> = {}Override http request option.
Returns a list of Payment Intents. The Payment Intents are sorted with the most recently created appearing first.
List all Payment Intents
The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.
Optional
metadata: { `metadata` key-value pairs to filter by. Only exact matches on the key-value pair(s) will be returned. Example: `?metadata[internal_customer_id]=7cb1159d-875e-47ae-a309-319fa7ff395b`.
Optional
created_at_gte: stringMinimum `created_at` value to filter by (inclusive).
Optional
created_at_lte: stringMaximum `created_at` value to filter by (inclusive).
Optional
status: ListPaymentIntentsStatus[]Only return PaymentIntents whose status is included by this array. Examples: `/v1/payment-intents?status=succeeded,requires_payment_method` and `/v1/payment-intents?status=succeeded&status=requires_payment_method`.
Optional
include_connected_accounts: booleanWhether or not to include the results from any connected accounts.
Optional
subscription_id: stringThe ID of the subscription whose payment intents will be retrieved.
Optional
q: stringSupports searching by `payment_intent.id`, `payment_intent.amount`, `payment_method.billing_details.name`, `payment_method.id`, `payment_method.details.last4`, `payment_method.details.last2`, `customer.first_name`, `customer.last_name`
Optional
customer_id: stringThe ID of the customer whose payment intents will be retrieved.
Optional
terminal_reader_id: stringThe ID of the terminal reader for which payment intents will be retrieved.
Optional
offset: numberThe (zero-based) offset of the first item in the collection to return.
Optional
limit: numberThe maximum number of entries to return. If the value exceeds the maximum, then the maximum value will be used.
Optional
options: RawAxiosRequestConfig<any> = {}Override http request option.
Updates a Payment Intent by setting the values of the provided parameters. Any parameters not provided will be left unchanged. Depending on which properties are updated, you may need to Confirm the Payment Intent again.
Update a Payment Intent
The id of the Tilled Account (usually starting with the prefix `acct_`) that the request is performed on behalf of.
Optional
options: RawAxiosRequestConfig<any> = {}Override http request option.
Generated using TypeDoc
PaymentIntentsApi - axios parameter creator
Export