Rotina responsável por efetuar a consulta de um Pix cobrança com vencimento.
GET
Sandbox:
https://pix.tecnospeed.com.br/sandbox/pix/charge/{id}
Produção:
https://pix.tecnospeed.com.br/api/v1/pix/charge/{id}
Headers
Nome | Descrição | Exemplo |
Content-Type | Indica o tipo de arquivo | application/json |
Authorization | Bearer | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJ1c2VyIjp7ImVtYWlsIjoicGVkc... |
Responses
200
id |
string
|
surrogateKey |
string
|
transactionId |
string
|
description |
string
|
tags |
Array ofstrings
|
kind |
string
|
revision |
number
|
status |
string
|
reason |
string
|
emv |
string
|
qrcodeLocation |
string
|
errors |
Array ofstrings
|
payments |
Array ofarrays
|
calendar |
object
|
payer |
object
|
value |
object
|
aditionalInformation |
Array ofobjects
|
createdAt |
string<date-time>
|
updatedAt |
string<date-time>
|
{
"id": "string",
"surrogateKey": "string",
"transactionId": "string",
"description": "string",
"tags": [
"string"
],
"kind": "string",
"revision": 0,
"status": "string",
"reason": "string",
"emv": "string",
"qrcodeLocation": "string",
"errors": [
"string"
],
"payments": [ ],
"calendar": {
"dueDate": "string",
"daysAfterDueDate": 0
},
"payer": {
"cpfCnpj": "string",
"name": "string",
"email": "string",
"street": "string",
"city": "string",
"state": "string",
"zipcode": "string"
},
"value": {
"original": 0,
"fine": {},
"interest": {},
"reduction": {},
"discount": {}
},
"aditionalInformation": [
{}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
404
RESPONSE SCHEMA:application/json
code
required
|
number
Código HTTP |
message
required
|
string
Descrição do erro de validação |
Json:
{
"code": 404,
"message": "Resource not found"
}
Comentários
0 comentário
Por favor, entre para comentar.