Generate License

Generate a license code for a given SDK product.

Example Request


curl -X POST \
     -d 'vendor_id=12345' \
     -d 'vendor_auth_code=123:456abc...' \
     -d 'product_id=1234567' \
     -d 'allowed_uses=5' \
     -d 'expires_at=2018-10-10' \
     https://vendors.paddle.com/api/2.0/product/generate_license

Example Response


{
    "success": true,
    "response": {
        "license_code": "2DEDF6A4-86420251-0927C417-43523113-CA22C29B",
        "expires_at": "2018-10-10"
    }
}