New in 2.4: Test runs you can trust See what's new →

Fake payments API for testing

Payments: hardcoded payments plus an Idempotency-Key demo on create (replay, 422 for a different body, 409 while in flight) and refunds. Card ending 0002 is always declined.

Example request

List payments with filtering, search, sorting and pagination. Full reference and a Send button.

cURL
curl -X GET "https://api.testingapis.com/api/Payments?limit=2"
Run in Studio
Response · 200 OK
[
  {
    "id": 1,
    "userId": 101,
    "orderId": 1,
    "amount": 249.99,
    "currency": "USD",
    "method": "card",
    "status": "succeeded",
    "description": "Order #1 — headphones",
    "cardLast4": "4242",
    "createdAt": "2025-07-01T10:15:00Z",
… (3 more lines)