Obter um comprovante de uma transação
Changed onRequest
- Base URLhttps://sandbox.openfinance.celcoin.dev
- AuthAPI key in header Authorization
- TypeScripthttps://skmtc.dev/celcoin/apis/api-para-transa-es/docs/v5/transactions/receipt/:transactionId/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
ID da transação para a consulta.
Response
Success
Example response
{
"convenant": "CELCOIN",
"authentication": 3470,
"receipt": {
"receiptformatted": " PROTOCOLO 0007098104\r\n1 24/06/2021 17:49\r\nTERM 228005 AGENTE 228005 AUTE 06153\r\n----------------------------------------\r\nAUTO 919755 PAGAMENTO\r\n \r\n GENERICA CC\r\n 82610000000-7 30700022001-1 \r\n 06104045000-1 03202180003-5\r\n----------------------------------------\r\nDATA DE LIQUIDACAO 24/06/2021\r\nVALOR COBRADO 30,70\r\n\r\n VALIDO COMO RECIBO DE PAGAMENTO\r\n----------------------------------------\r\n AUTENTICACAO\r\n 2D.46.A6.46.99.A4.22.2D\r\n 86.32.67.47.DC.B8.B8.E1\r\n----------------------------------------\r\n \r\nCONSULTE A AUTENTICA??O EM:\r\nCELCOIN.COM.BR/AUTENTICACAO\r\n\r\n"
},
"authenticationAPI": {
"bloco1": "CC.D7.0F.AF.BF.76.8B.D8",
"bloco2": "E3.30.DC.BF.C5.FB.5F.54",
"blocoCompleto": "CC.D7.0F.AF.BF.76.8B.D8.E3.30.DC.BF.C5.FB.5F.54"
},
"settleDate": "2021-06-24T00:00:00",
"createDate": "2021-06-24T11:31:10",
"transactionId": 7098104,
"urlreceipt": "https://www.celcoin.com.br",
"errorCode": "000",
"message": "SUCESSO"
}Changes
- breaking
for the
pathrequest parametertransactionId, the type changed fromstringtointeger, and format from no format toint32 - breaking
removed the media type
application/jsonfor the response with the status - breaking
removed the media type
application/jsonfor the response with the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
/became nullable for the status - breaking
the response property
became nullable for the status - breaking
the
response's property type changed frombooleantointeger, and format from no format toint64for status - info
api operation id
obter-um-comprovante-de-uma-transaçãoremoved and replaced with - info
the endpoint scheme security
Bearerwas added to the API - info
api tag
transactionsadded - info
the
response's property default value0was removed for the status - info
the
response's property default valuetruewas removed for the status - info
the
response's property default value0was removed for the status - info
the
response's property default value0was removed for the status
- breaking