WowAddons

World of Warcraft Forever API · BattlepayConstants.md, for your AI

BattlepayConstants (types and enums)

8 tables, as Blizzard documents them for Forever 1.60.1 (70959).

Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.

Tables

Enum.BulkPurchaseResult enumeration

ResultOk0
ResultInProgress1
ResultPartialSuccess2
ResultFailed3
ResultTooManyProducts4
ResultSystemDisabled5
ResultInsufficientFunds6
ResultPurchaseTimeout7

Enum.BulkPurchaseStatus enumeration

PlacingOrders0
PurchasesPending1
FetchEntitlements2
Done3
Failed4

Enum.BulkRefundResult enumeration

ResultOk0
ResultFailed1
ResultInvalidRequest2
ResultRefundWindowExpired3
ResultSystemDisabled4
ResultTimeout5

Enum.CanRedeemTokenForBalanceResult enumeration

Ok0
FailureCap1

Enum.LoginTicketLicenses enumeration

GmLicense11486

Enum.PurchaseResult enumeration

Ok0
ErrorRiskDenied1
ErrorOrderFailed2
ErrorClientTimeout3
ErrorClientDeclined4
ErrorFailedToCreatePurchaseRecord5
ErrorFailedToGetPurchaseID6
ErrorFailedToSaveMopAndRiskStatus7
ErrorFailedToSaveMopAndRiskResponse8
ErrorClientGone9
ErrorFailedToSavePlaceOrderStatus10
ErrorBattlepayTimeoutMopAndRisk11
ErrorCurrencyInvalidInRegion12
ErrorBattlepayTemporarilyUnavailable13
ErrorBattlepayDisabled14
ErrorServerRestarted15
ErrorInvalidProduct16
ErrorInvalidRegionGroupMask17
ErrorProductInvalidInRegion18
ErrorDistributionObjectNotFound19
ErrorDistributionObjectAlreadyAssigned20
ErrorRiskResponseMissingScore21
ErrorMopAndRiskAmqpRpcFailed22
ErrorMopAndRiskRpcErrorFromBattlepay23
ErrorMopAndRiskUnexpectedResponseFromBattlepay24
ErrorMopAndRiskNoValidPaymentMethods25
ErrorOrderCanceledPriceChange26
ErrorBuyingProductNotAllowedInGlueScreen27
ErrorMopAndRiskNotEnoughBalance28
ErrorPlaceOrderNotEnoughBalance29
ErrorProgrammerManualFail30
ErrorThrottledByUserServer31
ErrorBuyingProductNotAllowedInWorld32
ErrorBlockedByParentalControls33
ErrorNoStorePurchaseFlagIsSet34
ErrorDistributionObjectInvalidChoice35
ErrorInvalidCreditCardExpiryDate36
ErrorAuthorizingPayment37
ErrorPaymentProviderDeniedPayment38
ErrorOverSpendingLimit39
ErrorClientTimeoutChallenge40
ErrorClientDeclinedChallenge41
ErrorDistributionObjectInvalidTarget42
ErrorFixedLicenseProductAlreadyExists43
ErrorDistributionObjectTrialBlocked44
ErrorDistributionObjectExpansionBlocked45
ErrorOwnsConsumableToken46
ErrorTooManyTokens47
ErrorCommerceServerDisabled48
ErrorFailedToWriteVasPurchaseID49
ErrorFailedToWriteVasLicenseID50
ErrorCharacterUpgradeOperationInProgress51
ErrorInvalidPlatform52
ErrorInvalidDeviceID53
ErrorFailedToSaveValidatePurchaseStatus54
ErrorFailedToSaveValidatePurchaseResponse55
ErrorBattlepayTimeoutValidatePurchase56
ErrorProductNotPurchasable57
ErrorFailedToSaveClientCheckoutStatus58
ErrorFailedOldPurchaseFlow59
ErrorClientCheckoutTimeout60
ErrorFailedToSaveValidationHashStatus61
ErrorBattlepayTimeoutValidationHash62
ErrorClientCheckoutCanceledOrFailed63
ErrorCouldNotGetValidationHash64
ErrorDistributionObjectWrongGameAccount65
ErrorClientRestricted66
ErrorFailedToSaveRedeemTokenStatus67
ErrorInvalidPurchaseID68
ErrorTokenRedemptionOrderFailed69
ErrorVasTransactionCreateFailed70
ErrorInManualReview71

Enum.SimpleOrderStatus enumeration

Invalid0
Creating1
InProgress2
Success3
Failed4

Enum.VasTransactionPurchaseResult enumeration

None0
VasPurchaseDisabled1
NoneCharacter2
NoneProduct3
OnlyOneVasAtATime4
InvalidDestinationRealm5
InvalidDestinationAccount6
InvalidSourceAccount7
DisallowedSourceAccount8
DisallowedDestinationAccount9
UnknownError10
LowerBoxLevel11
InvalidDistribution12
InvalidBpayProductID13
InvalidBpayDeliverableID14
InvalidBpayProductType15
EndServerErrors16
BeginProxyErrors17
ProxyBadObjType18
ProxyObjNotInDb19
ProxyUniqueKey20
ProxyDbError21
ProxyDataInvalid22
ProxyLostProxyConnection23
ProxyLocksFailed24
ProxyMissingResultsPtr25
ProxyLockedForTransfer26
ProxyNoReturnValue27
ProxyDeleteNotSupported28
ProxyObjDropped29
ProxyCannotDeleteGuildLeader30
ProxyCannotDeleteArenaCaptain31
ProxyMoneyLimitExceeded32
ProxyBadRequestContained33
ProxyIsReadonly34
ProxyBadDbType35
ProxyOperationAlreadyInProgress36
ProxyExternalUpdateDetected37
ProxyCharacterLevelTooHigh38
ProxyCharacterTransferred39
ProxyCharacterTransferredNoBoostInProgress40
ProxyLockedForUpgrade41
ProxyLockedForToken42
ProxyLockedForVas43
ProxyGenericError44
ProxyCannotInsertNull45
ProxyCannotUndeleteTrialBoostCharacter46
ProxyPredicateFailed47
ProxyWeeklyRewardNotFound48
ProxyInsertRequestContainedNoData49
ProxyInvalidKey50
ProxyBindFailed51
ProxyTooManyRows52
ProxyCharacterHasWoWToken53
ProxyTooBusyBackOff54
ProxyAccountDataTooBig55
ProxyNoMixedAlliance56
EndProxyErrors57
BeginDbErrors20010
DbRealmNotEligible20011
DbCannotMoveGuildmaster20012
DbMaxCharactersOnServer20013
DbNoMixedAlliance20014
DbDuplicateCharacterName20015
DbHasMail20016
DbAccountDoesNotOwnCharacter20017
DbMoveInProgress20018
DbCharacterDoesNotExist20019
DbNoCopiesAvailable20020
DbUnderMinLevelReq20021
DbIneligibleTargetRealm20022
DbTransferDateTooSoon20023
DbNewNameTooLong20024
DbCharNotLocked20025
DbCharLocked20026
DbAllianceNotEligible20027
DbBatchProcessingDisabled20028
DbNoneBatchQueueID20029
DbTransferNotFinalized20030
DbTransferNotCancellable20031
DbTooMuchMoneyForLevel20032
DbHasAuctions20033
DbLastSaveTooRecent20034
DbTransferNotLockable20035
DbTransferNotUnlockable20036
DbNoneRealmForEvent20037
DbEventRealmClosed20038
DbNoneTemplateForEvent20039
DbInventoryCorrupt20040
DbCouldNotObtainCharLock20041
DbNoneLockID20042
DbLockNotAcknowledged20043
DbLockAlreadyRequested20044
DbNoneSupportQueueID20045
DbNoneSupportActionID20046
DbNotRollbackable20047
DbNotMovebackable20048
DbRenameAlreadyRequested20049
DbReservationExpired20050
DbNameNotAvailable20051
DbLastRenameTooRecent20052
DbReservationDoesNotMatch20053
DbLastRequestTooSoon20054
DbAlreadyRenameFlagged20055
DbMultipleTransferCn20056
DbCustomizeAlreadyRequested20057
DbLastCustomizeTooSoon20058
DbWaitingForPayment20059
DbUnableToCustomize20060
DbFactionChangeTooSoon20061
DbRaceClassComboIneligible20062
DbDuplicateSupportRequest20063
DbCannotMoveArenaCaptn20064
DbNoCsiFound20065
DbPendingItemAudit20066
DbBatchStateInvalid20067
DbEventNotActive20068
DbGuildRankInsufficient20069
DbCharacterWithoutGuild20070
DbDeletedGuild20071
DbGmSenorityInsufficient20072
DbAuthenticatorInsufficient20073
DbGuildLevelInsufficient20074
DbRegionalDbNotFound20075
DbIneligibleMapID20076
DbBnetAccountNotProvided20077
DbBpayDeliveryPending20078
DbHasBpayToken20079
DbHasHeirloomItem20080
DbResultSourceAccountBanned20081
DbResultAccountRestricted20082
DbLastSaveTooDistant20083
DbCagedPetInInventory20084
DbOnBoostCooldown20085
DbNewLeaderInvalid20086
DbPvEPvPTransferNotAllowed20087
DbNeedsLevelSquish20088
DbHasUnclaimedCacheRewards20089
DbNeedsEraChoice20090
DbHasNewPlayerExperienceRestriction20091
DbHasCraftingOrders20092
DbNameChangeSkipped20093
DbInvalidName20094
DbBoostProcessingDisabled20095
DbHouseOwnerRestriction20096
EndDbErrors20097

It takes WowAddons

Free, for Windows, macOS and Linux: it puts the addon in your game in one click and keeps it up to date. Open it once, then press Install again.

WowAddons runs on your computer: open wowaddons.gg there.

Download for Windows