跳到主要内容

概述

向发卡账户转移资金,创建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,
"account_id": "1016X10007530070724",
"accounting_amount": 100
}'
参数名类型长度是否必填描述示例
accounting_currencystring3上账币种USD
bill_currencystring3账户可用币种USD
program_valueint1-10账户卡类型2
account_idstring0-20商户账户唯一标识号,对指定的account_id进行资金上账
  • 优先级高于program_value
1016X10007530070724
accounting_amountstring1-11上账金额100
{
"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商户账户唯一标识号