Payment Intent

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.

  • 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.

    • Unique identifier for the payment intent session

    • Time at which the object was created. Measured in seconds since the Unix epoch.

    • Amount 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).

    • Three-letter ISO currency code

      Properties: 2
    • Status of this PaymentIntent, one of requires_payment_method, requires_confirmation, requires_action, processing, requires_capture, canceled, or succeeded.

      values
      canceledprocessingrequires_actionrequires_capturerequires_confirmationrequires_payment_methodsucceeded
    • ID of the payment method attached to this PaymentIntent, or the expanded PaymentMethod object when requested with expand=payment_method. This value is null until a payment method is provided.

      • ID of the payment method to use when confirming a Payment Intent or Checkout Session.

    • ID of the customer attached to this PaymentIntent, or the expanded Customer object when requested with expand=customer. This value is null when no customer is attached.

      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.

      • 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.

        • Time at which the object was created. Measured in seconds since the Unix epoch.

        • Has the value true if the object exists in live mode or the value false if the object exists in test mode.

        • The customer's email address.

        • The customer's full name or business name.

        • The customer's phone number.

        • The customer's preferred locales (languages), ordered by preference.

        • The customer's address.

          Properties: 6
        • Customer invoice settings

          Properties: 1
        • Unique identifier for the object.

    • Metadata attached to the Payment Intent. This value is returned when you retrieve the Payment Intent and appears in Payment Intent webhook event payloads.

      Metadata attached to the Payment Intent. This value is returned when you retrieve the Payment Intent and appears in Payment Intent webhook event payloads.

    • Controls when the funds will be captured from the customer's account.

      values
      • automatic

        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.

    • Account ID to which the payment will be credited

    • Text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor.

    • Indicates that you intend to make future payments with the Payment Intent's payment method. Use on_session when future payments will be made while the customer is present in your checkout flow. Use off_session when future payments may happen while the customer is not present, such as subscriptions or saved-card charges. If the Payment Intent has a customer, Paypercut can attach and promote a single-use payment method to that customer after the Payment Intent is confirmed and the customer completes any required authentication. When this value is provided during confirmation, it takes precedence over the value stored on the Payment Intent.

      values
      off_sessionon_session
    • Amount that can be captured from this PaymentIntent.

    • Amount that this PaymentIntent collects.

    • Time at which the object was last updated.

    • Has the value true if the object exists in live mode or the value false if the object exists in test mode.

    • Properties: 3
    • ID of the latest Payment created by this PaymentIntent. This property is null until PaymentIntent confirmation is attempted.

      • ID of the latest Payment created by this PaymentIntent. This property is null until PaymentIntent confirmation is attempted.

    • Reason for canceling this PaymentIntent. Possible values are: duplicate, fraudulent, requested_by_customer, or abandoned

      values
      abandonedduplicatefraudulentrequested_by_customer
    • Time at which the PaymentIntent was canceled.