概述
向发卡账户转移资金,创建OP Card额度。
创建额度
- Resquest
cURL -X POST /card-api/v1/load/create
-H 'Content-Type: application/json'
-H 'Authorization: {token}'
-d '{
"accounting_currency": "USD",
"bill_currency": "USD",
"program_value": 01,
"account_id": "1016X10007530070724",
"accounting_amount": 100
}'
| 参数名 | 类型 | 长度 | 是否必填 | 描述 | 示例 |
|---|---|---|---|---|---|
accounting_currency | string | 3 | 是 | 上账币种 | USD |
bill_currency | string | 3 | 是 | 账户可用币种 | USD |
program_value | int | 1-10 | 是 | 账户卡类型 | 2 |
account_id | string | 0-20 | 否 | 商户账户唯一标识号,对指定的account_id进行资金上账
| 1016X10007530070724 |
accounting_amount | string | 1-11 | 是 | 上账金额 | 100 |
- Response
{
"code": "200",
"msg": "操作成功",
"trace_id": "dcfea0cb4b16424aac2bb8f5ab96bb5f",
"data": {
"batch_no": "e01f7c7f-0513-49b2-a953-b42910ccafb6",
"status": "待确认",
"available_currency": "USD",
"accounting_currency": "USD",
"accounting_amount": 100,
"reference_exchange_rate": 1,
"available_balance": 96214.79,
"estimated_deduction_amount": 100,
"estimated_deduction_currency": "USD"
"account_id": "1016X10007530070724"
}
}
| 字段 | 描述 |
|---|---|
batch_no | 创建额度成功后,使用批次号确认、查询或取消额度记录 |
status | 状态 |
accounting_currency | 上账币种 |
accounting_amount | 上账金额 |
reference_exchange_rate | 上账汇率 |
available_balance | 账户可用金额 |
estimated_deduction_amount | 预计扣款金额 |
estimated_deduction_currency | 预计扣款币种 |
account_id | 商户账户唯一标识号 |