API Console

Interactive API testing environment with real-time response previews

API Request

Authorization:
Content-Type: application/json

API Response

Status 200 OK
Content-Type: application/json
X-Request-ID: req_1234567890abcdef
X-RateLimit-Remaining: 999
{
  "id": "pay_1234567890abcdef",
  "object": "payment",
  "amount": 10000,
  "currency": "USD",
  "status": "succeeded",
  "payment_method": {
    "id": "pm_1234567890abcdef",
    "type": "card",
    "card": {
      "brand": "visa",
      "last4": "4242",
      "exp_month": 12,
      "exp_year": 2025
    }
  },
  "customer": {
    "email": "customer@example.com"
  },
  "created": 1640995200,
  "description": "Test payment from API Console"
}
Response time: 247ms

Quick Examples

Create Payment

Process a credit card payment

POST /payments

Get Payment

Retrieve payment details

GET /payments/:id

Create Refund

Process a payment refund

POST /refunds

Need Help?

Check out our documentation or contact our developer support team