slice Business API
印度 商户银行
slice Business 商户银行(印度)—— OTP 登录、资料与余额、收款/存折流水、收款人管理,以及两步式银行转账。
概览
基础 URL: https://api.openbankinggateway.com — 所有响应均采用统一的 {code, data} 结构。
会话流程: 完成登录端点即可获得网关 token,随后在每个需要鉴权的端点以 token= 传入。
透明性: 每个响应(无论成功或失败)都在 data.upstream 下附带原始的上游金融科技 JSON。
在下方任意端点填入参数并点击 Send request 即可调用在线网关,或复制 curl 示例在终端中运行。
Auth
POST
/api/slice/login/startStart OTP login
| Parameter | In | Value |
|---|---|---|
phone* | query | |
pin* | query |
curl -X POST 'https://api.openbankinggateway.com/api/slice/login/start?phone=9000000000&pin=0000'
POST
/api/slice/login/confirmConfirm OTP and issue a session token
| Parameter | In | Value |
|---|---|---|
phone* | query | |
otp* | query |
curl -X POST 'https://api.openbankinggateway.com/api/slice/login/confirm?phone=9000000000&otp=123456'
Account
GET
/api/slice/profileMerchant profile (token required)
| Parameter | In | Value |
|---|---|---|
token* | query |
curl -X GET 'https://api.openbankinggateway.com/api/slice/profile?token=<token>'
GET
/api/slice/account-screenBalance and bank account summary (token required)
| Parameter | In | Value |
|---|---|---|
token* | query |
curl -X GET 'https://api.openbankinggateway.com/api/slice/account-screen?token=<token>'
GET
/api/slice/transactionsRecent QR/UPI collections (token required)
| Parameter | In | Value |
|---|---|---|
token* | query | |
pageNumber | query | |
pageSize | query |
curl -X GET 'https://api.openbankinggateway.com/api/slice/transactions?token=<token>&pageNumber=0&pageSize=10'
GET
/api/slice/passbookBank passbook ledger, CREDIT/DEBIT (token required)
| Parameter | In | Value |
|---|---|---|
token* | query | |
pageNumber | query | |
pageSize | query |
curl -X GET 'https://api.openbankinggateway.com/api/slice/passbook?token=<token>&pageNumber=0&pageSize=10'
Transfer
GET
/api/slice/beneficiary/manageList saved beneficiaries (token required)
| Parameter | In | Value |
|---|---|---|
token* | query |
curl -X GET 'https://api.openbankinggateway.com/api/slice/beneficiary/manage?token=<token>'
POST
/api/slice/sendMoney/preparePrepare bank transfer (sends confirmation OTP)
| Parameter | In | Value |
|---|---|---|
token* | query | |
beneficiaryId* | query | |
amount* | query | |
notes | query |
curl -X POST 'https://api.openbankinggateway.com/api/slice/sendMoney/prepare?token=<token>&beneficiaryId=<beneficiaryId>&amount=100.00'
POST
/api/slice/sendMoney/confirmConfirm bank transfer with OTP
| Parameter | In | Value |
|---|---|---|
token* | query | |
otp* | query |
curl -X POST 'https://api.openbankinggateway.com/api/slice/sendMoney/confirm?token=<token>&otp=<otp>'