...
Bloco de código | ||
---|---|---|
| ||
{ "Authenticator": null, "ClosedSale": null, "Event": "cetBefore", "Execution": "cetContinue", "ID": "001897000030608001897000030620", "Operation": "cotSalePaymentBefore", "ParkingTicketPay": null } |
Bloco de código | ||
---|---|---|
| ||
"payBefore": { "idDocumentDiscount": "12345646"0.0000000000000000E+000, "documentIncrease": "71981526978830"0.0000000000000000E+000, "documentTypePaymentNumber": "cdtCNPJ"1, "solidaryChangePaymentType": 2"cptBillet", "discountThing": 0.0000000000000000E+000, "increaseTotal": 01.0000000000000000E+001, } |
Tabela dos campos retornado pela interação com o parceiro
...
Exemplo JSON Response recebido do parceiro
Bloco de código | ||
---|---|---|
| ||
{ "version": 1, "sale, "Sale": { "increase": 0, "discountDiscount": 0.0000000000000000E+000, "total": 0, "headerDiscountCodes": ,[ "payments": [], "paymentChangeDiscountNotApplied": 0.0000000000000000E+000, "solidaryChange": , "itemsHeader": [{ { "itemNumberAccountingDate": 1"2025-04-11T00:00:00", "unitPriceCooDocument": 0480, "increasePriceDateTimeIssue": 0"2025-04-11T17:09:13", "packingQuantityIdDocument": 030620, "quantityIdStore": 01, "totalPriceIdTerminal": 0897, "discountPriceIdUser": 0.3242, "statusStatus": "sttValid" }, "sellerCodeID": 0"001897000030620", "partitionIncreaseIncrease": []0.0000000000000000E+000, "partitionDiscountItems": [ { "priceBarCode": 0.162"7891000100103", "partnerCodeCaptionPacking": 0"UN", "promotionCodeDescription": 62 "LEITE COND MOCA LATA 395G LEITE COND MOCA", "discountAmountDiscountPrice": 10.0000000000000000E+000, }, "IdSegment": 3, { "priceIncreasePrice": 0.1620000000000000000E+000, "partnerCodeInternalCode": 0"4900", "promotionCodeItemNumber": 831, "discountAmountPackingQuantity": 1.0000000000000000E+000, } "Quantity": 1.0000000000000000E+000, ] } ], "discountCodesStatus": []"sttValid", "messages": { "customerTotalPrice": [3.2400000000000002E+000, { "textUnitPrice": 3.2400000000000002E+000 } ], "userTotal": [3.2400000000000002E+000, {"TotalSale": 0.0000000000000000E+000, }, "Version": 1 } |
Bloco de código | ||
---|---|---|
| ||
{ "textversion": 1, "sale": { "items": }[ ]{ }, "vouchersPrintitemNumber": [1, { "discountPrice": 0.324, "textstatus": "sttValid", }, "partitionDiscount": [ { "textprice": 0.162, } ], "observationpromotionCode": 87, "partitionIncrease": [], "partitionDiscountdiscountAmount": [1 { }, "price": 0, { "partnerCodeprice": 0.162, "promotionCode": 4988, "discountAmount": 01 } ], "taxDocument": , ] "print": {} }, ] "pay": }, "payBefore": { "idDocument": "12345646", "document": "71981526978830", "documentType": "cdtCNPJ", "solidaryChange": 2 }, "return": { "discountskipNextEvents": 0false, "increaseclientToken": 0"7ec731ad-c901-4baa-8f87-14e349362797" }, "returnexecution": "cetCompleted" } |
Tabela dos campos retornado pela interação com o parceiro
PARÂMETRO | TIPO | OBRIGATÓRIO | DESCRIÇÃO |
idDocument | String | false | Identificação documento parceiro |
document | String | false | Documento (CPF ou CNPJ) enviado pelo parceiro |
documentType | String | false | Tipo do documento |
solidaryChange | Double | false | Valor para adicionar ao valor da forma de pagamento |
increase | Double | false | Valor para adicionar ao valor da forma de pagamento |
discount | Double | false | Valor para descontos |
Exemplo JSON Response recebido do parceiro
Bloco de código | ||
---|---|---|
| ||
{ "version": 1, "sale": "code{ "items": [{ "itemNumber": 01, "payNumberUnappliedIncentive "discountPrice": 0 }.324, "execution "status": "cetContinuesttValid", "interpret "partitionDiscount": [{ "commandType": "cctPay", "messageCommand": , "options": , "value": , "pay": { "value": 10, "paymentTypes": [], "operation": "optPayment", "iDPayment": "1234567890" } }, "vouchersPrint": [ { "text": } ] "price": 0.162, "promotionCode": 62, "discountAmount": 1 }, { "price": 0.162, "promotionCode": 83, "discountAmount": 1 } ] }], "partitionDiscount": [{ "promotionCode": 49, }] }, "payBefore": { "idDocument": "12345646", "document": "71981526978830", "documentType": "cdtCNPJ", "solidaryChange": 2, }, "execution": "cetContinue", "interpret": { "commandType": "cctPay", "pay": { "value": 10, "operation": "optPayment", "iDPayment": "1234567890" } } } |
...