Просмотр файла sdark.mobi/vendor/xsolla/xsolla-sdk-php/tests/resources/token.json

Размер файла: 877B
{
  "user": {
    "id": {
      "value": "USER_ID",
      "hidden": false,
      "allow_modify": true
    },
    "name": {
      "value": "USER_NAME",
      "hidden": false,
      "allow_modify": true
    },
    "email": {
      "value": "[email protected]",
      "hidden": false,
      "allow_modify": true
    },
    "country": {
      "value": "US",
      "allow_modify": true
    }
  },
  "settings": {
    "project_id": 15861,
    "language": "en",
    "currency": "USD",
    "return_url": "http://example.com",
    "mode": "sandbox",
    "payment_method": 1,
    "ui": {
      "size": "medium",
      "theme": "dark"
    }
  },
  "purchase": {
    "virtual_currency": {
      "quantity": 100,
      "allow_modify": true,
      "hidden": false
    },
    "description": {
      "value": "Test Purchase"
    }
  },
  "custom_parameters": {
    "parameter1": "value1"
  }
}