taler-docs

Documentation for GNU Taler components, APIs and protocols
Log | Files | Refs | README | LICENSE

validate-iban.rst (514B)


      1 .. ts:op:: validateIban
      2   :read-only:
      3 
      4   Validate an International Bank Account Number (IBAN) according to
      5   ISO 13616, including the country-specific length and the checksum.
      6 
      7   **Request:**
      8 
      9     The request must be a `ValidateIbanRequest` object.
     10 
     11   **Response:**
     12 
     13     On success, the result is a `ValidateIbanResponse` object.
     14 
     15 .. ts:def:: ValidateIbanRequest
     16 
     17   interface ValidateIbanRequest {
     18     iban: string;
     19   }
     20 
     21 .. ts:def:: ValidateIbanResponse
     22 
     23   interface ValidateIbanResponse {
     24     valid: boolean;
     25   }