payment.getOtvSaid - GiGAGenie-ServiceSDK/UserGuide GitHub Wiki
gigagenie.payment.getOtvSaid
API μ€λͺ
- OTV κ°μ
μ 보 μ‘°ν API
- OTV κ°μ
μμ SAIDλ₯Ό μ‘°νν¨
- κΆνμ΄ μλ appid λ§ μ‘°ν κ°λ₯(μ¬μ
μ ν΄ λ° μ½κ΄ λμ λ±μ΄ νμ)
API ꡬ쑰
- function getOtvSaid(options,callback)
options
result_cd
200
: μ±κ³΅
401
: κΆν μμ
404
: SAID μ‘΄μ¬νμ§ μμ(λ―Έκ°μ
μ)
500
: μμ€ν
Error
extra
said
: (String) OTV SAID κ°
μ¬μ© μμ
// callback λ°©μ
var options = {};
gigagenie.payment.getOtvSaid(options, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
console.log("SAID: " + extra.said);
} else {
console.log("reqPayToken Fail");
}
});