Apply Token
ApplyToken
POST
https://mapi.yuansfer.com/auto-debit/v3/apply-token
The apply-token interface is used to recieve an AccessToken or refresh your current AccessToken.
Request Body
merchantNo*
string
Merchant ID
storeNo*
string
Store ID
autoDebitNo*
string
The auto-debit record ID.
grantType*
string
Possible value are 'AUTHORIZATION_CODE', 'REFRESH_TOKEN'.
verifySign*
string
The parameter signature.
Response
Parameter
Type
Description
result
object
The result object.
ret_msg
string
The response return message.
ret_code
string
Result Object
Parameter
Type
Description
accessTokenExpiryTime
string
Expiry time of access token.
autoDebitNo
string
Unique ID of auto debit record in Yuansfer's system.
autoReference
string
Unique ID of auto debit in the merchant's system.
vendor
string
The possible payment channels are "gcash", "kakaopay", "alipay", "alipay_hk", "dana", "truemoney", "tng", "easypaisa", "bkash".
refreshTokenExpiryTime
string
Expiry time of refresh token.
Last updated