Subscription

Get subscription invoice checkout

Changed on

Requires order.query. Returns invoice status and checkout_url when pending; may return canceled_url. This merchant v2 endpoint uses Ed25519, separate from the hosted-checkout JWT entry.

get/subscription/invoice/checkout

Request

Query parameters

subscription_idstring required
invoice_nostring required

Headers

X-API-Key-IDstring required

32-character Base58 credential ID returned after public-key registration.

X-API-Timestampstring required

Unix timestamp in seconds; tolerance is ±300 seconds.

X-API-Noncestring required

16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.

Digeststring required

SHA-256= followed by standard padded Base64 of SHA-256 of exact request body bytes. Required even for an empty body; included in the signing string.

Authorizationstring required

Use Ed25519 signature="BASE64_SIGNATURE", where BASE64_SIGNATURE is the standard padded Base64 signature. See /docs/en/4-authorization for the exact signing string.

Response

Standard code/message/data envelope; code=0 indicates success.

Changes