Inpay
快速启动
概览
薪酬支付一体化
| 供应商 ID | inpay |
| 类别 | 银行转账 |
| 网站 | inpay.com |
认证
- 方法 : 基本 Auth (Base64) (英语).
- 基础 URL:
https://product.inpay.com/api/v2
配置
所需参数
| 参数 | 说明 |
|---|---|
username | 用户名 |
api_key | API 密钥 |
merchant_id | 商贸 ID |
示例配置
{
"provider": "inpay",
"provider_params": {
"username": "your_username_here",
"api_key": "your_api_key_here",
"merchant_id": "your_merchant_id_here"
}
}
状态映射
| 提供者状况 | 4 工资状况 | 说明 |
|---|---|---|
completed | charged | |
pending | charging | |
refunded | refunded | |
failed | rejected |
API 参考文献
| 方法 | 终点 | 说明 |
|---|---|---|
| POST | /checkout/create | |
| GET | /checkout/#{URI.encode(checkout_id)} | |
| POST | /checkout/#{URI.encode(checkout_id)}/refund |