Skip to main content
GET
/
payments
/
{id}
Get a payment
curl --request GET \
  --url https://pandabase.io/api/payments/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Storefront-Id: <x-storefront-id>'
{
  "ok": true,
  "data": {
    "id": "pmnt_1234567890",
    "amount": 1000,
    "currency": "USD",
    "status": "succeeded",
    "description": "Premium Plan",
    "created_at": "2024-12-25T10:00:00Z"
  }
}

Authorizations

Authorization
string
header
required

V3 API key authentication. Format: sk_v3_xxxxx

Headers

X-Storefront-Id
string
required

Your storefront/shop ID

Path Parameters

id
string
required

Payment ID

Response

Payment retrieved successfully

ok
boolean
Example:

true

data
object