Rotina responsável por efetuar a consulta de um Pix cobrança imediata.
GET
Sandbox:
https://pix.tecnospeed.com.br/sandbox/pix/{id}
Produção:
https://pix.tecnospeed.com.br/api/v1/pix/{id}
Headers
| Nome | Descrição | Exemplo |
| Content-Type | Indica o tipo de arquivo | application/json |
| Authorization | Bearer | eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9eyJ1c2VyIjp7ImVtYWlsIjoicGVkc... |
Responses
200
RESPONSE SCHEMA:application/json
| 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>
|
Json
{
"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": [ {
"id": 0,
"paymentDate": "string",
"paymentAmount": "344",
"paymentDiscount": 0,
"paymentOriginal": 0,
"paymentFine": 0,
"paymentInterest": 0,
"paymentReduction": 0,
"pixId": 0,
"createdAt": "string",
"updatedAt": ""string",
"endToEndId": "string",
"status": "string",
"payerInfo": "string"
}],
"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.