Get subscription invoice checkout
Changed onRequires 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.
Request
- Base URLhttps://openapi.infini.money/v2/acquiring
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Headers
32-character Base58 credential ID returned after public-key registration.
Unix timestamp in seconds; tolerance is ±300 seconds.
16 cryptographically random bytes encoded as unpadded Base64URL; fresh on every attempt.
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.
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
- info
endpoint added
- info