...
...
01. Corpo da requisição de envio de novo pedidos inteirodo processamento de um pagamento:
Âncora |
---|
| pgto |
---|
| pgto | todos_status | todos_status |
---|
|
Bloco de código |
---|
title | Corpo da requisição no JSON |
---|
linenumbers | true |
---|
|
{
"integrationHubServiceId": "efdd6093-5539-4ac4-ad84-7423a8078dde",
"orderKeyType": "TABLE",
"orderKey": "2",
"paymentObject": {
"printOrderAtPos": true,
"generateInvoice": true,
"printInvoiceAtPos": true,
"sendInvoiceEmail": false,
"summaryExtract": false,
"customerDocument": null,
"documentInReceipt": false,
"numberPersons": 1,
"removeServiceFee": false,
"methods": [
{
"value": 67.10,
"currency": "BRL",
"type": "OFFLINE",
"method": "CREDIT",
"methodInfo": "VISA"
}
],
"orderAmount": 61.0,
"discounts": 0.00,
"fees": 6.10,
"total": 67.10
}
} |
...
02. Retorno da requisição do processamento do pedido do pagamento:
Âncora |
---|
| detalhespgto_pedido_especificoprocessamentodetalhes |
---|
| pgto_pedido_especificoprocessamento |
---|
|
Bloco de código |
---|
title | JSON Para retornar o status de um pedido específico |
---|
linenumbers | true |
---|
|
{
"errors": [
{
"key": "orderKeyType_orderKey",
"message": "Order Payment request already exists: TABLE-2"
}
]
} |
Nota |
---|
title | Nota: HTTP Status Code = 208 Already Reported |
---|
|
Sua solicitação foi aceita mas ainda não processada, aguarde alguns instantes e procure o status. |
...
03. Retorno da requisição após realização do processamento do pagamento e emissão da NFCe:
Bloco de código |
---|
title | JSON da resposta do processamento |
---|
linenumbers | true |
---|
|
{
"integrationHubServiceId": "4bac08db-2c6e-4663-a285-d7acfdce579c",
"success": true,
"orderKeyType": "TABLE",
"orderKey": "50",
"paymentObject": {
"printOrderAtPos": true,
"generateInvoice": true,
"printInvoiceAtPos": true,
"sendInvoiceEmail": false,
"summaryExtract": false,
"customerDocument": null,
"documentInReceipt": false,
"numberPersons": 1,
"removeServiceFee": false,
"methods": [
{
"value": 67.1,
"currency": "BRL",
"type": "ONLINE",
"method": "CREDIT",
"methodInfo": "VISA"
}
],
"orderAmount": 61,
"discounts": 0,
"fees": 6.1,
"total": 67.1
},
"invoiceDetails": {
"orderXML": "
<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<nfeProc versao=\"4.00\"
xmlns=\"http://www.portalfiscal.inf.br/nfe\" >
<NFe>
<infNFe versao=\"4.00\" Id=\"NFe35240882373077000171650010004112441194594623\">
<ide>
<cUF>35</cUF>
<cNF>19459462</cNF>
<natOp>VENDA</natOp>
<mod>65</mod>
<serie>1</serie>
<nNF>411244</nNF>
<dhEmi>2024-08-16T15:17:35-03:00</dhEmi>
<tpNF>1</tpNF>
<idDest>1</idDest>
<cMunFG>3539806</cMunFG>
<tpImp>4</tpImp>
<tpEmis>1</tpEmis>
<cDV>3</cDV>
<tpAmb>2</tpAmb>
<finNFe>1</finNFe>
<indFinal>1</indFinal>
<indPres>1</indPres>
<procEmi>0</procEmi>
<verProc>03.2408.</verProc>
</ide>
<emit>
<CNPJ>82373077000171</CNPJ>
<xNome>ALBINO LTDA</xNome>
<xFant>BOTECO DO ALBINO</xFant>
<enderEmit>
<xLgr>AMELIA LATURRE</xLgr>
<nro>100</nro>
<xBairro>CENTRO</xBairro>
<cMun>3539806</cMun>
<xMun>POA</xMun>
<UF>SP</UF>
<CEP>13211815</CEP>
<cPais>1058</cPais>
<xPais>BRASIL</xPais>
<fone>4145838800</fone>
</enderEmit>
<IE>128571670117</IE>
<IM>65656565</IM>
<CRT>3</CRT>
</emit>
<det nItem=\"1\">
<prod>
<cProd>058</cProd>
<cEAN>SEM GTIN</cEAN>
<xProd>NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL</xProd>
<NCM>22021000</NCM>
<cBenef>PR810000</cBenef>
<CFOP>5101</CFOP>
<uCom>UN</uCom>
<qCom>1.0000</qCom>
<vUnCom>61.0000</vUnCom>
<vProd>61.00</vProd>
<cEANTrib>SEM GTIN</cEANTrib>
<uTrib>UN</uTrib>
<qTrib>1.0000</qTrib>
<vUnTrib>61.0000</vUnTrib>
<indTot>1</indTot>
</prod>
<imposto>
<vTotTrib>19.45</vTotTrib>
<ICMS>
<ICMS20>
<orig>0</orig>
<CST>20</CST>
<modBC>3</modBC>
<pRedBC>12.0000</pRedBC>
<vBC>53.68</vBC>
<pICMS>18.0000</pICMS>
<vICMS>9.66</vICMS>
</ICMS20>
</ICMS>
<PIS>
<PISNT>
<CST>07</CST>
</PISNT>
</PIS>
<COFINS>
<COFINSNT>
<CST>07</CST>
</COFINSNT>
</COFINS>
</imposto>
</det>
<det nItem=\"2\">
<prod>
<cProd>999</cProd>
<cEAN>SEM GTIN</cEAN>
<xProd>TAXA SERVICO</xProd>
<NCM>22021000</NCM>
<CFOP>5102</CFOP>
<uCom>UN</uCom>
<qCom>6.1000</qCom>
<vUnCom>1.0000</vUnCom>
<vProd>6.10</vProd>
<cEANTrib>SEM GTIN</cEANTrib>
<uTrib>UN</uTrib>
<qTrib>6.1000</qTrib>
<vUnTrib>1.0000</vUnTrib>
<indTot>1</indTot>
</prod>
<imposto>
<vTotTrib>1.95</vTotTrib>
<ICMS>
<ICMS00>
<orig>0</orig>
<CST>00</CST>
<modBC>3</modBC>
<vBC>6.10</vBC>
<pICMS>3.0000</pICMS>
<vICMS>0.18</vICMS>
</ICMS00>
</ICMS>
<PIS>
<PISNT>
<CST>07</CST>
</PISNT>
</PIS>
<COFINS>
<COFINSNT>
<CST>07</CST>
</COFINSNT>
</COFINS>
</imposto>
</det>
<total>
<ICMSTot>
<vBC>59.78</vBC>
<vICMS>9.84</vICMS>
<vICMSDeson>0.00</vICMSDeson>
<vFCP>0.00</vFCP>
<vBCST>0.00</vBCST>
<vST>0.00</vST>
<vFCPST>0.00</vFCPST>
<vFCPSTRet>0.00</vFCPSTRet>
<vProd>67.10</vProd>
<vFrete>0.00</vFrete>
<vSeg>0.00</vSeg>
<vDesc>0.00</vDesc>
<vII>0.00</vII>
<vIPI>0.00</vIPI>
<vIPIDevol>0.00</vIPIDevol>
<vPIS>0.00</vPIS>
<vCOFINS>0.00</vCOFINS>
<vOutro>0.00</vOutro>
<vNF>67.10</vNF>
<vTotTrib>21.40</vTotTrib>
</ICMSTot>
</total>
<transp>
<modFrete>9</modFrete>
</transp>
<pag>
<detPag>
<indPag>0</indPag>
<tPag>03</tPag>
<vPag>67.10</vPag>
<card>
<tpIntegra>2</tpIntegra>
</card>
</detPag>
<vTroco>0.00</vTroco>
</pag>
<infAdic>
<infCpl>Mesa: 50 Pedido:48 TOTVS CHEF Aplicativo: TOTVS Chef 03.2408. Serie: 96736041 Valor aproximado dos tributos deste cupom: Federal: R$ 9.32 Estadual: R$ 12.08 Municipal: R$ 0.00 Fonte IBPT/empresometro.com.br SP B047CD</infCpl>
<obsCont xCampo=\"Series\">
<xTexto>MDAxMDAwNDExMjQ0MDAxMDAwNDExMjQ0</xTexto>
</obsCont>
</infAdic>
<infRespTec>
<CNPJ>82373077000171</CNPJ>
<xContato>Renato Alves</xContato>
<email>[email protected]</email>
<fone>1120997271</fone>
</infRespTec>
</infNFe>
<infNFeSupl>
<qrCode>
<![CDATA[https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode?p=35240882373077000171650010004112441194594623|2|2|3|8D40911388AD28F90084AE3719A34693E143BFC3]]>
</qrCode>
<urlChave>https://www.homologacao.nfce.fazenda.sp.gov.br/consulta</urlChave>
</infNFeSupl>
<Signature
xmlns=\"http://www.w3.org/2000/09/xmldsig#\">
<SignedInfo>
<CanonicalizationMethod Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"/>
<SignatureMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#rsa-sha1\"/>
<Reference URI=\"#NFe35240882373077000171650010004112441194594623\">
<Transforms>
<Transform Algorithm=\"http://www.w3.org/2000/09/xmldsig#enveloped-signature\"/>
<Transform Algorithm=\"http://www.w3.org/TR/2001/REC-xml-c14n-20010315\"/>
</Transforms>
<DigestMethod Algorithm=\"http://www.w3.org/2000/09/xmldsig#sha1\"/>
<DigestValue>MXav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E_PL_009_V400</verAplic>
<chNFe>35240882373077000171650010004112441194594623</chNFe>
<dhRecbto>2024-08-16T15:17:38-03:00</dhRecbto>
<nProt>135240002154737</nProt>
<digVal>MXavema7a33mkklhtGM9J06sZG0=</digVal>
<cStat>100</cStat>
<xMotivo>Autorizado o uso da NF-e</xMotivo>
</infProt>
</protNFe>
</nfeProc>",
"invoiceKey": "35240882373077000171650010004112441194594623",
"qrCode": "https://www.homologacao.nfce.fazenda.sp.gov.br/qrcode?p=35240882373077000171650010004112441194594623|2|2|3|8D40911388AD28F90084AE3719A34693E143BFC3"
},
"error": null
} |
...