Skip to main content
GET
/
payments
/
{paymentId}
Get payment detail
curl --request GET \
  --url https://api.recurr.dev/v1/payments/{paymentId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "pay_01HQX...",
  "amount": 123,
  "currency": "USD",
  "created_at": "2023-11-07T05:31:56Z",
  "subscriber_id": "<string>",
  "subscription_id": "<string>",
  "stripe_charge_id": "<string>",
  "refunded_amount": 0
}

Authorizations

Authorization
string
header
required

Your Recurr secret API key as a Bearer token: Authorization: Bearer rk_live_….

Keys are environment-scoped — rk_live_ operates on live data, rk_test_ on isolated test data (see Test mode). Create, scope, and rotate keys in your dashboard (Settings → API keys, developer role). Secret keys are server-side only — never ship them in an app binary or client JavaScript.

Path Parameters

paymentId
string
required

Response

200 - application/json

Payment detail

id
string
required
Example:

"pay_01HQX..."

amount
integer
required
currency
string
required
Example:

"USD"

status
enum<string>
required
Available options:
succeeded,
failed,
refunded,
partially_refunded,
disputed
created_at
string<date-time>
required
subscriber_id
string
subscription_id
string | null
charge_type
enum<string>
Available options:
subscription_renewal,
subscription_activation,
one_time,
motion_settlement
stripe_charge_id
string
refunded_amount
integer
default:0