跳到主要内容

概述

向发卡账户转移资金,创建OP Card额度。

创建额度

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,
"accounting_amount": 100
}'
字段描述
accounting_currency上账币种
bill_currency账户可用币种
program_value账户卡类型
accounting_amount上账金额
{
"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"
}
}
字段描述
batch_no创建额度成功后,使用批次号确认查询或取消额度记录
status状态
accounting_currency上账币种
accounting_amount上账金额
reference_exchange_rate上账汇率
available_balance账户可用金额
estimated_deduction_amount预计扣款金额