create_payment_session
Creates a payment session to complete payments without intermediate page redirections.
Instructions
The tool is used to create a payment session which helps you complete the payment process and eliminate intermediate page redirections throughout the entire payment process.
Args:
payment_request_id: The unique ID assigned by a merchant to identify a payment request. Maximum length: 64 characters
order_amount_currency: The transaction currency that is specified in the contract. A 3-letter currency code that follows the ISO 4217 standard.Maximum length: 3 characters
order_amount_value: The amount to charge as a positive integer in the smallest currency unit. (That is, 100 cents to charge $1.00, or 100 to charge JPY 100, a 0-decimal currency).Value range: 1 - unlimited
order_description: Summary description of the order, which is used for user consumption records display or other further actions.Maximum length: 256 characters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payment_request_id | Yes | ||
| order_amount_currency | Yes | ||
| order_amount_value | Yes | ||
| order_description | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |