Initiate transaction
Creates a new payment request and returns the gateway redirect URL and the payment transaction status. Idempotent on transactionId — re-issuing an already-PROCESSING / FAILED transaction may reuse the existing gateway link or re-issue depending on each gateway’s shouldReissuePaymentOnFailed policy.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
The business transaction id corresponding to the payment, such as order number,the length is less than or equal to 36 bits
32ISO 4217 standard
Customer unique identifier, which can be phone number/email/UUID, etc. When using Stripe payment, this value must be an email
stripe-connect (Stripe), payer-max-isv(PayerMax)
stripe-connect, payer-max-isv, alipay-page, wechat-pay-native True for instant payment, false for recurring payment
Both successful and failed payments are considered completed. When the payment gateway is Stripe, this field is required and must start with https
When the payment gateway is Stripe, this field is required and must be a URL starting with https
Description of the business transaction
when onlineScenario is true and set supportOfflineScenario to true, it is to support recurring auto payment, i.e. next time with onlineScenario false, payment will be collected successfully.
Response
Stripe, PayerMax can directly navigate to the payment page via this URL
Unique ID generated when initiating payment
Payment timeout duration (in seconds)
Payment status
waiting, processing, succeeded, failed, closed 