Skip to main content

Get all Callback Log

Callback Log Endpoint

Retrieve details of a CallbackLog by their ID.

Badge https://sandbox.tickpay.com/api/v1/callbacklogs/{id}

Request

To access this endpoint, you need to provide a valid access token in the Authorization header.

Use the following cURL command to retrieve details of all Callbacklogs:

curl -X 'GET' \
'https://sandbox.tickpay.com/api/v1/callbackLogs/id' \
-H 'accept: application/json' \
-H 'Authorization: Bearer your_access_token'

Response

The response will contain a data object, along with additional information:

{
"success": true,
"messageError": null,
"data": {
"id": "db564d8b-183f-4f22-bf41-7af26636b661",
"url": "https://tickpay.com/response",
"responseStatus": 200,
"status": "SUCCESS",
"request": {
"id": "857ce245-92f8-4580-8be8-979ade39ce49",
"value": 5000,
"tax": 20,
"description": "CASH-IN PAID SUCCESSFULLY!",
"operation": "CASHIN",
"status": "SUCCEED",
"codeCopyPaste": "chave:01234567890;valor:50.00;descricao:Pagamento de exemplo",
"qrcodeImage": "data:image/png;base64,iVBORw0KGgoAAA...",
"metadata": {
"foo": "bar"
},
"payer": {
"name": "John Doe",
"email": "[email protected]",
"phone": "31988774466",
"document": "11111111111"
},
"callbackUrl": "https://tickpay.com/response",
"externalReference": "your_internal_id",
"createdAt": "2024-04-13T20:39:44.897Z"
},
"response": {
"response": "ok"
},
"createdAt": "2024-04-13T20:39:44.897Z"
}
}

Response Properties

ParameterDescriptionDefault Value
successIndicates whether the request was successful.false
messageErrorError message.null
data Properties
idUnique identifier for the log.
urlURL called to generate log.
responseStatusStatus generate when the URL was call.
statusStatus received when this callback was call.
responseMessage from callback
createdAtWhen was created this log.
request Properties
idUnique identifier for the transaction.
valueSpecific value in the response, representing cents.> 0
taxTax value.
descriptionDescription of the operation.
operationType of operation.
statusCurrent status of the transaction.
codeCopyPasteURL for copying and pasting the code.
qrcodeImageData URI for the QR code image.
metadataAdditional metadata.
payerInformation about the payer.
callbackUrlURL for callback.
externalReferenceExternal reference identifier.
createdAtDate and time of creation.