Skip to main content

API reference

The tables below list every method available in the SDK, grouped by feature.

Call syntax
  • Node.js: client.group.method(body)
  • Java: client.group.method(dto)
  • C#: await client.Group.MethodAsync(dto)
  • PHP: $client->group->method(...params)

Input and output parameters are exactly the same as in the API docs — the SDK only handles authentication (signature, timestamp, headers) for you.


bank — Virtual accounts & QR codes​

SDK MethodAPI EndpointDocs
generateVietQr(body)POST /v1/bank/generate-viet-qrGenerate static VietQR
generateDynamicQr(body)POST /v1/bank/generate-dynamic-qrGenerate dynamic QR
deleteDynamicQr(body)POST /v1/bank/delete-dynamic-qrDelete dynamic QR
getStatusDynamicQr(body)POST /v1/bank/get-status-dynamic-qrDynamic QR status
getBanks()GET /v1/bank/get-banksList of banks
getVaPaging(body)POST /v1/bank/get-va-pagingList of VAs
createVa(body)POST /v1/bank/create-vaCreate VA
confirmVa(body)POST /v1/bank/confirm-vaConfirm VA
deleteVa(query)POST /v1/bank/delete-vaDelete VA
confirmDeleteVa(body)POST /v1/bank/confirm-delete-vaConfirm VA deletion
registerNotify(body)POST /v1/bank/register-notifyRegister for balance notifications
confirmRegisterNotify(body)POST /v1/bank/confirm-register-notifyConfirm notification registration

merchant — Merchant management​

SDK MethodAPI EndpointDocs
create(body)POST /v1/merchant/createCreate Merchant
getPaging(body)POST /v1/merchant/get-pagingList of Merchants
delete(query)DELETE /v1/merchant/deleteDelete Merchant
getPagingConfig(body)POST /v1/merchant/get-paging-configList configurations
createOrUpdateConfig(body)POST /v1/merchant/create-or-update-configCreate / Update configuration
deleteConfig(body)POST /v1/merchant/delete-configDelete configuration
configAccountBusiness(body)POST /v1/merchant/config-account-businessConfigure business account
deleteConfigAccountBusiness(body)POST /v1/merchant/delete-config-account-businessDelete business account configuration

shop — Shop management​

SDK MethodAPI EndpointDocs
createOrUpdate(body)POST /v1/shop/create-or-updateCreate/Update Shop
getPaging(body)POST /v1/shop/get-pagingList of Shops

device — TingeeBox devices​

SDK MethodAPI EndpointDocs
readSecurityCode(body)POST /v1/device/read-security-codeRead out security code
showQrCode(body)POST /v1/device/show-qr-codeShow QR (TingeeBox 3LS)
showDynamicQrCode(body)POST /v1/device/show-dynamic-qr-codeShow QR Code (dynamic QR)
showStaticQrCode(body)POST /v1/device/show-static-qr-codeShow QR Code (static QR)
generateAndShowDynamicQrCode(body)POST /v1/device/generate-and-show-dynamic-qr-codeGenerate & show dynamic QR
addDeviceToShop(body)POST /v1/device/add-device-to-shopAdd device to shop
updateShopDeviceLinkStatus(body)POST /v1/device/update-shop-device-link-statusUpdate status
getPaging(body)POST /v1/device/get-pagingList of devices
getDevicesLinkToShopOrVa(body)POST /v1/device/get-devices-link-to-shop-or-vaDevices by Shop/VA
readAmountLinkToMerchant(body)POST /v1/device/read-amount-link-to-merchantRead amount
reset(query)DELETE /v1/device/resetReset device

SDK MethodAPI EndpointDocs
generate(body)POST /v1/deep-link/generateGenerate Deep Link

directDebit — Direct Debit (automatic debit)​

SDK MethodAPI EndpointDocs
register(body)POST /v1/direct-debit/registerRegister link
paymentBill(body)POST /v1/direct-debit/payment-billDebit
deleteSubscription(body)DELETE /v1/direct-debit/delete-subscriptionCancel link
refund(body)POST /v1/direct-debit/refundRefund
editConfirmPaymentMethod(body)PUT /v1/direct-debit/edit-confirm-payment-methodEdit payment method
getSubscriptionStatus(query)GET /v1/direct-debit/get-subscription-statusLink status
getTransactionStatus(query)GET /v1/direct-debit/get-transaction-statusTransaction status
getPagingTransactions(query)GET /v1/direct-debit/get-paging-transactionsTransaction history

transaction — Transactions​

SDK MethodAPI EndpointDocs
getPaging(body)POST /v1/transaction/get-pagingTransaction history

Helpers

The SDK ships with Bank Constants, Enums and Response Helpers — see Helpers & Constants.