PaymentIntentData

Create-time PaymentIntent options accepted when creating a Checkout Session.

  • amount
    Type: integerFormat: int64

    Amount intended to be collected by this PaymentIntent.

  • capture_method
    Type: stringenum

    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.

  • customer
    Type: string · Customer ID
    max length:  
    100
  • on_behalf_of
    Type: string

    Account ID to which the payment will be credited.

  • payment_method
    Type: string

    ID of the payment method to attach to this PaymentIntent.

  • setup_future_usage
    Type: string | nullenum

    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_usage to help you comply with regional legislation and network rules, such as SCA.

    values
    • off_session
    • on_session
  • statement_descriptor
    Type: string | null
    max length:  
    100

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