constants

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2023 License: GPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AcehSyariah = "aceh"
View Source
const AcpPaymentErrorAmountExceeded = "1067"
View Source
const AcpPaymentErrorBillAlreadyExp = "1048"
View Source
const AcpPaymentErrorBillAlreadyUsed = "1049"
View Source
const AcpPaymentErrorBillExpInvalid = "1047"
View Source
const AcpPaymentErrorBillIDNotFound = "1050"
View Source
const AcpPaymentErrorBillMaxExceeded = "1046"
View Source
const AcpPaymentErrorBillTypeInvalid = "1045"
View Source
const AcpPaymentErrorBillTypeRequired = "1044"
View Source
const AcpPaymentErrorEndDateInvalid = "1057"
View Source
const AcpPaymentErrorInvalidDateRange = "1058"
View Source
const AcpPaymentErrorPageRequired = "1052"
View Source
const AcpPaymentErrorPaginationNumber = "1054"
View Source
const AcpPaymentErrorPaginationRequired = "1053"
View Source
const AcpPaymentErrorProductBillIDNotFound = "1055"
View Source
const AcpPaymentErrorProductCodeRequired = "1051"
View Source
const AcpPaymentErrorRedirectUrlInvalid = "1060"
View Source
const AcpPaymentErrorSortByInvalid = "1063"
View Source
const AcpPaymentErrorSortTypeInvalid = "1064"
View Source
const AcpPaymentErrorStartDateInvalid = "1056"
View Source
const AcpPaymentErrorStatusInvalid = "1061"
View Source
const AcpPaymentErrorTitleInvalid = "1062"
View Source
const AcpPaymentErrorTransferMin = "1059"
View Source
const AcpPaymentErrorUndefined = "999"
View Source
const AgentIdentityKTP = "ktp"
View Source
const AgentIdentityKTPEnum = "1"
View Source
const AgentIdentityPassport = "passport"
View Source
const AgentIdentityPassportEnum = "2"
View Source
const AgentStatusActive = "10"
View Source
const AgentStatusBlacklisted = "20"
View Source
const AgentStatusBlocked = "30"
View Source
const AgentStatusDeleted = "0"
View Source
const AgentVerErrorAgentIDNotFound = "1011"
View Source
const AgentVerErrorAgentStatusNotValid = "4010"
View Source
const AgentVerErrorAttributeCharInvalid = "2001"
View Source
const AgentVerErrorAttributeDuplicate = "2002"
View Source
const AgentVerErrorAttributeEmpty = "1001"
View Source
const AgentVerErrorAttributeInvalid = "1002"
View Source
const AgentVerErrorAttributeNonAlphaNum = "2004"
View Source
const AgentVerErrorAttributeNonSterile = "2003"
View Source
const AgentVerErrorCantCreate = "4015"
View Source
const AgentVerErrorEndpointNotFound = "404"
View Source
const AgentVerErrorFailReadImage = "4009"
View Source
const AgentVerErrorForbidden = "403"
View Source
const AgentVerErrorIdentityNumExists = "4012"
View Source
const AgentVerErrorImageNotSimilar = "4014"
View Source
const AgentVerErrorImageNotValid = "4008"
View Source
const AgentVerErrorImageSizeMax = "4007"
View Source
const AgentVerErrorInternalServerError = "500"
View Source
const AgentVerErrorInternalServerError503 = "503"
View Source
const AgentVerErrorInvalidDocType = "4013"
View Source
const AgentVerErrorInvalidIdentityType = "4004"
View Source
const AgentVerErrorInvalidInput = "4001"
View Source
const AgentVerErrorInvalidToken = "401"
View Source
const AgentVerErrorInvalidUserID = "400"
View Source
const AgentVerErrorInvalidUserID4003 = "4003"
View Source
const AgentVerErrorInvalidUserType = "4002"
View Source
const AgentVerErrorRejectedReasonNotMatch = "4006"
View Source
const AgentVerErrorRetryMaxAchieved = "4011"
View Source
const AladinSyariah = "aladin"
View Source
const AntarDaerah = "antardaerah"
View Source
const Anz = "anz"
View Source
const ApiDev = "dev"
View Source
const ApiKYC = "kyc"
View Source
const ApiProdV2 = "v2"
View Source
const ApiProdV3 = "v3"
View Source
const ApiUrlDev = "https://bigflip.id/big_sandbox_api"
View Source
const ApiUrlKyc = "https://api.flip.id/kyc/api/v1"
View Source
const ApiUrlKycDev = "https://api.flip.id/kyc-sandbox/api/v1"
View Source
const ApiUrlProdV2 = "https://bigflip.id/api/v2"
View Source
const ApiUrlProdV3 = "https://bigflip.id/api/v3"
View Source
const Artha = "artha"
View Source
const Artos = "artos"
View Source
const BCA = "bca"
View Source
const BCADigital = "royal"
View Source
const BCASyariah = "bca_syr"
View Source
const BJB = "bjb"
View Source
const BJBSyariah = "bjb_syr"
View Source
const BNI = "bni"
View Source
const BOCLimited = "boc"
View Source
const BPDBali = "bali"
View Source
const BPDBanten = "banten"
View Source
const BPTNSyariah = "btpn_syr"
View Source
const BRI = "bri"
View Source
const BRIAgroniaga = "agroniaga"
View Source
const BTNSyariah = "btn"
View Source
const BTPN = "tabungan_pensiunan_nasional"
View Source
const BankStatusDisturbed = "DISTURBED"

BankStatusDisturbed Banks are slow or have another problem. Disbursement will still be processed, but in slower pace and might be delayed

View Source
const BankStatusHeavilyDisturbed = "HEAVILY_DISTURBED"

BankStatusHeavilyDisturbed Banks are having an error, offline, or another problem that result in a nearly unusable system. Disbursement to this bank can not be processed in a short time, and maybe won’t be processed in the same day. You can ask for a refund if this happens.

View Source
const BankStatusOperational = "OPERATIONAL"

BankStatusOperational Banks are operational, disbursement will be processed as soon as possible

View Source
const BankSyariahIndo = "bsm"
View Source
const BankTypeBankAccount = "bank_account"
View Source
const BankTypeVirtualAccount = "virtual_account"
View Source
const BankTypeWalletAccount = "wallet_account"
View Source
const BeneficiaryRelAunt = "AUNT"
View Source
const BeneficiaryRelBIL = "BROTHER_IN_LAW"
View Source
const BeneficiaryRelBrother = "BROTHER"
View Source
const BeneficiaryRelCousin = "COUSIN"
View Source
const BeneficiaryRelDaughter = "DAUGHTER"
View Source
const BeneficiaryRelFIL = "FATHER_IN_LAW"
View Source
const BeneficiaryRelFather = "FATHER"
View Source
const BeneficiaryRelFriend = "FRIEND"
View Source
const BeneficiaryRelGrandFather = "GRAND_FATHER"
View Source
const BeneficiaryRelGrandMother = "GRAND_MOTHER"
View Source
const BeneficiaryRelHusband = "HUSBAND"
View Source
const BeneficiaryRelMIL = "MOTHER_IN_LAW"
View Source
const BeneficiaryRelMother = "MOTHER"
View Source
const BeneficiaryRelNephew = "NEPHEW"
View Source
const BeneficiaryRelNiece = "NIECE"
View Source
const BeneficiaryRelSIL = "SISTER_IN_LAW"
View Source
const BeneficiaryRelSelf = "SELF"
View Source
const BeneficiaryRelSister = "SISTER"
View Source
const BeneficiaryRelSon = "SON"
View Source
const BeneficiaryRelUncle = "UNCLE"
View Source
const BeneficiaryRelWife = "WIFE"
View Source
const Bengkulu = "bengkulu"
View Source
const BillPaymentStatusCancelled = "CANCELED"
View Source
const BillPaymentStatusDone = "DONE"
View Source
const BillPaymentStatusFailed = "FAILED"
View Source
const BillPaymentStatusNotConfirmed = "NOT_CONFIRMED"
View Source
const BillPaymentStatusPending = "PENDING"
View Source
const BillPaymentStatusProcessed = "PROCESSED"
View Source
const BillStatusActive = "ACTIVE"
View Source
const BillStatusInActive = "INACTIVE"
View Source
const BillStepOne = "1"
View Source
const BillStepThree = "3"
View Source
const BillStepTwo = "2"
View Source
const BillTypeMultiple = "MULTIPLE"
View Source
const BillTypeSingle = "SINGLE"
View Source
const BpdDIY = "daerah_istimewa"
View Source
const BpdDiySyariah = "daerah_istimewa_syr"
View Source
const Bukopin = "bukopin"
View Source
const BukopinSyariah = "bukopin_syr"
View Source
const BumiArta = "bumi_arta"
View Source
const CCBIndo = "ccb"
View Source
const CIMB = "cimb"
View Source
const CNB = "cnb"
View Source
const CTBCIndo = "chinatrust"
View Source
const CapitalIndo = "capital"
View Source
const Citibank = "citibank"
View Source
const CommonWealth = "commonwealth"
View Source
const ContentTypeFormUrlEncoded = "application/x-www-form-urlencoded"
View Source
const ContentTypeMultipart = "multipart/form-data"
View Source
const CountryCodeAndorra = "AND"
View Source
const CountryCodeAustralia = "AUS"
View Source
const CountryCodeAustria = "AUT"
View Source
const CountryCodeBelgium = "BEL"
View Source
const CountryCodeBulgaria = "BGR"
View Source
const CountryCodeChina = "CHN"
View Source
const CountryCodeCroatia = "HRV"
View Source
const CountryCodeCyprus = "CYP"
View Source
const CountryCodeCzechRepublic = "CZE"
View Source
const CountryCodeDenmark = "DNK"
View Source
const CountryCodeEstonia = "EST"
View Source
const CountryCodeFinland = "FIN"
View Source
const CountryCodeFrance = "FRA"
View Source
const CountryCodeGermany = "DEU"
View Source
const CountryCodeGreece = "GRC"
View Source
const CountryCodeHongKong = "HKG"
View Source
const CountryCodeHungary = "HUN"
View Source
const CountryCodeIceland = "ISL"
View Source
const CountryCodeIreland = "IRL"
View Source
const CountryCodeItaly = "ITA"
View Source
const CountryCodeJapan = "JPN"
View Source
const CountryCodeLatvia = "LVA"
View Source
const CountryCodeLiechtenstein = "LIE"
View Source
const CountryCodeLithuania = "LTU"
View Source
const CountryCodeLuxembourg = "LUX"
View Source
const CountryCodeMalaysia = "MYS"
View Source
const CountryCodeMalta = "MLT"
View Source
const CountryCodeMonaco = "MCO"
View Source
const CountryCodeNetherlands = "NLD"
View Source
const CountryCodeNorway = "NOR"
View Source
const CountryCodePoland = "POL"
View Source
const CountryCodePortugal = "PRT"
View Source
const CountryCodeRomania = "ROU"
View Source
const CountryCodeSanMarino = "SMR"
View Source
const CountryCodeSaudiArabia = "SAU"
View Source
const CountryCodeSingapore = "SGD"
View Source
const CountryCodeSlovakia = "SVK"
View Source
const CountryCodeSlovenia = "SVN"
View Source
const CountryCodeSouthKorea = "KOR"
View Source
const CountryCodeSpain = "ESP"
View Source
const CountryCodeSweden = "SWE"
View Source
const CountryCodeSwitzerland = "CHE"
View Source
const CountryCodeThailand = "THA"
View Source
const CountryCodeTurkey = "TUR"
View Source
const CountryCodeUnitedArabEmirates = "ARE"
View Source
const CountryCodeUnitedKingdom = "GBR"
View Source
const CountryCodeVaticanCityState = "VAT"
View Source
const CurrencyCodeAndorra = CurrencyCodeEuro
View Source
const CurrencyCodeAustralia = "AUD"
View Source
const CurrencyCodeAustria = CurrencyCodeEuro
View Source
const CurrencyCodeBelgium = CurrencyCodeEuro
View Source
const CurrencyCodeBulgaria = CurrencyCodeEuro
View Source
const CurrencyCodeChina = "CNY"
View Source
const CurrencyCodeCroatia = CurrencyCodeEuro
View Source
const CurrencyCodeCyprus = CurrencyCodeEuro
View Source
const CurrencyCodeCzechRepublic = CurrencyCodeEuro
View Source
const CurrencyCodeDenmark = CurrencyCodeEuro
View Source
const CurrencyCodeEstonia = CurrencyCodeEuro
View Source
const CurrencyCodeEuro = "EUR"
View Source
const CurrencyCodeFinland = CurrencyCodeEuro
View Source
const CurrencyCodeFrance = CurrencyCodeEuro
View Source
const CurrencyCodeGermany = CurrencyCodeEuro
View Source
const CurrencyCodeGreece = CurrencyCodeEuro
View Source
const CurrencyCodeHongKongCNY = CurrencyCodeChina
View Source
const CurrencyCodeHongKongHKD = "HKD"
View Source
const CurrencyCodeHungary = CurrencyCodeEuro
View Source
const CurrencyCodeIceland = CurrencyCodeEuro
View Source
const CurrencyCodeIreland = CurrencyCodeEuro
View Source
const CurrencyCodeItaly = CurrencyCodeEuro
View Source
const CurrencyCodeJapan = "JPY"
View Source
const CurrencyCodeLatvia = CurrencyCodeEuro
View Source
const CurrencyCodeLiechtenstein = CurrencyCodeEuro
View Source
const CurrencyCodeLithuania = CurrencyCodeEuro
View Source
const CurrencyCodeLuxembourg = CurrencyCodeEuro
View Source
const CurrencyCodeMalaysia = "MYR"
View Source
const CurrencyCodeMalta = CurrencyCodeEuro
View Source
const CurrencyCodeMonaco = CurrencyCodeEuro
View Source
const CurrencyCodeNetherlands = CurrencyCodeEuro
View Source
const CurrencyCodeNorway = CurrencyCodeEuro
View Source
const CurrencyCodePoland = CurrencyCodeEuro
View Source
const CurrencyCodePortugal = CurrencyCodeEuro
View Source
const CurrencyCodeRomania = CurrencyCodeEuro
View Source
const CurrencyCodeSanMarino = CurrencyCodeEuro
View Source
const CurrencyCodeSaudiArabia = "SAR"
View Source
const CurrencyCodeSingapore = "SGD"
View Source
const CurrencyCodeSlovakia = CurrencyCodeEuro
View Source
const CurrencyCodeSlovenia = CurrencyCodeEuro
View Source
const CurrencyCodeSouthKorea = "KRW"
View Source
const CurrencyCodeSpain = CurrencyCodeEuro
View Source
const CurrencyCodeSweden = CurrencyCodeEuro
View Source
const CurrencyCodeSwitzerland = CurrencyCodeEuro
View Source
const CurrencyCodeThailand = "THB"
View Source
const CurrencyCodeTurkey = "TRY"
View Source
const CurrencyCodeUnitedArabEmirates = "AED"
View Source
const CurrencyCodeUnitedKingdom = "GBP"
View Source
const CurrencyCodeVaticanCityState = CurrencyCodeEuro
View Source
const DBSIndo = "dbs"
View Source
const DKI = "dki"
View Source
const DKISyariah = "dki_syr"
View Source
const Dana = "dana"
View Source
const DanamonSyariah = "danamon"
View Source
const DinarIndo = "dinar"
View Source
const DisbursementDirectionDomesticSpecialTransfer = "DOMESTIC_SPECIAL_TRANSFER"

DisbursementDirectionDomesticSpecialTransfer Special disbursement from the user of a Money Transfer Company residing in Indonesia to Indonesian recipient

View Source
const DisbursementDirectionDomesticTransfer = "DOMESTIC_TRANSFER"

DisbursementDirectionDomesticTransfer Common Disbursement from Indonesia to Indonesian recipient

View Source
const DisbursementDirectionForeignInboundSpecialTransfer = "FOREIGN_INBOUND_SPECIAL_TRANSFER"

DisbursementDirectionForeignInboundSpecialTransfer Special disbursement from the user of a Money Transfer Company residing in a foreign country to Indonesian recipient

View Source
const DisbursementReasonCantReceiveTransfer = "CANT_RECEIVE_TRANSFER "

DisbursementReasonCantReceiveTransfer Can’t receive transfer / Rekening tujuan tidak dapat menerima transfer

View Source
const DisbursementReasonInactiveAccount = "INACTIVE_ACCOUNT "

DisbursementReasonInactiveAccount Inactive account / Nomor rekening tidak aktif

View Source
const DisbursementReasonIntermittentDisturbance = "INTERMITTENT_DISTURBANCE_ON_BENEFICIARY_BANK"

DisbursementReasonIntermittentDisturbance Intermittent disturbance on destination bank / Bank tujuan sementara mengalami gangguan

View Source
const DisbursementReasonNotRegisteredAccount = "NOT_REGISTERED_ACCOUNT "

DisbursementReasonNotRegisteredAccount Not registered account / Nomor rekening tidak terdaftar

View Source
const DisbursementReasonNotVerified = "BENEFICIARY_ACCOUNT_NOT_VERIFIED "

DisbursementReasonNotVerified Account is not verified / Rekening tujuan belum terverifikasi

View Source
const DisbursementStatusCancelled = "CANCELLED"

DisbursementStatusCancelled The transaction is cancelled and the amount of the transaction plus the transaction fee will be credited to your balance. This will happen if the transfer process are failed for reason such as inactive recipient account, wrong account number, etc

View Source
const DisbursementStatusDone = "DONE"

DisbursementStatusDone Disbursement process is finished and the money have been sent to the recipient

View Source
const DisbursementStatusPending = "PENDING"

DisbursementStatusPending Disbursement is still in process

View Source
const Eka = "eka"
View Source
const Ganesha = "ganesha"
View Source
const GenderFemale = "female"
View Source
const GenderMale = "male"
View Source
const GeneralErrorBalanceInsufficient = "BALANCE_INSUFFICIENT"
View Source
const GeneralErrorValidationError = "VALIDATION_ERROR"
View Source
const GoPay = "gopay"
View Source
const HSBCIndo = "hsbc"
View Source
const Hana = "hana"
View Source
const HardaInter = "harda"
View Source
const HeaderAuthorization = "Authorization"
View Source
const HeaderContentType = "Content-Type"
View Source
const HeaderIdempotencyKey = "idempotency-key"
View Source
const HeaderRequestID = "Request-ID"
View Source
const HeaderTimestamp = "X-TIMESTAMP"
View Source
const IBKIndo = "agris"
View Source
const ICBCIndo = "icbc"
View Source
const IdentityAddressFlagFalse = 0
View Source
const IdentityAddressFlagTrue = 1
View Source
const InaPerdana = "ina_perdana"
View Source
const IndexSelindo = "index_selindo"
View Source
const IndiaIndo = "india"
View Source
const InquiryStatusBlackListed = "BLACK_LISTED"

InquiryStatusBlackListed Bank account have been confirmed on doing a fraud and therefore is blacklisted. You can’t do a disbursement to this account.

View Source
const InquiryStatusClosed = "CLOSED"

InquiryStatusClosed The inquiry process is complete and the account is valid, but it is closed/inactive so that it cannot receive money. You cannot do a disbursement to this account.

View Source
const InquiryStatusFailed = "FAILED"

InquiryStatusFailed The inquiry process is failed before we get the final status of the inquiry, e.g. due to timeout or any other errors from the bank. If you get this response, please retry the inquiry to trigger reverification of the account.

View Source
const InquiryStatusInvalidAccountNumber = "INVALID_ACCOUNT_NUMBER"

InquiryStatusInvalidAccountNumber Inquiry process is complete but the account number is invalid or maybe a virtual account number

View Source
const InquiryStatusPending = "PENDING"

InquiryStatusPending Inquiry still in process

View Source
const InquiryStatusSuccess = "SUCCESS"

InquiryStatusSuccess Inquiry process is complete and bank account number is valid

View Source
const InquiryStatusSuspectedAccount = "SUSPECTED_ACCOUNT"

InquiryStatusSuspectedAccount Bank account have been suspected on doing fraud. You still can do a disbursement to this account.

View Source
const IntCancelReasonBarredBeneficiary = "BARRED_BENEFICIARY"
View Source
const IntCancelReasonBarredSender = "BARRED_SENDER"
View Source
const IntCancelReasonCancelled = "CANCELLED"
View Source
const IntCancelReasonCompliance = "COMPLIANCE_REASON"
View Source
const IntCancelReasonDeclined = "DECLINED"
View Source
const IntCancelReasonDuplicate = "DUPLICATED_TRANSACTION"
View Source
const IntCancelReasonInvalidBeneficiary = "INVALID_BENEFICIARY"
View Source
const IntCancelReasonInvalidBeneficiaryDetails = "INVALID_BENEFICIARY_DETAILS"
View Source
const IntCancelReasonLimitAccQty = "LIMITATIONS_ON_ACCOUNT_QUANTITY"
View Source
const IntCancelReasonLimitAccValue = "LIMITATIONS_ON_ACCOUNT_VALUE"
View Source
const IntCancelReasonLimitBeneficiaryQty = "LIMITATIONS_ON_BENEFICIARY_QUANTITY"
View Source
const IntCancelReasonLimitSenderQty = "LIMITATIONS_ON_SENDER_QUANTITY"
View Source
const IntCancelReasonLimitTransValue = "LIMITATIONS_ON_TRANSACTION_VALUE"
View Source
const IntCancelReasonRefused = "REFUSED"
View Source
const IntCancelReasonSLSBeneficiary = "SLS_BENEFICIARY"
View Source
const IntCancelReasonSLSSender = "SLS_SENDER"
View Source
const IntCancelReasonUnsupportedBeneficiary = "UNSUPPORTED_BENEFICIARY"
View Source
const IntTransferErrorAmountDecimal = "1083"
View Source
const IntTransferErrorAmountMaxExceeded = "1081"
View Source
const IntTransferErrorAmountMinNotReach = "1082"
View Source
const IntTransferErrorAttributeAlphaNum = "1084"
View Source
const IntTransferErrorAttributeMaxChar = "1024"
View Source
const IntTransferErrorAttributeMinChar = "1087"
View Source
const IntTransferErrorAttributeNumber = "1020"
View Source
const IntTransferErrorInvalidAttribute = "1041"
View Source
const IntTransferErrorInvalidCity = "1038"
View Source
const IntTransferErrorInvalidCountry = "1034"
View Source
const IntTransferErrorInvalidCountryCode = "1068"
View Source
const IntTransferErrorInvalidDate = "1040"
View Source
const IntTransferErrorInvalidDateFormat = "1039"
View Source
const IntTransferErrorInvalidTransType = "1069"
View Source
const IntTransferErrorRequestStale = "1094"
View Source
const IntTransferErrorTimestampInvalid = "1095"
View Source
const IntTransferErrorUndefined = "999"
View Source
const IntTransferErrorWordMin = "1085"
View Source
const JaTeng = "jawa_tengah"
View Source
const JaTengSyariah = "jawa_tengah_syr"
View Source
const JaTim = "jawa_timur"
View Source
const JaTimSyariah = "jawa_timur_syr"
View Source
const JagoSyariah = "artos_syr"
View Source
const Jambi = "jambi"
View Source
const JambiSyariah = "jambi_syr"
View Source
const JasaJakarta = "jasa_jakarta"
View Source
const JobTypeCompany = "company"
View Source
const JobTypeEntrepreneur = "entrepreneur"
View Source
const JobTypeFoundationBoard = "foundation_board"
View Source
const JobTypeGovernmentEmployee = "government_employee"
View Source
const JobTypeHouseWife = "housewife"
View Source
const JobTypeIndonesianMigrantWorker = "indonesian_migrant_worker"
View Source
const JobTypeOthers = "others"
View Source
const JobTypePrivateEmployee = "private_employee"
View Source
const KalBar = "kalimantan_barat"
View Source
const KalBarSyariah = "kalimantan_barat_syr"
View Source
const KalSel = "kalimantan_selatan"
View Source
const KalSelSyariah = "kalimantan_selatan_syr"
View Source
const KalTeng = "kalimantan_tengah"
View Source
const KalTim = "kalimantan_timur"
View Source
const KalTimSyariah = "kalimantan_timur_syr"
View Source
const KyCStatusCallbackApproved = "40"
View Source
const KyCStatusCallbackRejected = "50"
View Source
const KyCStatusCallbackUploadSelfieFailed = "15"
View Source
const KyCStatusCallbackUploadSelfieSuccess = "19"
View Source
const KycRejectionBackground = "21"
View Source
const KycRejectionCantRead = "14"
View Source
const KycRejectionCombinationFaceImage = "24"
View Source
const KycRejectionCombinationNotHold = "26"
View Source
const KycRejectionCombinationNotMatch = "25"
View Source
const KycRejectionCombinationNotVisible = "23"
View Source
const KycRejectionDataNotMatch = "10"
View Source
const KycRejectionIdentityBrokenUp = "18"
View Source
const KycRejectionIdentityExpired = "19"
View Source
const KycRejectionIdentityNotCaptured = "16"
View Source
const KycRejectionIdentityPartCantRead = "17"
View Source
const KycRejectionIdentityTypeNotValid = "15"
View Source
const KycRejectionNIKAlreadyRegistered = "12"
View Source
const KycRejectionNIKBolded = "13"
View Source
const KycRejectionNIKFormat = "11"
View Source
const KycRejectionNeedConfirmation = "30"
View Source
const KycRejectionNotOriginal = "20"
View Source
const KycRejectionNotOriginalPhoto = "22"
View Source
const KycRejectionPhotoTakenIndirectly = "27"
View Source
const KycRejectionUsingVeil = "28"
View Source
const KycRejectionViolateTOC = "29"
View Source
const KycStatusApproved = "APPROVED"
View Source
const KycStatusBasicData = "BASIC_DATA"
View Source
const KycStatusHelp = "HELP"
View Source
const KycStatusNeedCheck = "NEED_TO_CHECK"
View Source
const KycStatusPending = "PENDING"
View Source
const KycStatusRejected = "REJECTED"
View Source
const KycStatusSuspicious = "SUSPICIOUS"
View Source
const KycStatusUploadIdentityFailed = "UPLOAD_IDENTITY_FAILED"
View Source
const KycStatusUploadIdentitySuccess = "UPLOAD_IDENTITY_SUCCESS"
View Source
const KycStatusUploadSelfieFailed = "UPLOAD_IDENTITY_SELFIE_FAILED"
View Source
const KycStatusUploadSelfieProgress = "UPLOAD_IDENTITY_SELFIE_PROGRESS"
View Source
const KycStatusUploadSelfieSuccess = "UPLOAD_IDENTITY_SELFIE_SUCCESS"
View Source
const Lampung = "lampung"
View Source
const LinkAja = "linkaja"
View Source
const LinkAjaApp = "linkaja_app"
View Source
const MNC = "mnc_internasional"
View Source
const MaintenanceMessage = "flip currently in maintenance, please try again later [LOG: %s]"
View Source
const Maluku = "maluku"
View Source
const Mandiri = "mandiri"
View Source
const Mantap = "mantap"
View Source
const Maspion = "maspion"
View Source
const Mayapada = "mayapada"
View Source
const MaybankIndo = "bii"
View Source
const MaybankSyariah = "bii_syr"
View Source
const MayoraIndo = "mayora"
View Source
const Mega = "mega"
View Source
const MegaSyariah = "mega_syr"
View Source
const MestikaDharma = "mestika_dharma"
View Source
const Muamalat = "muamalat"
View Source
const MultiArtaSentosa = "mas"
View Source
const Mutiara = "mutiara"
View Source
const NTBSyariah = "nusa_tenggara_barat"
View Source
const NTT = "nusa_tenggara_timur"
View Source
const Nagari = "sumatera_barat"
View Source
const NagariSyariah = "sumatera_barat_syr"
View Source
const Nobu = "nationalnobu"
View Source
const NusaParahyangan = "nusantara_parahyangan"
View Source
const OCBC = "ocbc"
View Source
const OCBCSyariah = "ocbc_syr"
View Source
const Ovo = "ovo"
View Source
const Panin = "panin"
View Source
const PaninSyariah = "panin_syr"
View Source
const Papua = "papua"
View Source
const PaymentSortByAmount = "amount"
View Source
const PaymentSortByBillLink = "bill_link"
View Source
const PaymentSortByBillTitle = "bill_title"
View Source
const PaymentSortByCreatedAt = "created_at"
View Source
const PaymentSortByID = "id"
View Source
const PaymentSortBySenderBank = "sender_bank"
View Source
const Permata = "permata"
View Source
const PermataSyariah = "permata_syr"
View Source
const Prima = "prima"
View Source
const ProductAcceptPayment = "accept_payment"
View Source
const ProductAgentMoneyTransfer = "agent_money_transfer"
View Source
const ProductAgentVerification = "agent_verification"
View Source
const ProductGeneral = "general"
View Source
const ProductInternationalTransfer = "international_transfer"
View Source
const ProductMoneyTransfer = "money_transfer"
View Source
const ProductSpecialMoneyTransfer = "special_money_transfer"
View Source
const QNBIndo = "qnb_kesawan"
View Source
const Qris = "qris"
View Source
const RSAKeyBitTotal = 2048
View Source
const RaboBankInterIndo = "rabobank"
View Source
const RemittanceAdsExpenses = "ADVERTISING_EXPENSES"
View Source
const RemittanceAdvisoryFees = "ADVISORY_FEES"
View Source
const RemittanceBusinessInsurance = "BUSINESS_INSURANCE"
View Source
const RemittanceComputerServices = "COMPUTER_SERVICES"
View Source
const RemittanceConstructionExpenses = "CONSTRUCTION_EXPENSES"
View Source
const RemittanceDeliveryFees = "DELIVERY_FEES"
View Source
const RemittanceEducation = "EDUCATION"
View Source
const RemittanceExportedGoods = "EXPORTED_GOODS"
View Source
const RemittanceFamilySupport = "FAMILY_SUPPORT"
View Source
const RemittanceFundInvestment = "FUND_INVESTMENT"
View Source
const RemittanceGiftDonation = "GIFT_AND_DONATION"
View Source
const RemittanceHotelAccommodation = "HOTEL_ACCOMMODATION"
View Source
const RemittanceInfluencerPayment = "INFLUENCER_PAYMENT"
View Source
const RemittanceInsuranceClaims = "INSURANCE_CLAIMS"
View Source
const RemittanceLiberalized = "LIBERALIZED_REMITTANCE"
View Source
const RemittanceLoanPayment = "LOAN_PAYMENT"
View Source
const RemittanceMaintenanceExpenses = "MAINTENANCE_EXPENSES"
View Source
const RemittanceMedicalTreatment = "MEDICAL_TREATMENT"
View Source
const RemittanceOfficeExpenses = "OFFICE_EXPENSES"
View Source
const RemittanceOtherFees = "OTHER_FEES"
View Source
const RemittancePersonalTransfer = "PERSONAL_TRANSFER"
View Source
const RemittancePropertyPurchase = "PROPERTY_PURCHASE"
View Source
const RemittancePropertyRental = "PROPERTY_RENTAL"
View Source
const RemittanceRewardPayment = "REWARD_PAYMENT"
View Source
const RemittanceRoyaltyFees = "ROYALTY_FEES"
View Source
const RemittanceSalaryPayment = "SALARY_PAYMENT"
View Source
const RemittanceServiceCharges = "SERVICE_CHARGES"
View Source
const RemittanceSharesInvestment = "SHARES_INVESTMENT"
View Source
const RemittanceSmallValue = "SMALL_VALUE_REMITTANCE"
View Source
const RemittanceTaxPayment = "TAX_PAYMENT"
View Source
const RemittanceTransportationFees = "TRANSPORTATION_FEES"
View Source
const RemittanceTravel = "TRAVEL"
View Source
const RemittanceUtilityBills = "UTILITY_BILLS"
View Source
const RiauKepri = "riau_dan_kepri"
View Source
const SBIINdo = "sbi_indonesia"
View Source
const Sampoerna = "sahabat_sampoerna"
View Source
const SeabankBKE = "kesejahteraan_ekonomi"
View Source
const SelfieFlagFalse = "0" // Denotes that the uploaded file is identity image.
View Source
const SelfieFlagTrue = "1" // Denotes that the uploaded file is selfie with identity image.
View Source
const SenderIdentityBankAccount = "bank_acc" // Default
View Source
const SenderIdentityDriverLicense = "drv_lic"
View Source
const SenderIdentityNatID = "nat_id"
View Source
const SenderIdentityPassport = "passport"
View Source
const ShinhanIndo = "shinhan"
View Source
const ShopeePay = "shopeepay"
View Source
const ShopeePayApp = "shopeepay_app"
View Source
const Sinarmas = "sinarmas"
View Source
const SinarmasSyariah = "sinarmas_syr"
View Source
const SortTypeASC = "sort_asc" // ascending
View Source
const SortTypeDESC = "sort_desc" // descending
View Source
const SourceFundBusiness = "BUSINESS"
View Source
const SourceFundGift = "GIFT"
View Source
const SourceFundSalary = "SALARY"
View Source
const SourceFundSavings = "SAVINGS"
View Source
const StandardChartered = "standard_chartered"
View Source
const Sulawesi = "sulawesi"
View Source
const Sulselbar = "sulselbar"
View Source
const SulselbarSyariah = "sulselbar_syr"
View Source
const Sultra = "sulawesi_tenggara"
View Source
const SulutGo = "sulut"
View Source
const SumselBabel = "sumsel_dan_babel"
View Source
const SumselBabelSyariah = "sumsel_dan_babel_syr"
View Source
const Sumut = "sumut"
View Source
const SumutSyariah = "sumut_syr"
View Source
const TimeFormatBirthDate = "2006-01-02"
View Source
const TimeFormatExpiredDate = "2006-01-02 15:04"
View Source
const TimeFormatHeader = time.RFC3339

TimeFormatHeader using ISO8601 2020-07-10 15:00:00.000 is represents the 10th of July 2020 at 3 p.m.

View Source
const TimeFormatPagination = "2006-01-02"
View Source
const TokyoMitsubishi = "tokyo"
View Source
const TransactionTypeB2B = "B2B"
View Source
const TransactionTypeB2C = "B2C"
View Source
const TransactionTypeC2B = "C2B"
View Source
const TransactionTypeC2C = "C2C"
View Source
const TransferErrorAccountClosed = "1027"
View Source
const TransferErrorAccountFround = "1026"
View Source
const TransferErrorAccountInvalid = "1025"
View Source
const TransferErrorAgentNotActive = "1091"
View Source
const TransferErrorAgentNotAllowUpdate = "1092"
View Source
const TransferErrorAgentStatusNotApproved = "1090"
View Source
const TransferErrorAttributeDuplicated = "2002"
View Source
const TransferErrorAttributeEmpty = "1001"
View Source
const TransferErrorAttributeMax = "1022"
View Source
const TransferErrorAttributeMin = "1021"
View Source
const TransferErrorAttributeMinChar = "2001"
View Source
const TransferErrorAttributeNonAlphaNum = "2004"
View Source
const TransferErrorAttributeNotClean = "2003"
View Source
const TransferErrorAttributeNotCleanSymbols = "1002"
View Source
const TransferErrorAttributeNumber = "1020"
View Source
const TransferErrorBeneficiaryBankDisturbance = "1088"
View Source
const TransferErrorBillTitleEmpty = "1043"
View Source
const TransferErrorCantProcess = "1093"
View Source
const TransferErrorDailyLimitExceeded = "1074"
View Source
const TransferErrorDisbursementIDNotFound = "1072"
View Source
const TransferErrorDisbursementIdemNotFound = "1073"
View Source
const TransferErrorFlipAccount = "1089"
View Source
const TransferErrorInsufficientBalance = "1035"
View Source
const TransferErrorInvalidAttribute = "1041"
View Source
const TransferErrorInvalidBankCode = "1033"
View Source
const TransferErrorInvalidBeneficiaryEmail = "1071"
View Source
const TransferErrorInvalidCity = "1038"
View Source
const TransferErrorInvalidCountry = "1034"
View Source
const TransferErrorInvalidDate = "1040"
View Source
const TransferErrorInvalidDateFormat = "1039"
View Source
const TransferErrorMaxBeneficiaryEmail = "1070"
View Source
const TransferErrorMaxCharExceeded = "1024"
View Source
const TransferErrorMaxLimitActive = "1080"
View Source
const TransferErrorMinDana = "1086"
View Source
const TransferErrorMinOvo = "1042"
View Source
const TransferErrorPagination = "1032"
View Source
const TransferErrorStale = "1094"
View Source
const TransferErrorUndefined = "999"
View Source
const TransferErrorXTimestampInvalid = "1095"
View Source
const UOB = "uob"
View Source
const UserTypeAgent = "1"
View Source
const VictoriaInternational = "victoria_internasional"
View Source
const VictoriaSyariah = "victoria_syr"
View Source
const WooriSaudara = "woori"
View Source
const YudhaBhakti = "yudha_bakti"

Variables

This section is empty.

Functions

func CanTransferBank

func CanTransferBank(inquiryStatus string) (bool, error)

func GetAcceptPaymentErrorLabel

func GetAcceptPaymentErrorLabel(acceptPaymentError string) (string, error)

func GetAgentKycStatusCallbackLabel

func GetAgentKycStatusCallbackLabel(statusCode string) (string, error)

func GetAgentStatusLabel

func GetAgentStatusLabel(agentStatus string) (string, error)

func GetAgentVerificationErrorLabel

func GetAgentVerificationErrorLabel(agentVerStatus string) (string, error)

func GetAllAcceptPaymentErrorLabel

func GetAllAcceptPaymentErrorLabel() map[string]string

func GetAllAgentKycStatusCallbackLabel

func GetAllAgentKycStatusCallbackLabel() map[string]string

func GetAllAgentStatusLabel

func GetAllAgentStatusLabel() map[string]string

func GetAllAgentVerificationErrorLabel

func GetAllAgentVerificationErrorLabel() map[string]string

func GetAllBankInquiryStatus

func GetAllBankInquiryStatus() map[string]bool

GetAllBankInquiryStatus this function to get all status inquiry and see if you can do transfer or not

func GetAllBankInquiryStatusLabel

func GetAllBankInquiryStatusLabel() map[string]string

func GetAllBankLabel

func GetAllBankLabel() map[string]string

func GetAllBeneficiaryRelationshipLabel

func GetAllBeneficiaryRelationshipLabel() map[string]string

func GetAllBillPaymentStatusLabel

func GetAllBillPaymentStatusLabel() map[string]string

func GetAllDestinationCountry

func GetAllDestinationCountry(countryCode string) map[string]DestinationCountry

func GetAllDisbursementStatusLabel

func GetAllDisbursementStatusLabel() map[string]string

func GetAllEWallet

func GetAllEWallet() map[string]string

func GetAllGeneralError

func GetAllGeneralError() map[string]string

func GetAllIdentityTypeLabel

func GetAllIdentityTypeLabel() map[string]string

func GetAllInternationalCancelledReason

func GetAllInternationalCancelledReason() map[string]string

func GetAllInternationalTransferErrorLabel

func GetAllInternationalTransferErrorLabel() map[string]string

func GetAllJobTypeLabel

func GetAllJobTypeLabel() map[string]string

func GetAllKycRejectionReasonLabel

func GetAllKycRejectionReasonLabel() map[string]string

func GetAllKycStatusLabel

func GetAllKycStatusLabel() map[string]string

func GetAllPaymentSortByLabel

func GetAllPaymentSortByLabel() map[string]string

func GetAllRemittanceLabel

func GetAllRemittanceLabel() map[string]string

func GetAllSenderIdentity

func GetAllSenderIdentity() map[string]string

func GetAllSourceFundLabel

func GetAllSourceFundLabel() map[string]string

func GetAllTransferError

func GetAllTransferError() map[string]string

func GetBankInquiryStatusLabel

func GetBankInquiryStatusLabel(inquiryStatus string) (string, error)

func GetBeneficiaryRelationshipLabel

func GetBeneficiaryRelationshipLabel(relationshipCode string) (string, error)

func GetBillPaymentStatusLabel

func GetBillPaymentStatusLabel(billPaymentStatus string) (string, error)

func GetDisbursementStatusLabel

func GetDisbursementStatusLabel(disbursementStatus string) (string, error)

func GetGeneralErrorLabel

func GetGeneralErrorLabel(generalError string) (string, error)

func GetIdentityTypeLabel

func GetIdentityTypeLabel(identityType string) (string, error)

func GetInternationalCancelledReason

func GetInternationalCancelledReason(cancelReason string) (string, error)

func GetInternationalTransferErrorLabel

func GetInternationalTransferErrorLabel(intTransferError string) (string, error)

func GetJobTypeLabel

func GetJobTypeLabel(jobType string) (string, error)

func GetKycRejectionReasonLabel

func GetKycRejectionReasonLabel(kycRejectionReason string) (string, error)

func GetKycStatusLabel

func GetKycStatusLabel(kycStatus string) (string, error)

func GetLabelBank

func GetLabelBank(bankCode string) (string, error)

func GetPaymentSortByLabels

func GetPaymentSortByLabels(sortBy string) (string, error)

func GetRemittanceLabel

func GetRemittanceLabel(remittancePurposes string) (string, error)

func GetSenderBank

func GetSenderBank() map[string]string

func GetSenderIdentity

func GetSenderIdentity(senderIdentity string) (string, error)

func GetSourceFundLabel

func GetSourceFundLabel(sourceFundCode string) (string, error)

func GetTransferErrorCodeLabel

func GetTransferErrorCodeLabel(errorCode string) (message string, err error)

func GetWalletLabel

func GetWalletLabel(walletCode string) (string, error)

Types

type DestinationCountry

type DestinationCountry struct {
	CountryName  string
	CountryCode  string
	CurrencyCode string
}

type ErrorClientResponse

type ErrorClientResponse struct {
	Code      string             `json:"code"` // outer_code
	CodeLabel string             `json:"code_label"`
	Errors    []ErrorDetailModel `json:"errors"`
}

ErrorClientResponse Example:

{
  "code": [outer_code],
  "errors": [
    {
      "attribute": "[attribute]",
      "code": [inner_code],
      "message": "[message]"
    }
  ]
}

type ErrorDetailModel

type ErrorDetailModel struct {
	Attribute string `json:"attribute"`
	Code      int    `json:"code"` // inner_code
	Message   string `json:"message"`
	CodeLabel string `json:"code_label"`
}

type ErrorResponse

type ErrorResponse struct {
	Name    string `json:"name"`
	Message string `json:"message"`
	Status  int    `json:"status"`
}

ErrorResponse Example ErrorResponse:

{
    "name": "Unauthorized",
    "message": "You are requesting with an invalid credential.",
    "status": 401,
}
{
    "name": "Not Found",
    "message": "Page not found.",
    "status": 404,
}

type ErrorResponses

type ErrorResponses struct {
	ErrorMessage string             `json:"error_message"`
	ErrorDetails []ErrorDetailModel `json:"error_details"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL