YoboPay
  1. Data Object
YoboPay
  • 接入说明
  • Introduction
  • Webhook接入
  • Webhook Introduction
  • Test Card
  • Embedded Checkout
  • Checkout
    • Create Session
      POST
    • Expire Session
      POST
    • Retrieve Session
      GET
  • PaymentIntents
    • Retrieve PaymentIntent
      GET
    • List all paymentIntent
      GET
  • Charges
    • List all charges
      GET
  • Customers
    • Create Customer
      POST
    • Update Customer
      POST
    • Retrieve Customer
      GET
  • Events
    • The Event object
    • Types of Events
    • Data Object
      • PaymentIntent
      • Charge
  • Refunds
    • Create Refund
      POST
    • List all refunds
      GET
  1. Data Object

PaymentIntent

Schema
Example
PaymentIntent
paymentIntentId
string 
required
Unique identifier for the payment intent object.
clientReferenceId
string 
自定义id
required
A client unique string
currency
string 
币种
required
Three-letter ISO currency code, in upcase.
amount
number 
金额
required
Payment amount
type
enum<string> 
支付类型
required
Payment type, The default value is card
Allowed values:
cardpaypalstripe
paymentMethodId
string 
支付方式id
optional
Payment method id
paymentMethodOptions
object 
支付方式特殊配置
optional
Payment-method-specific configuration.
card
object 
卡支付方式
optional
contains details about the Card payment method options.
customerId
string 
optional
The ID of the customer for this Session
created
integer 
创建时间
required
Timestamp at which the object was created.
confirmAt
integer 
完成时间
optional
Timestamp at which the payment was completed.
canceledAt
integer 
取消时间
optional
Timestamp at which the payment was canceled
status
enum<string> 
状态
required
Allowed values:
requires_payment_methodrequires_actionsucceededcanceled
amountRefunded
number 
已退款金额
required
Amount refunded
Modified at 2025-04-08 07:31:29
Previous
Types of Events
Next
Charge
Built with