Create standalone charge

Requires the write_subscription_standalone_charges permission. Immediately attempts a separate charge using the saved payment method. The parent must be active or paused. Inspect status; this does not create a renewal order or advance a billing schedule.

Path Params
integer
required
≥ 1

ShopWired contract id.

Body Params
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 major-unit amount in the contract currency.

string
required
length between 1 and 1000

Maximum 1000 UTF-8 bytes; maxLength alone does not enforce the byte limit.

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