{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/bancomat/main/json-schema/bancomat-checkout-schema.json", "title": "Checkout", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/bancomat-checkout-api-openapi.yml#/components/schemas/Checkout", "type": "object", "properties": { "code": { "type": "string", "pattern": "^[a-zA-Z\\d]{8}$", "description": "Unique identifier of the checkout session. This code is secret and should never be shared with anyone who is not the payer." }, "fingerprint": { "$ref": "#/$defs/Fingerprint" }, "type": { "$ref": "#/$defs/DocumentKindEnum" }, "creditor": { "type": "string", "format": "uuid", "description": "Identifier of the creditor", "x-faker": "datatype.uuid" }, "debtor": { "type": "string", "format": "uuid", "description": "Identifier of the debtor", "x-faker": "datatype.uuid" }, "collectionMethods": { "type": "array", "items": { "$ref": "#/$defs/CollectionMethodEnum" }, "description": "Collection methods enabled for the payment.
Note that collection methods are the intersection of the collection methods techologies enabled for the creditor and the collection methods allowed by the client for checkout." }, "payments": { "type": "array", "items": { "$ref": "#/$defs/Payment" }, "description": "List of payments related to the checkout" } }, "required": [ "code", "fingerprint", "type", "creditor", "debtor", "collectionMethods" ], "$defs": { "CollectionMethodEnum": { "type": "string", "enum": [ "sct", "sct-inst", "sdd", "card", "custom/