POST Create Order
https://pd.{shard}.a.pvp.net/store/v1/order/ Create an in-game purchase order. The OfferID can be obtained from the POST Storefront endpoint.
Headers
-
X-Riot-Entitlements-JWT: {entitlement token} -
Authorization: Bearer {auth token}
URL Parameters
Other Variables
-
entitlement tokenCan be obtained locally with the Entitlements Token endpoint or remotely using Riot auth and the Entitlement endpoint -
auth tokenCan be obtained locally with the Entitlements Token endpoint or remotely by first using the Auth Cookies endpoint then using the cookies with the Auth Request endpoint
Body
type CreateOrderBody = {
/** Unique Riot identifier (36 characters, UUID format) */
XID: string;
/** The offer to purchase. Available offers can be found from the Storefront endpoint. */
OfferID: string;
}; {
"XID": "alienusLoipFUxmNUdeOyLIuMPvUYruPdwhm",
"OfferID": "51e3283c-0185-A0F2-72f7-aFD1AFab3474"
} Response
type CreateOrderResponse = {
/** The order UUID. Use with the Get Order endpoint to check order status. */
OrderID: string;
Status: "ACCEPTED" | "COMPLETE" | "FAILED";
}; {
"OrderID": "5D71dEFe-a3Cf-59ba-95A9-d556bcEd483a",
"Status": "FAILED"
}