Skip to main content
POST
/
api
/
v2.1
/
fincard
/
virtual
/
card
/
deposit
Deposit Card
curl --request POST \
  --url https://sandbox.finhub.cloud/api/v2.1/fincard/virtual/card/deposit \
  --header 'Content-Type: application/json' \
  --header 'X-Forwarded-From: <x-forwarded-from>' \
  --data '
{
  "cardId": "<string>",
  "merchantOrderNo": "<string>",
  "amount": 123,
  "remark": "<string>"
}
'
{
  "success": true,
  "code": 200,
  "msg": "Success",
  "data": {
    "cardId": "card-12345678",
    "operationType": "FREEZE",
    "operationStatus": "COMPLETED",
    "transactionId": "tx-12345678",
    "operationTime": 1640995200000,
    "newCardStatus": "FROZEN",
    "previousCardStatus": "ACTIVE",
    "reason": "Customer request"
  }
}

Headers

User-Agent
string

User agent

X-Forwarded-For
string

Forwarded for

X-Forwarded-From
string
required

Client application identifier

Example:

"client-app"

X-Tenant-ID
string

Tenant ID

deviceId
string

Device ID

platform
string

Platform

Body

application/json

Card deposit request

Card deposit/withdraw request

cardId
string
required

Card ID

merchantOrderNo
string
required

Client transaction reference. length[15...65]

amount
number
required

Amount

remark
string

Remark. length[0...50] (withdraw only)

Response

Successful response

Card operation response

success
boolean

Success flag

Example:

true

code
integer<int32>

Response code

Example:

200

msg
string

Response message

Example:

"Success"

data
object

Operation result