CreateHppSessionRequest
Same shape as
Create a Payment Intent:
amount, currency, capture_method, and any other payment-intent
field you include are forwarded and validated exactly as documented
there. Only payment_method_types and billing_details are
intercepted by Kort itself before forwarding.
- amountType: integermin:1required
Amount to charge, in the currency's smallest unit (e.g. cents for USD).
- currencyType: stringrequired
Three-letter ISO 4217 currency code.
- applyType: boolean
_surcharge Whether to apply the account's surcharge rate to this payment intent. The final surcharge amount is calculated when the payment is captured or confirmed.
- billingType:
_details Properties: 4Shaped like the
billing_detailsobject in Create a Payment Method. Kort stores it alongside the session so the hosted page can display it and attach it to the card payment method it creates when the customer confirms. - captureType: "automatic" or "manual"enum
_method manualauthorizes only, you capture later via the Paymentautomaticcaptures the charge immediately on confirmation; Intents API. - confirmType: boolean
Set to
trueto attempt to confirm the payment intent immediately. - level3Type:Properties: 6
Level 2/3 card data. Supplying it can qualify B2B, card-not-present transactions for lower interchange rates.
- metadataType: objectProperties: 1
Key-value pairs you can attach to the payment intent for your own structured record-keeping.
- occurrenceType: "consumer_ad_hoc" or "merchant_ad_hoc" or "merchant_recurring"enum
_type Identifies authorization requests that use stored credentials, to improve authorization rates and reduce fraud.
consumer_ad_hoc: ad hoc consumer-initiated request.merchant_ad_hoc: unscheduled merchant-initiated request.merchant_recurring: scheduled, merchant-initiated recurring request. - paymentType: string
_method _id ID of an existing payment method to attach, instead of creating a new one via the hosted page.
- paymentType: array of "card" 1…1enum
_method _types const:cardFixed to
["card"](the only method the hosted page supports today). - platformType: integer
_fee _amount min:0Amount of the platform fee, if any, to apply to the payment. Capped at the total payment amount.
- statementType: string
_descriptor _suffix min length:1max length:20Appended to your account's statement descriptor prefix on the customer's statement. Maximum 20 characters for the concatenated descriptor.
- propertyadditionalPropertyType: anything
Name