{
    "components": {
        "schemas": {
            "acore_internal_application_x.ErrResponse": {
                "properties": {
                    "code": {
                        "type": "integer"
                    },
                    "debug_id": {
                        "type": "string"
                    },
                    "error": {
                        "type": "boolean"
                    },
                    "fields": {
                        "additionalProperties": {
                            "type": "string"
                        },
                        "type": "object"
                    },
                    "message": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "acore_internal_domain_bulkpayout.PayoutRecord": {
                "properties": {
                    "amount": {
                        "type": "number"
                    },
                    "beneficiary_address_1": {
                        "maxLength": 35,
                        "type": "string"
                    },
                    "beneficiary_address_2": {
                        "maxLength": 35,
                        "type": "string"
                    },
                    "beneficiary_iban": {
                        "type": "string"
                    },
                    "beneficiary_name": {
                        "maxLength": 35,
                        "type": "string"
                    },
                    "debit_account": {
                        "maxLength": 34,
                        "type": "string"
                    },
                    "debtor_address_1": {
                        "maxLength": 35,
                        "type": "string"
                    },
                    "debtor_address_2": {
                        "maxLength": 35,
                        "type": "string"
                    },
                    "debtor_address_3": {
                        "maxLength": 35,
                        "type": "string"
                    },
                    "debtor_name": {
                        "maxLength": 35,
                        "type": "string"
                    },
                    "narrative": {
                        "maxLength": 50,
                        "type": "string"
                    },
                    "purpose_code": {
                        "maxLength": 4,
                        "type": "string"
                    },
                    "value_date": {
                        "type": "string"
                    }
                },
                "required": [
                    "amount",
                    "beneficiary_iban",
                    "beneficiary_name",
                    "value_date"
                ],
                "type": "object"
            },
            "acore_internal_domain_payout.Charge": {
                "enum": [
                    1,
                    2,
                    3
                ],
                "type": "integer",
                "x-enum-varnames": [
                    "ChargeOUR",
                    "ChargeSHA",
                    "ChargeBEN"
                ]
            },
            "acore_internal_interfaces_api_response.Response": {
                "allOf": [
                    {
                        "$ref": "#/components/schemas/data"
                    }
                ],
                "properties": {
                    "data": {},
                    "debug_id": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "data": {
                "properties": {
                    "data": {
                        "$ref": "#/components/schemas/interfaces_api.VAResp"
                    }
                },
                "type": "object"
            },
            "interfaces_api.Address": {
                "properties": {
                    "address_line_1": {
                        "type": "string"
                    },
                    "address_line_2": {
                        "type": "string"
                    },
                    "building": {
                        "type": "string"
                    },
                    "city": {
                        "type": "string"
                    },
                    "country": {
                        "type": "string"
                    },
                    "floor": {
                        "type": "string"
                    },
                    "po_box": {
                        "type": "string"
                    },
                    "street": {
                        "type": "string"
                    }
                },
                "required": [
                    "address_line_1",
                    "city",
                    "country"
                ],
                "type": "object"
            },
            "interfaces_api.CreateBulkPayoutReq": {
                "properties": {
                    "connection_id": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "multi_debit": {
                        "type": "boolean"
                    },
                    "records": {
                        "items": {
                            "$ref": "#/components/schemas/acore_internal_domain_bulkpayout.PayoutRecord"
                        },
                        "maxItems": 500,
                        "minItems": 1,
                        "type": "array",
                        "uniqueItems": false
                    }
                },
                "required": [
                    "connection_id",
                    "currency",
                    "records"
                ],
                "type": "object"
            },
            "interfaces_api.CreateBulkPayoutResp": {
                "properties": {
                    "reference_id": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "interfaces_api.CreatePayoutReq": {
                "properties": {
                    "amount": {
                        "type": "number"
                    },
                    "benef_iban": {
                        "type": "string"
                    },
                    "benef_name": {
                        "maxLength": 140,
                        "type": "string"
                    },
                    "benf_addr": {
                        "$ref": "#/components/schemas/interfaces_api.Address"
                    },
                    "charges": {
                        "$ref": "#/components/schemas/acore_internal_domain_payout.Charge"
                    },
                    "connection_id": {
                        "type": "string"
                    },
                    "currency": {
                        "maxLength": 3,
                        "minLength": 3,
                        "type": "string"
                    },
                    "date": {
                        "type": "string"
                    },
                    "purpose": {
                        "type": "string"
                    },
                    "trn": {
                        "maxLength": 100,
                        "type": "string"
                    }
                },
                "required": [
                    "amount",
                    "benef_iban",
                    "benef_name",
                    "benf_addr",
                    "charges",
                    "connection_id",
                    "currency",
                    "date",
                    "purpose",
                    "trn"
                ],
                "type": "object"
            },
            "interfaces_api.CreatePayoutResp": {
                "properties": {
                    "reference_id": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "transaction_type": {
                        "type": "string"
                    },
                    "trn": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "interfaces_api.CreateSadadReq": {
                "properties": {
                    "amount": {
                        "type": "number"
                    },
                    "bill_category": {
                        "type": "integer"
                    },
                    "biller_code": {
                        "type": "string"
                    },
                    "connection_id": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "pay_exact_due": {
                        "type": "boolean"
                    },
                    "subscriber_num": {
                        "maxLength": 30,
                        "type": "string"
                    }
                },
                "required": [
                    "amount",
                    "bill_category",
                    "biller_code",
                    "connection_id",
                    "currency",
                    "subscriber_num"
                ],
                "type": "object"
            },
            "interfaces_api.CreateSadadResp": {
                "properties": {
                    "reference_id": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "transaction_type": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "interfaces_api.CreateVAReq": {
                "properties": {
                    "connection_id": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "max_amount": {
                        "type": "number"
                    },
                    "remitter_name": {
                        "maxLength": 100,
                        "type": "string"
                    }
                },
                "required": [
                    "connection_id",
                    "currency",
                    "max_amount",
                    "remitter_name"
                ],
                "type": "object"
            },
            "interfaces_api.GetPayoutResp": {
                "properties": {
                    "amount": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "id": {
                        "type": "string"
                    },
                    "reference_id": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "trn": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "interfaces_api.GetSadadResp": {
                "properties": {
                    "amount": {
                        "type": "string"
                    },
                    "biller_code": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "id": {
                        "type": "string"
                    },
                    "reference_id": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    },
                    "subscriber_num": {
                        "type": "string"
                    }
                },
                "type": "object"
            },
            "interfaces_api.VAListResp": {
                "properties": {
                    "items": {
                        "items": {
                            "$ref": "#/components/schemas/interfaces_api.VAResp"
                        },
                        "type": "array",
                        "uniqueItems": false
                    },
                    "page": {
                        "type": "integer"
                    }
                },
                "type": "object"
            },
            "interfaces_api.VAResp": {
                "properties": {
                    "connection_id": {
                        "type": "string"
                    },
                    "created_at": {
                        "type": "string"
                    },
                    "currency": {
                        "type": "string"
                    },
                    "iban": {
                        "type": "string"
                    },
                    "id": {
                        "type": "string"
                    },
                    "max_amount": {
                        "type": "string"
                    },
                    "reference_id": {
                        "type": "string"
                    },
                    "remitter_id": {
                        "type": "string"
                    },
                    "remitter_name": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    }
                },
                "type": "object"
            }
        },
        "securitySchemes": {
            "APIKey": {
                "in": "header",
                "name": "X-API-Key",
                "type": "apiKey"
            }
        }
    },
    "info": {
        "description": "Dfolt B2B banking API",
        "title": "Dfolt",
        "version": ""
    },
    "externalDocs": {
        "description": "",
        "url": ""
    },
    "paths": {
        "/v1/bulk-payouts": {
            "post": {
                "description": "Creates a bulk payout from JSON records; bank submission happens after approval",
                "operationId": "createBulkPayout",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Idempotency key, alphanumeric",
                        "in": "header",
                        "name": "X-Idempotency-Key",
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/interfaces_api.CreateBulkPayoutReq",
                                "summary": "request",
                                "description": "Bulk payout details"
                            }
                        }
                    },
                    "description": "Bulk payout details",
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "Created"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Conflict"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Create a bulk payout",
                "tags": [
                    "Bulk Payouts"
                ]
            }
        },
        "/v1/payouts": {
            "post": {
                "description": "Creates a draft payout that requires approval before execution",
                "operationId": "createPayout",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Idempotency key, alphanumeric",
                        "in": "header",
                        "name": "X-Idempotency-Key",
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/interfaces_api.CreatePayoutReq",
                                "summary": "request",
                                "description": "Payout details"
                            }
                        }
                    },
                    "description": "Payout details",
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "Created"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Not Found"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Conflict"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Create a new payout",
                "tags": [
                    "Payouts"
                ]
            }
        },
        "/v1/payouts/{reference_id}": {
            "get": {
                "description": "Returns a payout owned by the API key's scope",
                "operationId": "getPayout",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Payout reference ID",
                        "in": "path",
                        "name": "reference_id",
                        "required": true,
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Not Found"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Conflict"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Get a payout",
                "tags": [
                    "Payouts"
                ]
            }
        },
        "/v1/sadad": {
            "post": {
                "description": "Creates a draft SADAD bill payment that requires approval before execution",
                "operationId": "createSadad",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Idempotency key, alphanumeric",
                        "in": "header",
                        "name": "X-Idempotency-Key",
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/interfaces_api.CreateSadadReq",
                                "summary": "request",
                                "description": "SADAD payment details"
                            }
                        }
                    },
                    "description": "SADAD payment details",
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "Created"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Create a SADAD payment",
                "tags": [
                    "SADAD"
                ]
            }
        },
        "/v1/sadad/{reference_id}": {
            "get": {
                "description": "Returns a SADAD payment owned by the API key's scope",
                "operationId": "getSadad",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "SADAD reference ID",
                        "in": "path",
                        "name": "reference_id",
                        "required": true,
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Not Found"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Get a SADAD payment",
                "tags": [
                    "SADAD"
                ]
            }
        },
        "/v1/va": {
            "get": {
                "description": "Lists the virtual accounts of a connection, 10 per page",
                "operationId": "listVA",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Connection ID",
                        "in": "query",
                        "name": "connection_id",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    },
                    {
                        "description": "Page number, from 1",
                        "in": "query",
                        "name": "page",
                        "schema": {
                            "minimum": 1,
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "List virtual accounts",
                "tags": [
                    "Virtual Accounts"
                ]
            },
            "post": {
                "description": "Creates a virtual account; the bank assigns the IBAN asynchronously",
                "operationId": "createVA",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Idempotency key, alphanumeric",
                        "in": "header",
                        "name": "X-Idempotency-Key",
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    }
                ],
                "requestBody": {
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/interfaces_api.CreateVAReq",
                                "summary": "request",
                                "description": "Virtual account details"
                            }
                        }
                    },
                    "description": "Virtual account details",
                    "required": true
                },
                "responses": {
                    "201": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "Created"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "422": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unprocessable Entity"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Create a virtual account",
                "tags": [
                    "Virtual Accounts"
                ]
            }
        },
        "/v1/va/{va_id}": {
            "get": {
                "description": "Returns a virtual account owned by the API key's scope",
                "operationId": "getVA",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Virtual account ID",
                        "in": "path",
                        "name": "va_id",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Not Found"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Get a virtual account",
                "tags": [
                    "Virtual Accounts"
                ]
            }
        },
        "/v1/va/{va_id}/block": {
            "post": {
                "description": "Blocks an active virtual account at the bank",
                "operationId": "blockVA",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Idempotency key, alphanumeric",
                        "in": "header",
                        "name": "X-Idempotency-Key",
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    },
                    {
                        "description": "Virtual account ID",
                        "in": "path",
                        "name": "va_id",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Not Found"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Conflict"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Block a virtual account",
                "tags": [
                    "Virtual Accounts"
                ]
            }
        },
        "/v1/va/{va_id}/unblock": {
            "post": {
                "description": "Unblocks a blocked virtual account at the bank",
                "operationId": "unblockVA",
                "parameters": [
                    {
                        "description": "Response format",
                        "in": "header",
                        "name": "Accept",
                        "required": true,
                        "schema": {
                            "default": "application/json",
                            "enum": [
                                "application/json"
                            ],
                            "type": "string"
                        }
                    },
                    {
                        "description": "Idempotency key, alphanumeric",
                        "in": "header",
                        "name": "X-Idempotency-Key",
                        "schema": {
                            "maxLength": 50,
                            "type": "string"
                        }
                    },
                    {
                        "description": "Virtual account ID",
                        "in": "path",
                        "name": "va_id",
                        "required": true,
                        "schema": {
                            "format": "uuid",
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "allOf": [
                                        {
                                            "$ref": "#/components/schemas/data"
                                        }
                                    ],
                                    "properties": {
                                        "data": {},
                                        "debug_id": {
                                            "type": "string"
                                        }
                                    },
                                    "type": "object"
                                }
                            }
                        },
                        "description": "OK"
                    },
                    "400": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Bad Request"
                    },
                    "401": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Unauthorized"
                    },
                    "403": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Forbidden"
                    },
                    "404": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Not Found"
                    },
                    "409": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Conflict"
                    },
                    "500": {
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/acore_internal_application_x.ErrResponse"
                                }
                            }
                        },
                        "description": "Internal Server Error"
                    }
                },
                "security": [
                    {
                        "APIKey": []
                    }
                ],
                "summary": "Unblock a virtual account",
                "tags": [
                    "Virtual Accounts"
                ]
            }
        }
    },
    "openapi": "3.1.0",
    "servers": [
        {
            "url": "https://api.dfolt.com"
        }
    ]
}