Skip to main content

Purchase A Mod (External)

POST 

/games/:game-id/mods/:mod-id/checkout

Purchase a mod. A Successful request will return the newly created Pay Object.

Request

Error Codes

Status CodeError RefDescription
40011069The authenticated user does not have an account connected for the given portal.
40015004The authenticated user is already subscribed to the mod.
400900074This game only allows purchases in-game.
402900030The payment failed. Please try again later.
40315000

Possible error values

  • This mod is currently under DMCA and the user cannot be subscribed to it.
  • This item cannot be purchased at this time due to a DMCA takedown request.
40315001This mod is hidden and the user cannot be subscribed to it.
40315011The item has not been accepted and can not be purchased at this time.
40315020This mod is missing a file and cannot be subscribed to.
40315023The item has been deleted and can not be purchased at this time.
403900012The monetization is currently in maintance mode. Please try again later.
403900014The mod has not been configured for monetization.
403900015The account has been disabled from monetization.
403900054The In-App Purchase config has not been configured for this game and portal pair. Please submit the required credentials within the IAP config section of your game admin panel.
404900022The game may not be currently active for monetization.
422900000An un expected error has occured. Please try again later.
422900001Unable to communicate with the monetization system. Please try again later.
422900002A failure has occured when trying to authenticate with the monetization system.
422900007The account has not been created with monetization.
422900008Unable to fetch the accounts' wallet. Please confirm the account has one
422900020The game has not setup a marketplace for monetization.
422900021The mod has not been configured for the marketplace.
422900034The account already owns this item.
422900035The given display price does not match the price of the mod.
422900049The account has insufficent funds to make this purchase.
422900051The mod does not have a SKU assigned for the given portal.
422900055The transaction could not be finalized due to an unexpected error. The mod will still be issued to the user at this point as the portal entitlement was consumed (an irreversible operation)
422900061The mod that was attempting to be purchased has sold out. Only applicable if the Game and Mod have enabled limited.
422900064Creation of the payment intent or the consumption of the entitlement within the third party portal failed.
422900098The provided portal is not a supported platform.
See here for more details about errors.

Responses

Successful Request