Validate Routes

Routes

ValidateGoogle

POST /validate/google

Authentication: Required

Validates an in-app purchase with the Google Play store.

Request

POST /validate/google
Content-Type: application/json
Authorization: jwt <token>

{
    "packageName": "string",
    "productId": "string",
    "token": "string",
    "type": "string"
}

Response

200 OK

ValidateApple

POST /validate/apple

Authentication: Required

Validates an in-app purchase with the Apple Store.

Request

POST /validate/apple
Content-Type: application/json
Authorization: jwt <token>

{
    "receipt": "string"
}

Response

200 OK