- convertIbanPaytoToAccountFieldread-only#
Convert an IBAN payto URI into the account number representation expected by the target country’s banking interfaces.
Request:
The request must be a ConvertIbanPaytoToAccountFieldRequest object.
Response:
On success, the result is a ConvertIbanPaytoToAccountFieldResponse object.
Details:
Hungarian IBANs are converted to the domestic BBAN form (a developer experiment enables the same conversion for Swiss IBANs); all other IBANs are returned unchanged. An error is thrown when
paytoUriis not a valid payto URI.
interface ConvertIbanPaytoToAccountFieldRequest {
paytoUri: string;
}
interface ConvertIbanPaytoToAccountFieldResponse {
type: "iban" | "bban";
value: string;
}