{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "PaymentDetailsBacs", "description": "Details of a BACS payment method in the UK.", "$id": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-payment-details-bacs-schema.json", "type": "object", "properties": { "mandateStatus": { "$ref": "https://raw.githubusercontent.com/api-evangelist/otter/refs/heads/main/json-schema/public-api-mandate-status-schema.json" }, "lastFour": { "type": "string", "description": "The last four digits of the BACS account.", "example": "9876" }, "sortCode": { "type": "string", "description": "The sort code of the BACS account.", "example": "12-34-56" }, "mandateId": { "type": "string", "description": "The mandate ID for the BACS account.", "example": "mandate_123" }, "reference": { "type": "string", "description": "The reference for the BACS payment.", "example": "reference_abc" }, "url": { "type": "string", "description": "The URL for the BACS payment details.", "example": "http://example.com/bacs" } } }