Skip to main content
GET
Get a subscription

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Replo-Api-Version
enum<string>
required

The public API version to use for this request.

Available options:
2026-11-20

Path Parameters

subscriptionId
string<uuid>
required

Subscription ID.

Response

Get a subscription

object
enum<string>
required
Available options:
subscription
id
string<uuid>
required
projectId
string<uuid>
required
status
enum<string>
required

failed means the last charge was declined and Replo is retrying the card.

Available options:
active,
paused,
failed,
cancelled
cancelReason
enum<string> | null
required

Who ended it: the shopper (buyer), the store (merchant), or Replo after every retry failed (paymentFailed).

Available options:
buyer,
merchant,
paymentFailed,
null
cancelledAt
string | null
required
currencyCode
string
required
shippingAmount
integer
required

Shipping charged on each renewal.

renewalAmount
integer
required

What each renewal charges: the lines plus shipping.

billingInterval
enum<string>
required
Available options:
day,
week,
month,
year
billingIntervalCount
integer
required
Required range: 1 <= x <= 365
nextBillingDate
string | null
required

When the card is charged next; the retry date while failed. Null while paused or cancelled.

cyclesCompleted
integer
required

Paid orders so far, counting the checkout order.

failedAttemptCount
integer
required

Declined charges in a row; resets when one succeeds.

originOrderId
string<uuid>
required

The checkout order that started the subscription.

createdAt
string
required
lines
object[]
required
billingAttempts
object[]
required

Renewal charges, newest first.

customerEmail
string | null
required

Masked contact address, e.g. j••••@example.com.