Skip to content

Choose a plan: Stripe Checkout URL (owner)

POST
/v1/orgs/{org}/billing/checkout
curl --request POST \
--url https://api.replifier.com/v1/orgs/org_01hx0000000000000000000000/billing/checkout \
--header 'Content-Type: application/json' \
--data '{ "cycle": "month", "country": "example" }'

The tier is determined by the account’s total active contacts (minimum Starter) and is charged per brand. The country sets the Stripe account (MX → Mexico in MXN; euro-zone countries → US in EUR; other → US in USD) and stays fixed for the subscription.

org
required
string
/^org_[a-z0-9]{26}$/

Example

org_01hx0000000000000000000000
Media typeapplication/json
object
cycle
required
string
Allowed values: month year
country
required
string
/^[A-Za-z]{2}$/

Checkout session

Media typeapplication/json
object
url
required
string
tierKey
required
string
stripeAccount
required
string
Allowed values: us mx

Example

{
"stripeAccount": "us"
}

Invalid data

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

No session, expired session, or invalid, expired or revoked API key

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Not allowed, API key missing the scope, IP not allowed, or request rejected (csrf_rejected)

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Does not exist or is not visible to you

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Conflict

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Internal error

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}

Service temporarily unavailable

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
cause
required
string
fix
required
string
requestId
required
string

Example

{
"error": {
"code": "not_found"
}
}