PaymentIntent
- Type: object · PaymentIntent
A PaymentIntent guides you through the process of collecting a payment from your customer. We recommend that you create exactly one PaymentIntent for each order or customer session in your system. You can reference the PaymentIntent later to see the history of payment attempts for a particular session. A PaymentIntent transitions through multiple statuses throughout its lifetime to perform authentication flows and ultimately creates at most one successful payment.
- Type: integer · amountWithCurrencyPrecisionFormat: int64
amount requiredAmount intended to be collected by this PaymentIntent. A positive integer representing how much to charge in the smallest currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum amount is $0.50 US or equivalent in charge currency. The amount value supports up to eight digits (e.g., a value of 99999999 for a USD charge of $999,999.99).
- Type: stringFormat: date-time
created requiredTime at which the object was created. Measured in seconds since the Unix epoch.
- Type: object · Currency
currency requiredThree-letter ISO currency code
- Type: string
id requiredUnique identifier for the payment intent session
- Type: boolean
livemode requiredHas the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. - Type: stringenum
status requiredStatus of this PaymentIntent, one of
requires_payment_method,requires_confirmation,requires_action,processing,requires_capture,canceled, orsucceeded.valuescanceled processing requires _action requires _capture requires _confirmation requires _payment _method succeeded
- Type: integer · amountWithCurrencyPrecisionFormat: int64
amount _capturable Amount that can be captured from this PaymentIntent.
- Type: integer · amountWithCurrencyPrecisionFormat: int64
amount _received Amount that this PaymentIntent collects.
- Type: stringFormat: date-time
canceled _at Time at which the PaymentIntent was canceled.
- Type: string | null · PaymentIntentCancellationReasonenum
cancellation _reason Reason for canceling this PaymentIntent. Possible values are:
duplicate,fraudulent,requested_by_customer, orabandonedvaluesabandoned duplicate fraudulent requested _by _customer
- Type: stringenum
capture _method Controls when the funds will be captured from the customer's account.
valuesautomatic Paypercut automatically captures funds when the customer authorizes the payment.
manual Place a hold on the funds when the customer authorizes the payment, but don't capture the funds until later.
customer This object represents a customer of your business. Use it to create recurring charges, save payment and contact information, and track payments that belong to the same customer.
- Type: stringFormat: date-time
created requiredTime at which the object was created. Measured in seconds since the Unix epoch.
- Type: string
id max length:100requiredUnique identifier for the object.
- Type: boolean
livemode requiredHas the value
trueif the object exists in live mode or the valuefalseif the object exists in test mode. address The customer's address.
- Type: string | null
email max length:1000The customer's email address.
invoice _settings Customer invoice settings
- Type: string | null
name max length:5000The customer's full name or business name.
- Type: array object[] · PaymentMethod[]
payment _methods List of payment methods attached to the customer.
PaymentMethod objects represent your customer's payment instruments. You can use them with PaymentIntents to collect payments or save them to Customer objects to store instrument details for future payments.
- Type: string | null
phone max length:5000The customer's phone number.
- Type: array string[] | null
preferred _locales The customer's preferred locales (languages), ordered by preference.
latest _payment - Type: string · PaymentIdmax length:100
ID of the latest Payment created by this PaymentIntent. This property is
nulluntil PaymentIntent confirmation is attempted.
- Type: object · PaymentIntentNextAction
next _action - Type: string
on _behalf _of Account ID to which the payment will be credited
payment _method - Type: string · PaymentMethodId
ID of the payment method to attach to this PaymentIntent.
- Type: string | nullenum
setup _future _usage Indicates that you intend to make future payments with this PaymentIntent's payment method. If you provide a Customer with the PaymentIntent, you can use this parameter to attach the payment method to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still attach the payment method to a Customer after the transaction completes. When processing card payments, Paypercut uses
setup_future_usageto help you comply with regional legislation and network rules, such as SCA.valuesoff _session on _session
- Type: string | null
statement _descriptor max length:100Text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor.

