List Payment Records
GET
https://api.apicenter.itsandbox.site/api/v1/payments/recordsPerform List Payment Records operation on APICenter platform.
const paymentApiKey = process.env.APICENTER_PAYMENT_API_KEY;
if (!paymentApiKey) throw new Error("APICENTER_PAYMENT_API_KEY is required");
const response = await fetch("https://api.apicenter.itsandbox.site/api/v1/payments/records", {
method: "GET",
headers: {
Authorization: "Bearer " + paymentApiKey
}
});
if (!response.ok) throw new Error("APICenter request failed: " + response.status);
const data = await response.json();
console.log(data);Response
No response example is supplied by this contract. See the documented response schema.Authentication
AuthorizationAPICenterApiKey
Authorization: Bearer <PAYMENT_API_KEY>. Use the consumer's payment API key. or Registered APICenter service JWT with gateway-enforced scopes.
Query parameters
Filter by type.
Filter by status.
Inclusive ISO 8601 lower bound.
Exclusive ISO 8601 upper bound.
Filter by limit.
Filter by cursor.
Response
200Project-scoped payment record page.