{"items":[{"type":"link","label":"Infini Card API","link":"/apis/card","routeSlug":"/apis/card","content":{"contentType":"overview","meta":{"name":"Infini Card API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"card.json","url":"/_bundle/apis/card.json?download"},{"kind":"download","label":"card.yaml","url":"/_bundle/apis/card.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Infini Card API (1.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Organization card APIs. All endpoints use the independent "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"/v2/cards"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" prefix."},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requests require "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". To use "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Try it"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", save Sandbox credentials on "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/credentials"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"API Credentials"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", or enter Key and Secret under "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Security -> HMAC"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}],"sectionId":"/apis/card"}],"sectionId":"/apis/card"}]}]}},{"type":"group","label":"Card","link":"/apis/card/card","routeSlug":"/apis/card/card","items":[{"label":"Apply for organization card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/applycard","routeSlug":"/apis/card/card/applycard","metadata":{"seo":{"title":"Apply for organization card","description":"Requires card.create permission."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"applyCard","name":"Apply for organization card","isWebhook":false,"pointer":"/paths/~1apply/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Apply for organization card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1apply/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ApplyCardRequest","exampleIds":["paths/~1apply/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/ApplyCardRequest","exampleIds":["paths/~1apply/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1apply/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/apply","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/ApplyCardRequest","exampleIds":["paths/~1apply/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/apply","href":"card/applycard","openApiOperationId":"applyCard","summary":"Apply for organization card"},"definitionSamples":[{"lang":"curl","label":"cURL (HMAC)","source":"curl -i -X POST \\\n  '{{INFINI_BASE_URL}}/apply' \\\n  -H 'Content-Type: application/json' \\\n  -H 'Date: <GMT date, e.g. Tue, 21 Jan 2025 12:00:00 GMT>' \\\n  -H 'Digest: SHA-256=<base64(sha256(request body))>' \\\n  -H 'Authorization: Signature keyId=\"{{INFINI_KEY_ID}}\",algorithm=\"hmac-sha256\",headers=\"@request-target date\",signature=\"<signature>\"' \\\n  -d '{\n    \"product_id\": 1,\n    \"top_up_amount\": \"100.00\",\n    \"token_type\": \"USDT\",\n    \"user_email\": \"jane@example.com\",\n    \"holder_name\": \"Jane Doe\",\n    \"card_alias\": \"Travel card\"\n  }'"},{"lang":"Go","label":"Go (HMAC)","source":"// Signing string: {keyId}\\n{METHOD} {path}\\ndate: {GMT}\\n\nkeyID := \"{{INFINI_KEY_ID}}\"\nsecretKey := \"{{INFINI_SECRET}}\"\npath := \"/v2/cards/apply\"\nmethod := \"POST\""}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/ApplyCardRequest","exampleIds":["paths/~1apply/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/ApplyCardRequest","exampleIds":["paths/~1apply/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApplyCardEnvelope"}},"schemaId":"components/schemas/ApplyCardEnvelope"}],"pointer":"/paths/~1apply/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ApplyCardEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ApplyCardEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/applycard"}],"panels":[]}]},"httpPath":"/apply"},{"label":"List organization cards","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/listcards","routeSlug":"/apis/card/card/listcards","metadata":{"seo":{"title":"List organization cards","description":"Requires card.create permission."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"listCards","name":"List organization cards","isWebhook":false,"pointer":"/paths/~1list/get","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List organization cards","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"status","in":"query","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Card status filter, comma-separated (init / pending / active / suspend / pending_delete / deleted)"},"children":[]}]}]}]},{"name":"card_alias","in":"query","schemaId":"schema_55","description":"Card alias filter"},{"name":"page","in":"query","schemaId":"schema_56","description":"Page number"},{"name":"page_size","in":"query","schemaId":"schema_57","description":"Page size, max 100"}],"pointer":"/paths/~1list/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]}],"pointer":"/paths/~1list/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/list","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[{"name":"status","in":"query","required":false,"schemaId":"schema_55"},{"name":"card_alias","in":"query","required":false,"schemaId":"schema_55"},{"name":"page","in":"query","required":false,"schemaId":"schema_56"},{"name":"page_size","in":"query","required":false,"schemaId":"schema_57"}],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/list","href":"card/listcards","openApiOperationId":"listCards","summary":"List organization cards"},"definitionSamples":[{"lang":"curl","label":"cURL (HMAC)","source":"curl -i -X GET \\\n  '{{INFINI_BASE_URL}}/list' \\\n  -H 'Date: <GMT date>' \\\n  -H 'Authorization: Signature keyId=\"{{INFINI_KEY_ID}}\",algorithm=\"hmac-sha256\",headers=\"@request-target date\",signature=\"<signature>\"'"},{"lang":"Go","label":"Go (HMAC)","source":"// Signing string: {keyId}\\n{METHOD} {path}\\ndate: {GMT}\\n\nkeyID := \"{{INFINI_KEY_ID}}\"\nsecretKey := \"{{INFINI_SECRET}}\"\npath := \"/v2/cards/list\"\nmethod := \"GET\""}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListCardsEnvelope"}},"schemaId":"components/schemas/ListCardsEnvelope"}],"pointer":"/paths/~1list/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListCardsEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListCardsEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/listcards"}],"panels":[]}]},"httpPath":"/list"},{"label":"Get organization card status by id","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/getcardstatus","routeSlug":"/apis/card/card/getcardstatus","metadata":{"seo":{"title":"Get organization card status by id","description":"Requires card.create permission."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCardStatus","name":"Get organization card status by id","isWebhook":false,"pointer":"/paths/~1status/get","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get organization card status by id","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"id","in":"query","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id"},"children":[]}]}]}],"required":true}],"pointer":"/paths/~1status/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]}],"pointer":"/paths/~1status/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/status","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[{"name":"id","in":"query","required":true,"schemaId":"schema_55"}],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/status","href":"card/getcardstatus","openApiOperationId":"getCardStatus","summary":"Get organization card status by id"},"definitionSamples":[{"lang":"curl","label":"cURL (HMAC)","source":"curl -i -X GET \\\n  '{{INFINI_BASE_URL}}/status?id=<card-id>' \\\n  -H 'Date: <GMT date>' \\\n  -H 'Authorization: Signature keyId=\"{{INFINI_KEY_ID}}\",algorithm=\"hmac-sha256\",headers=\"@request-target date\",signature=\"<signature>\"'"},{"lang":"Go","label":"Go (HMAC)","source":"// Signing string: {keyId}\\n{METHOD} {path}\\ndate: {GMT}\\n\nkeyID := \"{{INFINI_KEY_ID}}\"\nsecretKey := \"{{INFINI_SECRET}}\"\npath := \"/v2/cards/status?id=<card-id>\"\nmethod := \"GET\""}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetCardStatusEnvelope"}},"schemaId":"components/schemas/GetCardStatusEnvelope"}],"pointer":"/paths/~1status/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetCardStatusEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetCardStatusEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/getcardstatus"}],"panels":[]}]},"httpPath":"/status"},{"label":"Batch get organization card statuses","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/batchgetcardstatuses","routeSlug":"/apis/card/card/batchgetcardstatuses","metadata":{"seo":{"title":"Batch get organization card statuses","description":"Requires card.create permission. Accepts from 1 to 100 internal card IDs and returns statuses in request order."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"batchGetCardStatuses","name":"Batch get organization card statuses","isWebhook":false,"pointer":"/paths/~1status~1batch/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Batch get organization card statuses","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission. Accepts from 1 to 100 internal card IDs and returns statuses in request order."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1status~1batch/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BatchGetCardStatusesRequest","exampleIds":["paths/~1status~1batch/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/BatchGetCardStatusesRequest","exampleIds":["paths/~1status~1batch/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1status~1batch/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/status/batch","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/BatchGetCardStatusesRequest","exampleIds":["paths/~1status~1batch/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/status/batch","href":"card/batchgetcardstatuses","openApiOperationId":"batchGetCardStatuses","summary":"Batch get organization card statuses"},"definitionSamples":[{"lang":"curl","label":"cURL (HMAC)","source":"curl -i -X POST \\\n  '{{INFINI_BASE_URL}}/status/batch' \\\n  -H 'Content-Type: application/json' \\\n  -H 'Date: <GMT date>' \\\n  -H 'Digest: SHA-256=<base64(sha256(request body))>' \\\n  -H 'Authorization: Signature keyId=\"{{INFINI_KEY_ID}}\",algorithm=\"hmac-sha256\",headers=\"@request-target date\",signature=\"<signature>\"' \\\n  -d '{\"card_ids\":[\"a441831c-a5c7-4bed-8f61-793738afd5bc\",\"b552942d-b6d8-5cef-9062-804849bfe6cd\"]}'"},{"lang":"Go","label":"Go (HMAC)","source":"// Signing string: {keyId}\\n{METHOD} {path}\\ndate: {GMT}\\n\nkeyID := \"{{INFINI_KEY_ID}}\"\nsecretKey := \"{{INFINI_SECRET}}\"\npath := \"/v2/cards/status/batch\"\nmethod := \"POST\""}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/BatchGetCardStatusesRequest","exampleIds":["paths/~1status~1batch/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/BatchGetCardStatusesRequest","exampleIds":["paths/~1status~1batch/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BatchGetCardStatusesEnvelope"}},"schemaId":"components/schemas/BatchGetCardStatusesEnvelope"}],"pointer":"/paths/~1status~1batch/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/BatchGetCardStatusesEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/BatchGetCardStatusesEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/batchgetcardstatuses"}],"panels":[]}]},"httpPath":"/status/batch"},{"label":"Get organization card transactions","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/getcardtransactions","routeSlug":"/apis/card/card/getcardtransactions","metadata":{"seo":{"title":"Get organization card transactions","description":"Requires card.create permission. Returns merchant-facing card IDs and does not expose provider transaction IDs."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"getCardTransactions","name":"Get organization card transactions","isWebhook":false,"pointer":"/paths/~1transactions/get","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get organization card transactions","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission. Returns merchant-facing card IDs and does not expose provider transaction IDs."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"id","in":"query","schemaId":"schema_58","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id"},"children":[]}]}]}],"required":true},{"name":"page","in":"query","schemaId":"schema_59","description":"Page number"},{"name":"page_size","in":"query","schemaId":"schema_60","description":"Page size, max 100"}],"pointer":"/paths/~1transactions/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]}],"pointer":"/paths/~1transactions/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/transactions","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[{"name":"id","in":"query","required":true,"example":"a441831c-a5c7-4bed-8f61-793738afd5bc","schemaId":"schema_58"},{"name":"page","in":"query","required":false,"example":1,"schemaId":"schema_59"},{"name":"page_size","in":"query","required":false,"example":20,"schemaId":"schema_60"}],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/transactions","href":"card/getcardtransactions","openApiOperationId":"getCardTransactions","summary":"Get organization card transactions"},"definitionSamples":[{"lang":"curl","label":"cURL (HMAC)","source":"curl -i -X GET \\\n  '{{INFINI_BASE_URL}}/transactions?id=a441831c-a5c7-4bed-8f61-793738afd5bc&page=1&page_size=20' \\\n  -H 'Date: <GMT date>' \\\n  -H 'Authorization: Signature keyId=\"{{INFINI_KEY_ID}}\",algorithm=\"hmac-sha256\",headers=\"@request-target date\",signature=\"<signature>\"'"},{"lang":"Go","label":"Go (HMAC)","source":"// Signing string: {keyId}\\n{METHOD} {path}\\ndate: {GMT}\\n\nkeyID := \"{{INFINI_KEY_ID}}\"\nsecretKey := \"{{INFINI_SECRET}}\"\npath := \"/v2/cards/transactions?id=a441831c-a5c7-4bed-8f61-793738afd5bc&page=1&page_size=20\"\nmethod := \"GET\""}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetCardTransactionsEnvelope"}},"schemaId":"components/schemas/GetCardTransactionsEnvelope"}],"pointer":"/paths/~1transactions/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/GetCardTransactionsEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/GetCardTransactionsEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/getcardtransactions"}],"panels":[]}]},"httpPath":"/transactions"},{"label":"Reveal organization card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/revealcard","routeSlug":"/apis/card/card/revealcard","metadata":{"seo":{"title":"Reveal organization card","description":"Requires card.reveal permission. Returns sensitive PAN, CVV, and expiry data."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"revealCard","name":"Reveal organization card","isWebhook":false,"pointer":"/paths/~1reveal/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Reveal organization card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.reveal"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission. Returns sensitive PAN, CVV, and expiry data."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1reveal/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1reveal/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1reveal/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1reveal/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/reveal","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1reveal/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/reveal","href":"card/revealcard","openApiOperationId":"revealCard","summary":"Reveal organization card"},"definitionSamples":[{"lang":"curl","label":"cURL (HMAC)","source":"curl -i -X POST \\\n  '{{INFINI_BASE_URL}}/reveal' \\\n  -H 'Content-Type: application/json' \\\n  -H 'Date: <GMT date, e.g. Tue, 21 Jan 2025 12:00:00 GMT>' \\\n  -H 'Digest: SHA-256=<base64(sha256(request body))>' \\\n  -H 'Authorization: Signature keyId=\"{{INFINI_KEY_ID}}\",algorithm=\"hmac-sha256\",headers=\"@request-target date\",signature=\"<signature>\"' \\\n  -d '{\"id\":\"a441831c-a5c7-4bed-8f61-793738afd5bc\"}'"},{"lang":"Go","label":"Go (HMAC)","source":"// Signing string: {keyId}\\n{METHOD} {path}\\ndate: {GMT}\\n\nkeyID := \"{{INFINI_KEY_ID}}\"\nsecretKey := \"{{INFINI_SECRET}}\"\npath := \"/v2/cards/reveal\"\nmethod := \"POST\""}],"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1reveal/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1reveal/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RevealCardEnvelope"}},"schemaId":"components/schemas/RevealCardEnvelope"}],"pointer":"/paths/~1reveal/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/RevealCardEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/RevealCardEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/revealcard"}],"panels":[]}]},"httpPath":"/reveal"},{"label":"Top up organization card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/topupcard","routeSlug":"/apis/card/card/topupcard","metadata":{"seo":{"title":"Top up organization card","description":"Requires card.create permission."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"topUpCard","name":"Top up organization card","isWebhook":false,"pointer":"/paths/~1top-up/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Top up organization card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1top-up/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1top-up/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1top-up/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1top-up/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/top-up","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1top-up/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/top-up","href":"card/topupcard","openApiOperationId":"topUpCard","summary":"Top up organization card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1top-up/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1top-up/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationEnvelope"}},"schemaId":"components/schemas/CardBalanceOperationEnvelope"}],"pointer":"/paths/~1top-up/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CardBalanceOperationEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/topupcard"}],"panels":[]}]},"httpPath":"/top-up"},{"label":"Redeem funds from organization card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/redeemcard","routeSlug":"/apis/card/card/redeemcard","metadata":{"seo":{"title":"Redeem funds from organization card","description":"Requires card.create permission."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"redeemCard","name":"Redeem funds from organization card","isWebhook":false,"pointer":"/paths/~1redeem/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Redeem funds from organization card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1redeem/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1redeem/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1redeem/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1redeem/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/redeem","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1redeem/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/redeem","href":"card/redeemcard","openApiOperationId":"redeemCard","summary":"Redeem funds from organization card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1redeem/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationRequest","exampleIds":["paths/~1redeem/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationEnvelope"}},"schemaId":"components/schemas/CardBalanceOperationEnvelope"}],"pointer":"/paths/~1redeem/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CardBalanceOperationEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardBalanceOperationEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/redeemcard"}],"panels":[]}]},"httpPath":"/redeem"},{"label":"Delete organization card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/deletecard","routeSlug":"/apis/card/card/deletecard","metadata":{"seo":{"title":"Delete organization card","description":"Requires card.create permission. Starts asynchronous card deletion and balance settlement."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"deleteCard","name":"Delete organization card","isWebhook":false,"pointer":"/paths/~1delete/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Delete organization card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission. Starts asynchronous card deletion and balance settlement."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1delete/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DeleteCardRequest","exampleIds":["paths/~1delete/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/DeleteCardRequest","exampleIds":["paths/~1delete/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1delete/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/delete","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/DeleteCardRequest","exampleIds":["paths/~1delete/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/delete","href":"card/deletecard","openApiOperationId":"deleteCard","summary":"Delete organization card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/DeleteCardRequest","exampleIds":["paths/~1delete/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/DeleteCardRequest","exampleIds":["paths/~1delete/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Card deletion accepted. The card moves to "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"pending_delete"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" before final settlement."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DeleteCardEnvelope"}},"schemaId":"components/schemas/DeleteCardEnvelope"}],"pointer":"/paths/~1delete/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/DeleteCardEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/DeleteCardEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/deletecard"}],"panels":[]}]},"httpPath":"/delete"},{"label":"Freeze organization card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/freezecard","routeSlug":"/apis/card/card/freezecard","metadata":{"seo":{"title":"Freeze organization card","description":"Requires card.create permission."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"freezeCard","name":"Freeze organization card","isWebhook":false,"pointer":"/paths/~1freeze/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Freeze organization card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1freeze/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1freeze/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1freeze/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1freeze/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/freeze","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1freeze/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/freeze","href":"card/freezecard","openApiOperationId":"freezeCard","summary":"Freeze organization card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1freeze/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1freeze/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardActionEnvelope"}},"schemaId":"components/schemas/CardActionEnvelope"}],"pointer":"/paths/~1freeze/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CardActionEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardActionEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/freezecard"}],"panels":[]}]},"httpPath":"/freeze"},{"label":"Unfreeze organization card","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/apis/card/card/unfreezecard","routeSlug":"/apis/card/card/unfreezecard","metadata":{"seo":{"title":"Unfreeze organization card","description":"Requires card.create permission."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"unfreezeCard","name":"Unfreeze organization card","isWebhook":false,"pointer":"/paths/~1unfreeze/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Unfreeze organization card","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Requires "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"card.create"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" permission."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"InfiniHmac","scopes":[],"type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"Date","in":"header","schemaId":"schema_55","description":"GMT server time, e.g. Tue, 21 Jan 2025 12:00:00 GMT. Required for every request."},{"name":"Authorization","in":"header","schemaId":"schema_55","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"HMAC-SHA256 "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"Signature"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" header. See the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"/docs/en/4-authorization"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" guide."},"children":[]}]}]}]},{"name":"Digest","in":"header","schemaId":"schema_55","description":"SHA-256 digest of the request body when a body is present."}],"pointer":"/paths/~1unfreeze/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1unfreeze/post/requestBody/content/application~1json/example"]}},"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1unfreeze/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1unfreeze/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/unfreeze","servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"Date","in":"header","required":false,"schemaId":"schema_55"},{"name":"Authorization","in":"header","required":false,"schemaId":"schema_55"},{"name":"Digest","in":"header","required":false,"schemaId":"schema_55"}],"cookie":[]},"security":[{"schemes":[{"id":"InfiniHmac","type":"http","scheme":"basic"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1unfreeze/post/requestBody/content/application~1json/example"]}},"responseCodes":["200"],"requestValues":{"envVariables":{"INFINI_KEY_ID":"YOUR_KEY_ID","INFINI_SECRET":"YOUR_SECRET","INFINI_BASE_URL":"https://openapi-sandbox.infini.money/v2/cards"}},"pointer":"/unfreeze","href":"card/unfreezecard","openApiOperationId":"unfreezeCard","summary":"Unfreeze organization card"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/apis/card","description":"Mock server","isMockServer":true},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}],"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1unfreeze/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/CardIdRequest","exampleIds":["paths/~1unfreeze/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Standard response envelope","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardActionEnvelope"}},"schemaId":"components/schemas/CardActionEnvelope"}],"pointer":"/paths/~1unfreeze/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/CardActionEnvelope","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/CardActionEnvelope"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/card/unfreezecard"}],"panels":[]}]},"httpPath":"/unfreeze"}],"content":{"contentType":"group","meta":{"name":"Card"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Card","showPageActions":true},{"nodeType":"markdoc","content":"Organization card management"}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/apply","summary":"Apply for organization card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/applycard","deprecated":false},{"title":"/list","summary":"List organization cards","prefix":{"name":"get","color":"get"},"badges":[],"link":"/card/listcards","deprecated":false},{"title":"/status","summary":"Get organization card status by id","prefix":{"name":"get","color":"get"},"badges":[],"link":"/card/getcardstatus","deprecated":false},{"title":"/status/batch","summary":"Batch get organization card statuses","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/batchgetcardstatuses","deprecated":false},{"title":"/transactions","summary":"Get organization card transactions","prefix":{"name":"get","color":"get"},"badges":[],"link":"/card/getcardtransactions","deprecated":false},{"title":"/reveal","summary":"Reveal organization card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/revealcard","deprecated":false},{"title":"/top-up","summary":"Top up organization card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/topupcard","deprecated":false},{"title":"/redeem","summary":"Redeem funds from organization card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/redeemcard","deprecated":false},{"title":"/delete","summary":"Delete organization card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/deletecard","deprecated":false},{"title":"/freeze","summary":"Freeze organization card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/freezecard","deprecated":false},{"title":"/unfreeze","summary":"Unfreeze organization card","prefix":{"name":"post","color":"post"},"badges":[],"link":"/card/unfreezecard","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/StandardEnvelope":{"id":"components/schemas/StandardEnvelope","kind":"json-schema","title":"StandardEnvelope","data":{"type":"object","properties":{"code":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Business code. "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"0"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" means success."},"children":[]}]}]}],"example":0},"message":{"type":"string","description":"Response message.","example":""}},"required":["code","message"]}},"components/schemas/ApplyCardRequest":{"id":"components/schemas/ApplyCardRequest","kind":"json-schema","title":"ApplyCardRequest","data":{"type":"object","required":["product_id","top_up_amount","token_type","user_email","holder_name"],"properties":{"product_id":{"type":"integer","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Card product ID. 1 = Infini Lite, 2 = Infini Pro, 102 = Infini AI."},"children":[]}]}]}],"enum":[1,2,102],"example":1},"top_up_amount":{"type":"string","description":"Initial top-up amount.","example":"100.00"},"token_type":{"type":"string","description":"Token type, for example USDT or USDC.","example":"USDT"},"user_email":{"type":"string","description":"Organization member business account email.","example":"jane@example.com"},"holder_name":{"type":"string","description":"Card holder name.","example":"Jane Doe"},"card_alias":{"type":"string","description":"Card alias or nickname.","example":"Travel card"}}}},"components/schemas/ApplyCardResponse":{"id":"components/schemas/ApplyCardResponse","kind":"json-schema","title":"ApplyCardResponse","data":{"type":"object","properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id."},"children":[]}]}]}],"example":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"status":{"type":"string","description":"Card application status.","example":"init"},"total_top_up_amount":{"type":"string","description":"Total top-up amount.","example":"100.00"},"total_fee":{"type":"string","description":"Total fee.","example":"1.00"},"total_pay_amount":{"type":"string","description":"Total payment amount.","example":"101.00"},"message":{"type":"string","description":"Status message.","example":""}}}},"components/schemas/ApplyCardEnvelope":{"id":"components/schemas/ApplyCardEnvelope","kind":"json-schema","title":"ApplyCardEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ApplyCardResponse"}}}]}},"components/schemas/CardItem":{"id":"components/schemas/CardItem","kind":"json-schema","title":"CardItem","data":{"type":"object","properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id."},"children":[]}]}]}],"example":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"mask":{"type":"string","description":"Masked card number.","example":"411111******1111"},"holder_name":{"type":"string","description":"Card holder name.","example":"Jane Doe"},"card_alias":{"type":"string","description":"Card alias.","example":"Travel card"},"status":{"type":"string","description":"Card status.","example":"active"},"currency":{"type":"string","description":"Card currency.","example":"USD"},"available_balance":{"type":"string","description":"Available balance.","example":"50.25"},"user_id":{"type":"string","description":"Organization member user ID.","example":"usr_01HXYZ"},"created_at":{"type":"integer","format":"int64","description":"Created timestamp in seconds.","example":1714464000},"updated_at":{"type":"integer","format":"int64","description":"Updated timestamp in seconds.","example":1714550400}}}},"components/schemas/ListCardsResponse":{"id":"components/schemas/ListCardsResponse","kind":"json-schema","title":"ListCardsResponse","data":{"type":"object","properties":{"cards":{"type":"array","items":{"$ref":"#/components/schemas/CardItem"}},"total":{"type":"integer","format":"int32","example":1},"page":{"type":"integer","format":"int32","example":1},"page_size":{"type":"integer","format":"int32","example":20},"total_pages":{"type":"integer","format":"int32","example":1}}}},"components/schemas/ListCardsEnvelope":{"id":"components/schemas/ListCardsEnvelope","kind":"json-schema","title":"ListCardsEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/ListCardsResponse"}}}]}},"components/schemas/GetCardStatusResponse":{"id":"components/schemas/GetCardStatusResponse","kind":"json-schema","title":"GetCardStatusResponse","data":{"allOf":[{"$ref":"#/components/schemas/CardItem"}]}},"components/schemas/GetCardStatusEnvelope":{"id":"components/schemas/GetCardStatusEnvelope","kind":"json-schema","title":"GetCardStatusEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetCardStatusResponse"}}}]}},"components/schemas/BatchGetCardStatusesRequest":{"id":"components/schemas/BatchGetCardStatusesRequest","kind":"json-schema","title":"BatchGetCardStatusesRequest","data":{"type":"object","required":["card_ids"],"properties":{"card_ids":{"type":"array","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key ids. Accepts from 1 to 100 items."},"children":[]}]}]}],"minItems":1,"maxItems":100,"items":{"type":"string","example":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"example":["a441831c-a5c7-4bed-8f61-793738afd5bc","b552942d-b6d8-5cef-9062-804849bfe6cd"]}}}},"components/schemas/CardStatusItem":{"id":"components/schemas/CardStatusItem","kind":"json-schema","title":"CardStatusItem","data":{"type":"object","properties":{"card_id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id."},"children":[]}]}]}],"example":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"status":{"type":"string","description":"Card lifecycle status.","example":"active"}}}},"components/schemas/BatchGetCardStatusesResponse":{"id":"components/schemas/BatchGetCardStatusesResponse","kind":"json-schema","title":"BatchGetCardStatusesResponse","data":{"type":"object","properties":{"cards":{"type":"array","description":"Card statuses in request order.","items":{"$ref":"#/components/schemas/CardStatusItem"}}}}},"components/schemas/BatchGetCardStatusesEnvelope":{"id":"components/schemas/BatchGetCardStatusesEnvelope","kind":"json-schema","title":"BatchGetCardStatusesEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/BatchGetCardStatusesResponse"}}}]}},"components/schemas/CardTransactionItem":{"id":"components/schemas/CardTransactionItem","kind":"json-schema","title":"CardTransactionItem","data":{"type":"object","properties":{"card_id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id."},"children":[]}]}]}],"example":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"type":{"type":"string","description":"Transaction type.","example":"Consume"},"amount":{"type":"string","description":"Card transaction ledger amount.","example":"12.34"},"fee":{"type":"string","description":"Transaction fee.","example":"0.12"},"status":{"type":"string","description":"Transaction status.","example":"Completed"},"currency":{"type":"string","description":"Card ledger currency.","example":"USD"},"merchant":{"type":"string","description":"Merchant name.","example":"Example Store"},"transaction_time":{"type":"integer","format":"int64","description":"Transaction timestamp in seconds.","example":1710000000},"transaction_currency":{"type":"string","description":"Original transaction currency.","example":"EUR"},"transaction_amount":{"type":"string","description":"Original transaction amount.","example":"11.20"},"created_at":{"type":"integer","format":"int64","description":"Created timestamp in seconds.","example":1710000001},"updated_at":{"type":"integer","format":"int64","description":"Updated timestamp in seconds.","example":1710000002},"settled_at":{"type":"integer","format":"int64","description":"Settled timestamp in seconds; 0 when unsettled.","example":1710000003}}}},"components/schemas/GetCardTransactionsResponse":{"id":"components/schemas/GetCardTransactionsResponse","kind":"json-schema","title":"GetCardTransactionsResponse","data":{"type":"object","properties":{"transactions":{"type":"array","description":"Transaction list.","items":{"$ref":"#/components/schemas/CardTransactionItem"}},"total":{"type":"integer","format":"int32","description":"Total count.","example":1},"page":{"type":"integer","format":"int32","description":"Current page.","example":1},"page_size":{"type":"integer","format":"int32","description":"Page size.","example":20},"total_pages":{"type":"integer","format":"int32","description":"Total pages.","example":1}}}},"components/schemas/GetCardTransactionsEnvelope":{"id":"components/schemas/GetCardTransactionsEnvelope","kind":"json-schema","title":"GetCardTransactionsEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/GetCardTransactionsResponse"}}}]}},"components/schemas/CardIdRequest":{"id":"components/schemas/CardIdRequest","kind":"json-schema","title":"CardIdRequest","data":{"type":"object","required":["id"],"properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id."},"children":[]}]}]}],"example":"a441831c-a5c7-4bed-8f61-793738afd5bc"}}}},"components/schemas/RevealCardResponse":{"id":"components/schemas/RevealCardResponse","kind":"json-schema","title":"RevealCardResponse","data":{"type":"object","properties":{"card_number":{"type":"string","description":"Card number.","example":"4111111111111111"},"cvv":{"type":"string","description":"CVV.","example":"123"},"expiration_mmyy":{"type":"string","description":"Expiration date in MMYY format.","example":"1228"},"card_currency":{"type":"string","description":"Card currency.","example":"USD"}}}},"components/schemas/RevealCardEnvelope":{"id":"components/schemas/RevealCardEnvelope","kind":"json-schema","title":"RevealCardEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/RevealCardResponse"}}}]}},"components/schemas/CardBalanceOperationRequest":{"id":"components/schemas/CardBalanceOperationRequest","kind":"json-schema","title":"CardBalanceOperationRequest","data":{"type":"object","required":["id","amount","token_type"],"properties":{"id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id."},"children":[]}]}]}],"example":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"amount":{"type":"string","description":"Operation amount.","example":"50.00"},"token_type":{"type":"string","description":"Token type, for example USDT or USDC.","example":"USDT"},"note":{"type":"string","description":"Optional note.","example":"Top up for campaign budget"}}}},"components/schemas/CardBalanceOperationResponse":{"id":"components/schemas/CardBalanceOperationResponse","kind":"json-schema","title":"CardBalanceOperationResponse","data":{"type":"object","properties":{"tx_id":{"type":"string","description":"Transaction ID.","example":"tx_123"},"card_balance":{"type":"string","description":"Card balance after the operation.","example":"150.25"}}}},"components/schemas/CardBalanceOperationEnvelope":{"id":"components/schemas/CardBalanceOperationEnvelope","kind":"json-schema","title":"CardBalanceOperationEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CardBalanceOperationResponse"}}}]}},"components/schemas/DeleteCardRequest":{"id":"components/schemas/DeleteCardRequest","kind":"json-schema","title":"DeleteCardRequest","data":{"type":"object","required":["card_id"],"properties":{"card_id":{"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Internal ORGANIZATION_CARD primary key id."},"children":[]}]}]}],"example":"a441831c-a5c7-4bed-8f61-793738afd5bc"}}}},"components/schemas/DeleteCardResponse":{"id":"components/schemas/DeleteCardResponse","kind":"json-schema","title":"DeleteCardResponse","data":{"type":"object","properties":{"success":{"type":"boolean","description":"Whether the deletion flow was accepted.","example":true},"message":{"type":"string","description":"Response message.","example":"Card deletion initiated"}}}},"components/schemas/DeleteCardEnvelope":{"id":"components/schemas/DeleteCardEnvelope","kind":"json-schema","title":"DeleteCardEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/DeleteCardResponse"}}}]}},"components/schemas/CardActionResponse":{"id":"components/schemas/CardActionResponse","kind":"json-schema","title":"CardActionResponse","data":{"type":"object","properties":{"success":{"type":"boolean","description":"Operation result.","example":true},"message":{"type":"string","description":"Response message.","example":"Card frozen"}}}},"components/schemas/CardActionEnvelope":{"id":"components/schemas/CardActionEnvelope","kind":"json-schema","title":"CardActionEnvelope","data":{"allOf":[{"$ref":"#/components/schemas/StandardEnvelope"},{"type":"object","properties":{"data":{"$ref":"#/components/schemas/CardActionResponse"}}}]}},"schema_55":{"kind":"json-schema","data":{"type":"string"},"id":"schema_55"},"schema_56":{"kind":"json-schema","data":{"type":"integer","default":1},"id":"schema_56"},"schema_57":{"kind":"json-schema","data":{"type":"integer","default":20},"id":"schema_57"},"schema_58":{"kind":"json-schema","data":{"type":"string","example":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"id":"schema_58"},"schema_59":{"kind":"json-schema","data":{"type":"integer","default":1,"example":1},"id":"schema_59"},"schema_60":{"kind":"json-schema","data":{"type":"integer","default":20,"maximum":100,"example":20},"id":"schema_60"}},"exampleStore":{"paths/~1apply/post/requestBody/content/application~1json/example":{"value":{"product_id":1,"top_up_amount":"100.00","token_type":"USDT","user_email":"jane@example.com","holder_name":"Jane Doe","card_alias":"Travel card"},"id":"paths/~1apply/post/requestBody/content/application~1json/example"},"paths/~1status~1batch/post/requestBody/content/application~1json/example":{"value":{"card_ids":["a441831c-a5c7-4bed-8f61-793738afd5bc","b552942d-b6d8-5cef-9062-804849bfe6cd"]},"id":"paths/~1status~1batch/post/requestBody/content/application~1json/example"},"paths/~1reveal/post/requestBody/content/application~1json/example":{"value":{"id":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"id":"paths/~1reveal/post/requestBody/content/application~1json/example"},"paths/~1top-up/post/requestBody/content/application~1json/example":{"value":{"id":"a441831c-a5c7-4bed-8f61-793738afd5bc","amount":"50.00","token_type":"USDT","note":"Top up for campaign budget"},"id":"paths/~1top-up/post/requestBody/content/application~1json/example"},"paths/~1redeem/post/requestBody/content/application~1json/example":{"value":{"id":"a441831c-a5c7-4bed-8f61-793738afd5bc","amount":"20.00","token_type":"USDT","note":"Redeem unused balance"},"id":"paths/~1redeem/post/requestBody/content/application~1json/example"},"paths/~1delete/post/requestBody/content/application~1json/example":{"value":{"card_id":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"id":"paths/~1delete/post/requestBody/content/application~1json/example"},"paths/~1freeze/post/requestBody/content/application~1json/example":{"value":{"id":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"id":"paths/~1freeze/post/requestBody/content/application~1json/example"},"paths/~1unfreeze/post/requestBody/content/application~1json/example":{"value":{"id":"a441831c-a5c7-4bed-8f61-793738afd5bc"},"id":"paths/~1unfreeze/post/requestBody/content/application~1json/example"}},"securitySchemeStore":{"InfiniHmac":{"id":"InfiniHmac","type":"http","scheme":"basic","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sandbox API "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Key"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" (keyId) and "},"children":[]},{"$$mdtype":"Node","type":"strong","inline":true,"attributes":{"marker":"**"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Secret"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" from the Infini dashboard."},"children":[]}]}]}]}},"servers":[{"url":"/_mock/apis/card","isMockServer":true,"description":"Mock server"},{"url":"https://openapi.infini.money/v2/cards","description":"Production"},{"url":"https://openapi-sandbox.infini.money/v2/cards","description":"Sandbox"}]},"options":{"hideReplay":false,"corsProxyUrl":"https://infini-hmac-cors-proxy.infini-labs.workers.dev/_api/cors/","hideSidebar":true,"mockServer":{"url":"/_mock/apis/card","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/apis/card.json?download"},{"url":"/_bundle/apis/card.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Infini Card API","description":"Organization card APIs. All endpoints use the independent `/v2/cards` prefix.\n\nRequests require [HMAC-SHA256 authentication](/docs/en/4-authorization). To use **Try it**, save Sandbox credentials on [API Credentials](/credentials), or enter Key and Secret under **Security -> HMAC**."}},"baseSlug":"/apis/card","routesMapping":{}}