Onerway
POST

Deposit card

Use this endpoint to deposit funds to a card.

Request

ApiKey
Issuing API key request header assigned by Onerway.
Example:
clientRequestId
Idempotent request ID for this deposit operation.
Example:
cardId
Card ID to deposit funds to.
Example:
amount
Deposit amount.
Example:
Constraints
Rule
Must be greater than 0 and support up to 2 decimal places.

Request example

curl -X POST 'https://sandbox-api.onerway.com/api/v1/merchant/card/deposit' \
  -H 'ApiKey: replace_with_issuing_api_key' \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "amount": 50,
  "cardId": 100001,
  "clientRequestId": "REQ_20260101_003"
}'

Response

respCode
Business response code. 20000 means success.
respMsg
Response message.
Deposit operation result.

Response example

{
  "respCode": "20000",
  "respMsg": "success",
  "data": {
    "operateRecordId": 200002
  }
}
No error responses are documented for this endpoint.