Batch get organization card statuses
Changed onRequires card.create permission. Accepts from 1 to 100 internal card IDs and returns statuses in request order.
Request
- Base URLhttps://openapi.infini.money/v2/cards
- 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
{
"card_ids": [
"a441831c-a5c7-4bed-8f61-793738afd5bc",
"b552942d-b6d8-5cef-9062-804849bfe6cd"
]
}Response
Standard response envelope
Example response
{
"data": {
"cards": [
{
"card_id": "a441831c-a5c7-4bed-8f61-793738afd5bc",
"status": "active"
}
]
}
}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