Get brcode payment log by ID

GET {{baseUrl}}/{{version}}/brcode-payment/log/:logId

Get a single brcode payment log by its id.

Request Params

KeyDatatypeRequiredDescription
fieldsnullList of strings to filter response JSON keys. Not available in the SDKs.

HEADERS

KeyDatatypeRequiredDescription
cursornullString used to get the next batch of results. Our SDKs handle this for you.
limitnullNumber of results per cursor. Max = 100.
fieldsnullList of strings to filter response JSON keys. Not available in the SDKs.
afternullFilter entities created after this date.
beforenullFilter entities created before this date.
typesnullFilters logs by log types.
paymentIdsnullArray of payment ids linked to the desired logs.

RESPONSES

status: OK

{"log":{"payment":{"status":"failed","scheduled":"2020-11-24T07:21:07.054849+00:00","updated":"2020-11-24T07:30:03.628801+00:00","description":"BR Code Stark Bank","tags":[],"taxId":"22.653.392/0001-20","transactionIds":[],"id":"5942041938755584","fee":50,"name":null,"created":"2020-11-24T07:21:07.173822+00:00","amount":0,"brcode":"00020101021226890014br.gov.bcb.pix2567invoice-h.sandbox.starkbank.com/v2/db86835d61274c7799a1f637b2b6f8b652040000530398654040.005802BR5915Stark Bank S.A.6009Sao Paulo62070503***6304FCCE","type":"dynamic"},"errors":["This QR Code is not valid, please contact issuing institution"],"type":"failed","id":"5294716681715712","created":"2020-11-24T07:21:08.274567+00:00"}}