-
Notifications
You must be signed in to change notification settings - Fork 6
payment.otvCheckUser
ServiceSDK edited this page Jan 13, 2021
·
3 revisions
- OTV 결제 사용자 확인 API
- OTV 결제를 위한 사용자 인증 및 상태체크를 요청함
- 결제 이용 가능 사용자가 아닌 경우 가입을 제안함
- function otvCheckUser(options,callback)
-
options
-
homeShoppingCode
: (String, Mandatory) 제휴사 코드 -
payOption
: (Number, Mandatory) 인증 방법으로 다음 두 가지를 지원함-
1
: 리모콘 -
2
: 음성
-
-
-
result_cd
-
200
: 성공 -
410
: 요청 중 신규 요청으로 중지됨 -
500
: 시스템 Error
-
-
extra
-
authResult
: (String) 인증 결과
-
// callback 방식
var options = {};
options.homeShoppingCode = "1111111111";
options.payOption = 2;
gigagenie.payment.otvCheckUser(options, function (result_cd, result_msg, extra) {
if (result_cd === 200) {
if (extra.authResult == "Success") {
console.log("User Can Pay..");
}
} else {
console.log("setAudioRecog Fail");
}
});
Copyright ⓒ 2017-2023 kt corp. All rights reserved.
- 개요
- 일반사항
- 참고사항
- 통합개발환경
- Appendix
- 기가지니 웹앱 로그 관리 가이드
- API 전체 보기
-
API초기화
- gigagenie.init
- gigagenie.init.changeContainerId
- gigagenie.init.onAppStatusChange
gigagenie.init.startBgActiongigagenie.init.stopBgActiongigagenie.init.checkBgActiongigagenie.init.startFgActiongigagenie.init.stopFgActiongigagenie.init.checkFgActiongigagenie.init.fgCallgigagenie.init.onFgCallgigagenie.init.bgCallgigagenie.init.onBgCall- gigagenie.init.runApp
-
Voice API
- voice.getVoiceText
- voice.sendTTS
- voice.onVoiceCommand
- voice.setKwsVoiceRecv
- voice.onSelectedIndex
- voice.onRequestClose
- voice.svcFinished
- voice.onActionEvent
- voice.stopTTS
- voice.setVoiceFilter
- voice.resetVoiceFilter
- voice.onVoiceFilterMsg
- voice.onRegToneResults
- voice.setVoiceRecogDomain
- voice.onVocDomainTimeout
- Call API
- 데이터 관리
- G-Box 정보 관리 API
-
Media API
- media.onMuteRequest
- media.showSoftKeyboard
- media.onRemoteKeyEvent
- media.startRecordAudio
- media.onVoiceRecordComplete
- media.stopRecordAudio
- media.createChannel
- media.destroyChannel
- media.startWebRTCAudio
- media.stopWebRTCAudio
- media.keepaliveChannel
- media.onChannelEvent
- media.getOTVChannel
- media.setOTVChannel
- media.sendMsgToOTVWebApp
- media.onOTVWebAppMsg
- media.onSoftKeyEvent
- Payment API
- Vision API
- 통계 API
- Admin API