Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
12 kB
2
Indexable
"Check signature validation",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\",\n    \"pass_provider_is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"win\",\n        \"amount\": \"3126.22\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"bb53b4c4e20949809f672877a4bcfbd2\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"win\",\n        \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\"\n    },\n    \"response\": {\n        \"error_code\": \"INTERNAL_ERROR\",\n        \"error_description\": \"Invalid sign\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403723\",\n        \"X-Nonce: c9913a221e244a71b63f39774e430654\",\n        \"X-Sign: f98f0a6f997b0cff1b89672c853504878e8a4be7\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"b7781651d98e4c71959f5a178c219384\"\n}",
"Signature validation passed",
"Sending \"bet\" with full balance amount = 44660.35, currency = EUR and ID = a3b59dc05cb64bc7a5cb7b2ea2f60ed7",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\",\n    \"pass_provider_is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"bet\",\n        \"amount\": \"44660.35\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"a3b59dc05cb64bc7a5cb7b2ea2f60ed7\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"bet\",\n        \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\"\n    },\n    \"response\": {\n        \"balance\": \"0.00\",\n        \"transaction_id\": \"1045\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403723\",\n        \"X-Nonce: 72393b9032ff4ad096f3548730a8eae9\",\n        \"X-Sign: fbbbaba0160a4dfd4d82ece6e6906c03ef3ca7f3\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"Sending \"win\" request with amount = 35.00, currency = EUR and ID = 49315230eb184a5c8d76a116ed6b2680",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\",\n    \"pass_provider_is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"win\",\n        \"amount\": \"35.00\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"49315230eb184a5c8d76a116ed6b2680\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"win\",\n        \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\"\n    },\n    \"response\": {\n        \"balance\": \"35.00\",\n        \"transaction_id\": \"1045\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403723\",\n        \"X-Nonce: e5a43317bc634e9f9a66f6e03d678687\",\n        \"X-Sign: 6481961cac81b7eaef9549e8606ad327a9a497ae\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"Sending \"bet\" request with amount = 34.99, currency = EUR and ID = 924727d114b546adb26426612f2838b3",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\",\n    \"pass_provider_is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"bet\",\n        \"amount\": \"34.99\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"924727d114b546adb26426612f2838b3\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"bet\",\n        \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\"\n    },\n    \"response\": {\n        \"balance\": \"35.00\",\n        \"transaction_id\": \"1045\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403723\",\n        \"X-Nonce: 9d06dd60a2bc473586bb37bbe5710b57\",\n        \"X-Sign: 54d4dd966a0feb316a76c395a48b6eb813d16afd\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"Sending \"win\" with full balance amount = 44660.35, currency = EUR and ID = b0a06a96a4844172afd26d0823b0420b",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\",\n    \"pass_provider_is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"win\",\n        \"amount\": \"44660.35\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"b0a06a96a4844172afd26d0823b0420b\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"win\",\n        \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\"\n    },\n    \"response\": {\n        \"balance\": \"44695.35\",\n        \"transaction_id\": \"1045\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403723\",\n        \"X-Nonce: 457ede7f207d40ce8acfa20006c4a1a6\",\n        \"X-Sign: 3150b13b7f55513b769a6d2708ee633dfc92c56e\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"Decimal arithmetic request warning. Expected decimal balance balance = 0.0100, returned balance = 35.00",
"Check transaction_id in response",
"Sending \"bet\" request with amount = 11173.84, currency = EUR and ID = 747154c3420c48dd80768da062fc34b4",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\",\n    \"pass_provider_is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"bet\",\n        \"amount\": \"11173.84\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"747154c3420c48dd80768da062fc34b4\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"bet\",\n        \"round_id\": \"fed0644ad8bb44b5bdfbcf002d83aab0\"\n    },\n    \"response\": {\n        \"balance\": \"44695.35\",\n        \"transaction_id\": \"1045\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403723\",\n        \"X-Nonce: 2bc41f48f8bb4bcc824dbc0b580c680d\",\n        \"X-Sign: dec9aff506e92458eb2c69f2f4f69e6a149459f1\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"Transaction id validation passed",



"Sending \"bet\" request with amount = 7595.35, currency = EUR and ID = 7ff4cc76453c4ffdbc6c0507438b129f",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"9ddd866baa0f4cac98a0238443401983\",\n    \"pass_provider_is_finished\": 1,\n    \"is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"bet\",\n        \"amount\": \"7595.35\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"7ff4cc76453c4ffdbc6c0507438b129f\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"bet\",\n        \"round_id\": \"9ddd866baa0f4cac98a0238443401983\",\n        \"finished\": false\n    },\n    \"response\": {\n        \"balance\": \"32380.17\",\n        \"transaction_id\": \"1047\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403724\",\n        \"X-Nonce: 0e596a58b1a849be92092f240d5c461c\",\n        \"X-Sign: 1a26f59bd1efd12c055b4d4ec7e51b0b0f54e57f\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"\"bet\" request successfully passed",
"Sending \"bet\" request with amount = 1619.01, currency = EUR and ID = d212c2840f414d079d57751683c47f49",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"9ddd866baa0f4cac98a0238443401983\",\n    \"pass_provider_is_finished\": 1,\n    \"is_finished\": false\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"bet\",\n        \"amount\": \"1619.01\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"d212c2840f414d079d57751683c47f49\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"bet\",\n        \"round_id\": \"9ddd866baa0f4cac98a0238443401983\",\n        \"finished\": false\n    },\n    \"response\": {\n        \"balance\": \"32380.17\",\n        \"transaction_id\": \"1047\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403724\",\n        \"X-Nonce: 60446b7b0a224c749ca191829f42dd53\",\n        \"X-Sign: 6228056797631210455480e8b01ab201d99f11c7\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"\"bet\" request failed. Bet amount = 1619.01, balance before bet = 32380.17, returned balance = 32380.17",
"Sending \"win\" request with amount = 6799.84, currency = EUR and ID = ddbfec3f61d240a399c3feb2e2b1e25a",
"{\n    \"pass_provider_round\": 1,\n    \"round_id\": \"9ddd866baa0f4cac98a0238443401983\",\n    \"pass_provider_is_finished\": 1,\n    \"is_finished\": true\n}",
"{\n    \"url\": \"https:\\/\\/testing.rebel-dev.site\\/api\\/2WinPower\",\n    \"query\": {\n        \"action\": \"win\",\n        \"amount\": \"6799.84\",\n        \"currency\": \"EUR\",\n        \"game_uuid\": \"23ca989db9ca5ad94dbca17fa54a123f3f7efc9d\",\n        \"player_id\": \"1\",\n        \"transaction_id\": \"ddbfec3f61d240a399c3feb2e2b1e25a\",\n        \"session_id\": \"0aa42472-347a-4638-8270-47df931ce1ed\",\n        \"type\": \"win\",\n        \"round_id\": \"9ddd866baa0f4cac98a0238443401983\",\n        \"finished\": true\n    },\n    \"response\": {\n        \"balance\": \"39180.01\",\n        \"transaction_id\": \"1047\"\n    },\n    \"headers\": [\n        \"X-Merchant-Id: 40a9e927413f110b0e3432bd4591341f\",\n        \"X-Timestamp: 1697403724\",\n        \"X-Nonce: 214da9b29bed459d95085719926d2a7d\",\n        \"X-Sign: 1abe0692cd26a1093d89222dd28b5a9a5e1e0dae\"\n    ],\n    \"curlInfo\": [],\n    \"merchantId\": \"40a9e927413f110b0e3432bd4591341f\",\n    \"merchantKey\": \"628009a19a119725a6395d9081b96c8abe9e9109\"\n}",
"\"win\" request successfully passed",