Verify IAP

This API is the final step to complete the payment when purchasing

Request

POST /v1/receipt/verify HTTP/1.1
Host: iap-dev.api.mimiland.io
mm-client-id: mml
mm-user-id: 65325fd0d995b4f348456dca
Content-Type: application/json
Authorization: bearer v4.public.eyJhZC*****5xTtpdbQI
Content-Length: 7064

{
     "platformType": 1,
    "productType": 0,
    "clientConfigVersion": 1,
    "transactionId": "city_test_pass_verify_tx",
    "receipt":"MIIS****VBAsMAkc1MRMw***XRA==",             
    "productId":"COIN_PACK_3",
    "clientData": {
        "appVersion": "",      
        "appBundle": "",       
        "deviceId": "",        
        "osVersion": "",       
        "appLanguage": "",     
        "systemLanguage": "",
        "deviceModel": "",     
        "advertisementId": "", 
        "tgaDistinctId": "",
        "countryCode": "",     
        "priceLocale": ""
    }           
}

Parameter

Key
Type
Description

platformType *required

String

Type of the platform

productType *required

String

Type of the profuct

clientConfigVersion *required

String

Version of the config from client

transactionId *required

String

Id of the transaction

receipt *required

String

Transaction code

productId *required

String

Id of the product

Last updated