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 Code | Error Ref | Description |
---|---|---|
400 | 15004 | The authenticated user is already subscribed to the mod. |
400 | 900074 | This game only allows purchases in-game. |
402 | 900030 | The payment failed. Please try again later. |
403 | 15000 | Possible error values
|
403 | 15001 | This mod is hidden and the user cannot be subscribed to it. |
403 | 15011 | The item has not been accepted and can not be purchased at this time. |
403 | 15020 | This mod is missing a file and cannot be subscribed to. |
403 | 15023 | The item has been deleted and can not be purchased at this time. |
403 | 900012 | The monetization is currently in maintance mode. Please try again later. |
403 | 900015 | The account has been disabled from monetization. |
404 | 900022 | The game may not be currently active for monetization. |
422 | 900000 | An un expected error has occured. Please try again later. |
422 | 900001 | Unable to communicate with the monetization system. Please try again later. |
422 | 900002 | A failure has occured when trying to authenticate with the monetization system. |
422 | 900007 | The account has not been created with monetization. |
422 | 900008 | Unable to fetch the accounts' wallet. Please confirm the account has one |
422 | 900034 | The account already owns this item. |
422 | 900035 | The given display price does not match the price of the mod. |
422 | 900049 | The account has insufficent funds to make this purchase. |
422 | 900061 | The mod that was attempting to be purchased has sold out. Only applicable if the Game and Mod have enabled limited. |
Responses
- 200
- 400
- 402
- 403
- 404
- 422
Successful Request
The authenticated user is already subscribed to the mod.
The payment failed. Please try again later.
The item has not been accepted and can not be purchased at this time.
The game may not be currently active for monetization.
The given display price does not match the price of the mod.