API Reference
Consultar movimento
GET /v1/movements/{id} — movimento e seus lançamentos.
Consulta movimento por id
Retorna o movimento e os lançamentos da sua conta vinculados a ele.
GET/v1/movements/{id}
Path params
- idObrigatóriostringIdentificador do movimento.
Exemplo de requisição
bash
curl https://api.staterpay.io/v1/movements/mov_01HXYZ \ -H "Authorization: Bearer SUA_API_KEY"Resposta
json
{ "id": "mov_01HXYZ...", "type": "credit", "source": "pix_in", "amountCents": "1990", "balanceAfterCents": "12345600", "relatedChargeId": "chg_01HXYZ...", "endToEndId": "E12345678202505071234abcd", "createdAt": "2025-05-07T12:01:23.000Z"}URL base:
https://api.staterpay.io