Skip to main content

REST API v1

Semua path di bawah ini relatif terhadap base /api (tanpa trailing slash di dokumentasi). Method HTTP mengikuti definisi routes/api.php.

Ringkasan perlindungan

  • Publik / tanpa auth.xtoken — registrasi, konten, market data, webhook, dll.
  • auth.xtoken + verified:api — akun pengguna, KYC, withdraw, order setelah login, dll.

Default & Sanctum

MethodPathController@methodCatatan
GET/userClosureauth:sanctum
GET/auth/email-verify/{email}AuthController@verifyEmail
GET/auth/email-resendAuthController@resendEmail

Autentikasi & akun (publik / terbatas)

MethodPathMiddlewareController@method
POST/auth/registergrecaptchaAuthController@register
POST/inquiriesgrecaptchaInquiryController@submitInquiry
POST/auth/check-accountthrottle.customAuthController@checkAccount
POST/email/otp-codeAuthController@requestEmailOtp
POST/auth/password-resetAuthController@resetPassword
POST/auth/password-tokenAuthController@sendResetPasswordToken
POST/auth/refresh-tokenthrottle.custom (REFRESH_TOKEN)AuthController@refreshToken
POST/auth/loginthrottle.customAuthController@login
POST/pin/status_pinPinController@statusPin

Webhook (biasanya leader.only)

MethodPathController@method
POST/webhook/fireblockWebhookController@fireblock
POST/webhook/fireblock-v2WebhookController@fireblockV2
POST/webhook/binanceWebhookController@binance
POST/webhook/duitku-depositWebhookController@duitkuDeposit
POST/webhook/duitku/inquiryWebhookController@duitkuInquiry
POST/webhook/duitku/notifyWebhookController@duitkuNotify
POST/webhook/xendit/handle-created-vaWebhookXenditController@handleCreatedVA
POST/webhook/xendit/handle-deposit-paidWebhookXenditController@handleDepositPaid
POST/webhook/xendit/handle-deposit-paid-qrisWebhookXenditController@handleDepositPaidQris
POST/webhook/xendit/handle-withdrawalWebhookXenditController@handleWithdrawal
POST/webhook/micro-queuing/reportWebhookMicroQueuingController@handleReport

Publik: konten & konfigurasi

MethodPathController@method
GET/wallet-statusGeneralController@walletConfigurationStatus
GET/countryCountryController@getAllCountry
GET/newsNewsController@getAllNews
GET/news-categoriesNewsController@getAllCategories
GET/news/{slug}NewsController@getNews
GET/news/tag/{tag}NewsController@getNewsByTags
GET/bannerBannerController@getAllBanner
GET/currency/exchange-rateCurrencyController@exchangeRate
GET/price/get-categoryTxPairController@getTxPairCategory
GET/fee-listCoinController@getFeeList
GET/transaction/{provider}/{txId}TransactionController@retrieveTransaction
GET/xendit/payment-method/{type}XenditController@paymentMethod
GET/payment-methods/va/{code}/{lang}XenditController@vaDetail
GET/duitku/disbursement/list-bankDuitkuController@disbursementBankList
GET/banksBanksController@listBank
GET/setting/get-value/{key}SettingController@searchByKey
GET/setting/get-allSettingController@getAllSetting
GET/setting/get-multiple-valuesSettingController@getMultipleValues
GET/asset-information/{symbol}AssetInformationController@show
GET/cashOrder/get-priceCashOrderController@getPrice

Market: Binance spot (publik)

Prefix: /exchange/binance/

MethodPathController@method
GET/exchange/binance/exchangeInfoBinanceSpotController@exchangeInformation
GET/exchange/binance/configBinanceSpotController@config
GET/exchange/binance/timeBinanceSpotController@time
GET/exchange/binance/symbolsBinanceSpotController@symbols
GET/exchange/binance/historyBinanceSpotController@candlestickData
POST/exchange/binance/testOrderBinanceSpotController@testNewOrder

Market: coin & pair (prefix /coin)

MethodPathController@method
GET/coin/coinCoinController@getCoin
GET/coin/allCoinCoinController@getAllCoin
GET/coin/txPairCoinController@getTxPair
GET/coin/allTxPairCoinController@getAllTxPair
POST/coin/allTxPairCoinController@activeAllTxPair
DELETE/coin/allTxPairCoinController@suspendAllTxPair

Terautentikasi: auth.xtoken + verified:api

Sesi & profil

MethodPathController@method
DELETE/authAuthController@logout
GET/authAuthController@getInfo

Bank & pengguna

MethodPathController@method
GET/user/bankUserController@getBankList
POST/user/bankUserController@addBank
PUT/user/bankUserController@editBank
DELETE/user/bank/{id}UserController@deleteBank
POST/phone/otpPhoneController@requestOtp
POST/users/phone-bindUserController@bindPhone
POST/users/twofa-bindUserController@bindTwoFA
POST/users/twofa-unbindUserController@unBindTwoFA
PATCH/users/languageUserController@updateLanguage
PATCH/users/currencyUserController@updateCurrency
POST/user/suspendUserController@suspend

Dompet & riwayat

MethodPathController@method
GET/users/coinsUserController@listCoin
GET/users/walletUserController@retrieveWallet
POST/users/wallet-address-checkUserController@walletAddressCheck
GET/users/transaction-historiesUserController@listTransactionHistory
GET/users/history/v2/deposit-withdrawUserController@listDepositWithdrawalHistory
GET/users/history/deposit-withdrawUserController@v2ListDepositWithdrawalHistory
GET/users/history/taxUserController@listTaxHistory
GET/users/history/tax/reportUserController@listTaxHistoryReport

KYC & Privy & Google Vision

MethodPathController@method
POST/user/kyc-bindKycController@bindKyc
GET/kyc/employmentsKycController@getAllEmployment
GET/kyc/annual-incomesKycController@getAnnualIncomeList
GET/kyc/trade-sumsKycController@getTradeSumList
GET/kyc/industryKycController@getAllIndustry
GET/kyc/reasonKycController@getAllReason
GET/kyc/incomeKycController@getAllIncome
POST/privy/ocrPrivyController@privy_ocr
POST/privy/liveness-registerPrivyController@prive_liveness_and_register
POST/google-vision/verificationGoogleVisionController@storeVerification
PUT/google-vision/verification/{requestId}GoogleVisionController@updateVerification
GET/google-vision/verificationsGoogleVisionController@getVerifications
GET/google-vision/verification/{requestId}GoogleVisionController@getVerificationDetail
GET/google-vision/statisticsGoogleVisionController@getStatistics

Pesan & withdraw & deposit

MethodPathMiddleware tambahanController@method
GET/user-messagesMessageController@listMessage
GET/user-messages/readMessageController@readMessages
POST/user-messages/read-allMessageController@readAllMessages
DELETE/user-messages/delete-multipleMessageController@deleteMultipleMessages
GET/withdraws/otpWithdrawController@requestOtp
POST/withdraw/withdraw-coinWithdrawController@withdrawCoin
POST/withdraw/withdraw-fiatwalletStatus:WDWithdrawController@withdrawFiat
POST/deposit/cashgrecaptcha, walletStatus:DEPODepositController@depositCash
GET/deposit/get-digit-transferDepositController@getDigitTransfer

Cash order & API key & dict

MethodPathController@method
POST/cashOrder/place-orderCashOrderController@placeCashOrder
GET/cash-ordersCashOrderController@listCashOrder
GET/dictsDictController@getDictList
POST/collectCollectController@collect
POST/user/api-keyUserController@addApiKey
PUT/user/api-keyUserController@editApiKey
DELETE/user/api-keyUserController@deleteApiKey
GET/user/api-keyUserController@listApiKey

Duitku & Xendit & FCM

MethodPathController@method
GET/duitku/fix-va/numberDuitkuController@fixedVaNumber
POST/duitku/withdraw/cash-outDuitkuController@withdrawCashOut
GET/xendit/payment-methodXenditController@paymentMethod
POST/xendit/create-qrisXenditController@createQris
GET/xendit/status-qris/{qr_id}XenditController@statusQris
GET/xendit/fix-va/numberXenditController@fixedVaNumber
POST/fcm/tokenFcmController@storeOrUpdateToken
DELETE/fcm/delete-user-tokensFcmController@clearToken

PIN & biometrik

MethodPathController@method
POST/pin/createPinController@createPin
POST/pin/validatePinController@validatePin (throttle.custom)
POST/pin/updatePinController@updatePin (throttle.custom)
POST/biometric/create-or-updateBiometricController@createOrUpdate

Terautentikasi: trading Binance (prefix /exchange/binance/)

MethodPathController@method
GET/exchange/binance/historyTradeOrderController@historyTrades
GET/exchange/binance/historyOrderOrderController@historyOrders
GET/exchange/binance/currentOrderOrderController@currentOrders
POST/exchange/binance/orderOrderController@createOrder
DELETE/exchange/binance/order/{orderNo}OrderController@cancelOrder
POST/exchange/binance/order/{exchangeOrderId}/{userId}/deleteOrderController@deleteOrder
DELETE/exchange/binance/symbolOrdersOrderController@cancelSymbolOrders
DELETE/exchange/binance/allOrdersOrderController@cancelAllOrders
GET/exchange/binance/accountInfoBinanceSpotController@accountInformation

Endpoint uji / internal

MethodPathCatatan
GET/test-kkiClosure menguji KKILibrary — tidak untuk produksi

Untuk detail body request dan response, lihat controller di app/Http/Controllers/Api/ atau dokumentasi OpenAPI/Swagger jika diaktifkan.