Skip to content
API reference

Get payment

Retrieve a transaction by ID.

GET/api/v1/payments/{id}
Step-by-step guideStep 1 of 3

Select a stage to see what happens.

Your integration
Request readyIllustrative example
GET/payments/{id}
Authorization
Bearer ••••••••
Accept
application/json

Prepare the request

Use credentials for the selected environment and complete the required parameters.

Illustrative flow · no data is sent

How this endpoint works

Retrieve a transaction by ID. Useful to confirm the status after the checkout redirect. The `paymentMethodId` field in the response is the same 4-digit id you sent when creating it — a complete round-trip. The legacy path `GET /api/v1/transactions/{id}` still works identically.

Server-side authentication
Authentication guide
Key2Pay Developer documentationAPI v1
Documentation
Dashboard