Use this API to vault a payment method prior to initiating a payment. From the API response, you can obtain cardToken or one or more of normalUrl, schemeUrl, or applinkUrl. cardToken is used to initiate payments using the pay (One-time Payments) API, while the URLs can be used to redirect the user to complete the vaulting.
- Provider
- Alipay Global Merchant Portal
- Input summary
- {"name":"env","type":"object","required":true,"description":"Information about the environment where the order is placed, such as the device information"}, {"name":"metadata","type":"string","required":false,"description":"This parameter is used for submitting metadata, including information for special use cases. Maximum length: 2048 characters"}, {"name":"redirectUrl","type":"string","required":true,"description":"The merchant page URL that the buyer is redirected to after the vaulting process is completed. Maximum length: 2048 characters"}, {"name":"merchantRegion","type":"string","required":false,"description":"The country or region where the merchant operates the business. The value of this parameter is a 2-letter country or region code based on the ISO 3166 Country Codes..., {"name":"merchantAccountId","type":"string","required":false,"description":"A unique ID to identify a specific merchant account. Maximum length: 64 characters"}, {"name":"vaultingRequestId","type":"string","required":true,"description":"The unique ID that is assigned by a merchant to identify a card vaulting request. Maximum length: 64 characters"}, {"name":"paymentMethodDetail","type":"object","required":true,"description":"The details about the payment method that needs to be vaulted"}, {"name":"vaultingNotificationUrl","type":"string","required":true,"description":"The URL that is used to receive the vaulting result notification. Maximum length: 2048 characters"}
- Output summary
- Not available
- Billing
- 1
- Freshness
- Not available
- Verification
- Not available