Skip to content

Instantly share code, notes, and snippets.

@woto
Created April 21, 2024 22:28
Show Gist options
  • Save woto/3796e2b9f026ff3a2959c46d511319e7 to your computer and use it in GitHub Desktop.
Save woto/3796e2b9f026ff3a2959c46d511319e7 to your computer and use it in GitHub Desktop.
Tinkoff cancel
{
"TerminalKey": "TinkoffBankTest",
"PaymentId": 2304882,
"Token": "c0ad1dfc4e94ed44715c5ed0e84f8ec439695b9ac219a7a19555a075a3c3ed24",
"IP": "192.168.255.255",
"Amount": 19200,
"Receipt": {
"FfdVersion": "string",
"ClientInfo": {
"Birthdate": "string",
"Citizenship": "string",
"DocumentСode": "21",
"DocumentData": "string",
"Address": "string"
},
"Taxation": "osn",
"Email": "a@test.ru",
"Phone": "+79031234567",
"Customer": "78894325",
"CustomerInn": "788621292",
"Items": {
"AgentData": {
"AgentSign": "paying_agent",
"OperationName": "Позиция чека",
"Phones": [
"+790912312398"
],
"ReceiverPhones": [
"+79221210697",
"+79098561231"
],
"TransferPhones": [
"+79221210697"
],
"OperatorName": "Tinkoff",
"OperatorAddress": "г. Тольятти",
"OperatorInn": "7710140679"
},
"SupplierInfo": {
"Phones": [
"+79221210697",
"+79098561231"
],
"Name": "ООО Вендор товара",
"Inn": "7710140679"
},
"Name": "Наименование товара 1",
"Price": 10000,
"Quantity": 1,
"Amount": 10000,
"Tax": "vat10",
"PaymentMethod": "full_prepayment",
"PaymentObject": "goods_with_marking_code",
"UserData": "Данные пользователя ext.test.qa@tinkoff.ru",
"Excise": "12.2",
"CountryCode": "056",
"DeclarationNumber": "12345678901",
"MeasurementUnit": "шт",
"MarkProcessingMode": "string",
"MarkCode": {
"MarkCodeType": "EAN8",
"Value": "12345678"
},
"MarkQuantity": {
"Numerator": 1,
"Denominator": 2
},
"SectoralItemProps": {
"FederalId": "001",
"Date": "21.11.2020",
"Number": "123/43",
"Value": "test value SectoralItemProps"
}
},
"Payments": {
"Cash": 90000,
"Electronic": 50000,
"AdvancePayment": 0,
"Credit": 0,
"Provision": 0
}
},
"Shops": [
{
"ShopCode": "700456",
"Amount": 10000,
"Name": "Товар"
}
],
"QrMemberId": "77892",
"Route": "BNPL",
"Source": "BNPL",
"ExternalRequestId": "string"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment