UPI
快速启动
- 报名 at npci.org.in 并获取 API 凭据
- 创建终端 输入 管理控制台 参数如下:
- 开始处理 ——适配器预建并准备使用.
概览
UPI 付款一体化
| 供应商 ID | upi |
| 类别 | 银行转账 |
| 网站 | npci.org.in |
认证
- 方法 : 基本 Auth (Base64) (英语).
配置
所需参数
| 参数 | 说明 |
|---|---|
psp_id | PSP ID |
merchant_id | 商贸 ID |
merchant_vpa | 商贸 VPA |
api_key | API 密钥 |
api_secret | API 秘密( A) |
base_url | 基础 URL |
示例配置
{
"provider": "upi",
"provider_params": {
"psp_id": "your_psp_id_here",
"merchant_id": "your_merchant_id_here",
"merchant_vpa": "your_merchant_vpa_here",
"api_key": "your_api_key_here",
"api_secret": "your_api_secret_here",
"base_url": "your_base_url_here"
}
}
状态映射
| 提供者状况 | 4 工资状况 | 说明 |
|---|---|---|
success | charged | |
completed | charged | |
deemed | charged | |
SUCCESS | charged | |
COMPLETED | charged | |
DEEMED | charged | |
pending | charging | |
PENDING | charging | |
failed | failed | |
expired | failed | |
FAILED | failed | |
EXPIRED | failed | |
declined | rejected | |
DECLINED | rejected |