Bank Card Top-up

POST Bank Card Top-up

POST /api/mastercard/masterCardTopup.html

Bank card top-up: Top-up status: 1 - Success, 2 - Failure, 3 - Processing

Request Body

{
  "amount": 100,
  "cardId": "card123456",
  "cardNo": "1234567890",
  "currency": "EUR",
  "orderNo": "ORDER1234567890",
  "payAccountNum": "PAY1234567890",
  "randomStr": "abcdef1234567890"
}

Request Parameters

NameTypeRequiredBase64 EncodingField NameDescription
cardIdstringfalsenoneCard tokenEither cardId or cardNo must be provided
cardNostringfalsenoneCard numberEither cardId or cardNo must be provided
orderNostringtruenoneOrder numberTop-up order number, alphanumeric, unique (between 10 and 32 characters)
payAccountNumanyfalsenonePayment accountIBAN (default not provided)
amountintegertruenoneTop-up amountTop-up amount, e.g., 1 = 0.01EUR, 1 = 0.000001USDT
currencystringtruenoneTop-up currencyFixed value: EUR/USDT Note: Different currencies have different precision for the amount
randomStrstringtruenoneRandomstrA random string of 32 characters

Example Response

200 Response

{
    "topupStatus":1,
    "errMsg":"Success",
    "amount":10000,
    "currency":"EUR",
    "fee":100
}

Response Fields

NameTypeRequiredConstraintsDescription
topupStatusintegertruenoneTop-up status: 1 - Success, 2 - Failure, 3 - Processing
errMsgstringtruenoneStatus description
currencystringtruenoneFixed value: EUR/USDT Note: Different currencies have different precision for the amount
amountintegertruenoneTop-up amount,e.g:1 = 0.01EUR, 1 = 0.000001USDT
feeintegertruenonefee,e.g: 1 = 0.01EUR, 1 = 0.000001USDT