Toss Payments
Toss Payments payment window integration guide
Last updated
Toss Payments payment window integration guide
Last updated
Refer to the page to configure the PG settings.
In PC browsers, callback is invoked after calling IMP.request_pay(param, callback)
. In mobile browsers, the page is redirected to m_redirect_url.
pg
*** **string
PG code
If not specified and this is the only PG setting that exists, default PG
is automatically set.
If there are multiple PG settings, set to uplus
.
pay_method
*** **string
Payment method code
merchant_uid
*** **string
Order ID
Must be unique for each request.
amount
*** **integer
Payment amount
Must be an integer (not string).
escrow``
boolean
Ecrow option
Parameters
card_quota :
Enable only specified installment months
[]
: Only immediate pay
2,3,4,5,6
: immediate, 2, 3, 4, 5, 6 month installment plans
If only_installment: true
, only shows specified months in card_quota
.\
To open the payment window, call IMP.request_pay(param, callback).
After successfully getting the billing key, the billing key is stored on the i'mport server mapped 1:1 with the specified customer_uid
. For security reasons, the server cannot directly access the billing key. Subsequent payments can be requested by calling the with the customer_uid
as follows:
To request a one-time payment, use the key-in REST. The card information is not saved during this process.
To request a billing key, use the billing key request REST .
To request a billing key and initial payment, use the key-in REST .
After successfully getting the billing key and making the initial payment, the billing key is stored on the i'mport server mapped 1:1 with the specified customer_uid
. For security reasons, the server cannot directly access the billing key. Subsequent payments can be requested by calling the repeat pay REST API () with the customer_uid
as follows:
code: (string)
card_code: (string)