Quote a payment without creating it
Changed onRequest
- Base URLhttps://openapi.infini.money/v2/acquiring
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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.
Request body
Example request
{
"order_id": "ord-123",
"payment_method": 1,
"chain": "ETHEREUM",
"token_id": "USDT"
}Response
Example response
{
"amount": "100.00",
"due_amount_fiat": "100.00",
"amount_confirmed": "0",
"amount_confirming": "0",
"quoted_token_amount": "100.00",
"quoted_token_currency": "USDT",
"quoted_token_price_usdc": "0"
}Changes
- breaking
added the new required
headerrequest parameterX-API-Key-ID - breaking
added the new required
headerrequest parameterX-API-Nonce - breaking
added the new required
headerrequest parameterX-API-Timestamp - breaking
the
headerrequest parameterAuthorizationbecame required - breaking
the
headerrequest parameterDigestbecame required - warning
deleted the
headerrequest parameterDate - info
added the non-success response with the status
- info
added the non-success response with the status
- breaking
- info
endpoint added
- info