Create renewal intent

Requires the write_subscription_contracts permission. Requires an active/paused contract with no active renewal lock. contractVersion is the latest parent version in the JSON body. Offline contracts enter awaiting_order; online contracts enter pending. The app chooses the amount.

Path Params
integer
required
≥ 1

ShopWired contract id.

Body Params
integer
required
≥ 1

Positive ShopWired resource identifier or version.

string
required
length between 1 and 64

Required caller-generated key, unique per business and resource family. Reuse is rejected; it does not replay the original response. Not returned on resource reads. Maximum 64 UTF-8 bytes; maxLength alone does not enforce the byte limit.

number
required

Positive amount to collect in the contract currency, in major units.

Responses

401

Missing, expired or invalid OAuth access token.

403

Required permission is missing or access to this business is forbidden.

404

Resource or parent not found in the authenticated business.

429

Rate limit exceeded. The response may have no JSON body. Retry reads with bounded backoff.

500

Server error. A mutation may already have taken effect; reconcile its outcome before retrying.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json