Overviewβ
Transfer funds to the card account and create OP Card limits.
Create Limitβ
- 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
}'
| Parameter | Type | Length | Required | Description | Example |
|---|---|---|---|---|---|
accounting_currency | string | 3 | Required | Currency for the credited amount | USD |
bill_currency | string | 3 | Required | Currency available in the account | USD |
program_value | int | 1-10 | Required | Account card type | 2 |
account_id | string | 0-20 | Optional | The unique identifier of the merchant account. Funds will be credited to the specified account_id.
| 1016X10007530070724 |
accounting_amount | string | 1-11 | Required | Amount to be credited | 100 |
- Response
{
"code": "200",
"msg": "Success",
"trace_id": "dcfea0cb4b16424aac2bb8f5ab96bb5f",
"data": {
"batch_no": "e01f7c7f-0513-49b2-a953-b42910ccafb6",
"status": "Pending",
"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"
}
}
| Parameter | Description |
|---|---|
batch_no | Use this batch number to confirm, query, or cancel the limit record after creation |
status | Current status of the limit |
accounting_currency | Currency for the credited amount |
accounting_amount | Amount credited |
reference_exchange_rate | Exchange rate applied for the credited amount |
available_balance | Current available balance in the account |
estimated_deduction_amount | Expected deducted amount |
estimated_deduction_currency | Expected deducted currency |
account_id | The unique identifier of the merchant account |