Skip to main content
POST
Create a renewal cycle

Authorizations

Authorization
string
header
required

Secret, platform or publishable API key. Platform keys require Payments-Account.

Headers

payments-account
string

Required for platform keys; refused for secret/publishable keys.

payments-version
enum<string>
Available options:
2026-11-01
idempotency-key
string
required
Required string length: 1 - 255

Body

application/json
amount
integer
required

Integer amount in the currency minor unit.

Required range: 0 <= x <= 2147483647
currency
enum<string>
required
Available options:
AED,
AFN,
ALL,
AMD,
AOA,
ARS,
AUD,
AWG,
AZN,
BAM,
BBD,
BDT,
BHD,
BIF,
BMD,
BND,
BOB,
BOV,
BRL,
BSD,
BTN,
BWP,
BYN,
BZD,
CAD,
CDF,
CHE,
CHF,
CHW,
CLF,
CLP,
CNY,
COP,
COU,
CRC,
CUP,
CVE,
CZK,
DJF,
DKK,
DOP,
DZD,
EGP,
ERN,
ETB,
EUR,
FJD,
FKP,
GBP,
GEL,
GHS,
GIP,
GMD,
GNF,
GTQ,
GYD,
HKD,
HNL,
HTG,
HUF,
IDR,
ILS,
INR,
IQD,
IRR,
ISK,
JMD,
JOD,
JPY,
KES,
KGS,
KHR,
KMF,
KPW,
KRW,
KWD,
KYD,
KZT,
LAK,
LBP,
LKR,
LRD,
LSL,
LYD,
MAD,
MDL,
MGA,
MKD,
MMK,
MNT,
MOP,
MRU,
MUR,
MVR,
MWK,
MXN,
MXV,
MYR,
MZN,
NAD,
NGN,
NIO,
NOK,
NPR,
NZD,
OMR,
PAB,
PEN,
PGK,
PHP,
PKR,
PLN,
PYG,
QAR,
RON,
RSD,
RUB,
RWF,
SAR,
SBD,
SCR,
SDG,
SEK,
SGD,
SHP,
SLE,
SOS,
SRD,
SSP,
STN,
SVC,
SYP,
SZL,
THB,
TJS,
TMT,
TND,
TOP,
TRY,
TTD,
TWD,
TZS,
UAH,
UGX,
USD,
USN,
UYI,
UYU,
UYW,
UZS,
VED,
VES,
VND,
VUV,
WST,
XAD,
XAF,
XCD,
XCG,
XOF,
XPF,
YER,
ZAR,
ZMW,
ZWG
customer
string
required
Pattern: ^cus_[a-f0-9]{12}$
due_at
string<date-time>
required
payment_method
string
required
Pattern: ^inst_[a-f0-9]{12}$
period_ref
string
required

V2's billing_period_key.

Minimum string length: 1
store
string
Pattern: ^store_[a-f0-9]{12}$
subscription_group_id
string
Minimum string length: 1
subscription_id
string
Minimum string length: 1
test_clock
string

Test mode only.

Pattern: ^clk_[0-9a-hjkmnp-tv-z]{26}$

Response

Renewal cycle with its tries.

amount
integer
required

Integer amount in the currency minor unit.

Required range: 0 <= x <= 2147483647
card_update_until
string<date-time> | null
required
concluded_at
string<date-time> | null
required
created_at
string<date-time>
required
currency
string
required
customer
string
required
due_at
string<date-time>
required
ending
enum<string> | null
required
Available options:
cancel,
pause,
null
id
string
required
Pattern: ^rcy_[0-9a-hjkmnp-tv-z]{26}$
mode
enum<string>
required
Available options:
live,
test
next_try_at
string<date-time> | null
required
notice_sent_at
string<date-time> | null
required
object
enum<string>
required
Available options:
renewal_cycle
outcome_reason
string | null
required
payment_method
string
required
period_ref
string
required
policy_version
string | null
required
status
enum<string>
required
Available options:
scheduled,
trying,
waiting_retry,
waiting_card_update,
waiting_customer,
waiting_merchant,
succeeded,
failed,
canceled
store
string
required
subscription_group_id
string | null
required
subscription_id
string | null
required
test_clock
string | null
required
Pattern: ^clk_[0-9a-hjkmnp-tv-z]{26}$
tries
object[]
required