Files
Online-Topup-V1/docs/error_code
T
2022-07-04 13:15:36 +07:00

32 lines
1.3 KiB
Plaintext

# SUCCESS MESSAGE CODE
00 Success Normal
01 Success Without Write to the card
02 Success without reservation pending or in progress status
03 Success with reservation pending or in progress status
# ERROR MESSAGE CODE TOPUP ONLINE SERVICE
400 Bad Request Parameter or Validation Parameter Error
401 Token Required
402 Invalid Token
403 Validation Data Invalid
410 MID or TID is not registered
411 Terminal Login already exists
412 terminal id is not valid
413 card number is not registered
414 reservation doesn't exist
415 amount must be greater than 0
416 your card number has reached the maximum balance
417 your card number has been limit top up for this month
418 topup amount is different
419 load balance doesn't exist
420 your card number has incomplete transaction. Please unload your balance!
421 your card number has some pending transaction. Please finished it!
422 history doesn't exist
423 update/insert failed
500 Error Catch
# ERROR MESSAGE CODE CORE HSM
5001 error catch HSM
5002 failed from HSM
5003 wrong response from card
5004 Empty Data from HSM