# Get subscription invoice checkout

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.

Endpoint: GET /subscription/invoice/checkout
Version: 2.0.0
Security: Ed25519

## Security:

  - `Ed25519` (unknown)
    apiKey in header Authorization

## Query parameters:

  - `subscription_id` (string, required)

  - `invoice_no` (string, required)

## Header parameters:

  - `X-API-Key-ID` (string, required)
    32-character Base58 credential ID returned after public-key registration.

  - `X-API-Timestamp` (string, required)
    Unix timestamp in seconds; tolerance is ±300 seconds.

  - `X-API-Nonce` (string, required)
    16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.

  - `Digest` (string, 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.

  - `Authorization` (string, 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 200:

  - `200` (unknown)
    Standard code/message/data envelope; code=0 indicates success.

## Response 401:

  - `401` (unknown)
    Authentication failed.

## Response 403:

  - `403` (unknown)
    Permission or IP policy denied the request.

