API Reference/Payments
GET
Retrieve a payment
Retrieve a payment. See the request, response and integration notes.
GET
/v1/payments/{public_id}https://integrate.api.kyvopay.com.br
cURL
curl https://api.kyvopay.com.br/v1/payments/pay_ABC123 \
-H "X-API-Key: kyvo_test_SUA_CHAVE"Authentication
X-API-Keystring · headerrequiredUse the ky_... key created under Integrations → API Keys in the KyvoPay dashboard.
Use this endpoint to retrieve a payment.
Request
Note
Private endpoints require the X-API-Key header. Keep credentials on your backend and log the response request_id for diagnostics.
Response
The response uses the standard data, error and request_id envelope.
Implementation notes
- Validate required input before sending the request.
- Store returned public identifiers without assuming their format.
- Treat 4xx validation errors as non-retryable until the request is corrected.
- Retry timeouts, 429 and temporary 5xx responses with exponential backoff.