Skip to main content
GET
/
api
/
v1
/
transactions
/
{id}
Obter transação
curl --request GET \
  --url https://upay-sistema-api.onrender.com/api/v1/transactions/{id} \
  --header 'X-API-Key: <api-key>'
{
  "message": "<string>",
  "transaction": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "displayId": "<string>",
    "product": "<string>",
    "amountCents": 123,
    "status": "<string>",
    "paymentMethod": "<string>",
    "client": {},
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-Key
string
header
required

Chave de API obtida através do endpoint /api/credentials. Também aceita formato Bearer Token: Authorization: Bearer <api_key>

Path Parameters

id
string<uuid>
required

Response

Detalhes da transação

message
string
transaction
object