- getDepositWireTypesread-only#
Get the wire types that can be used as the target of a deposit, together with per-type details. The result is derived from the wire accounts of the exchanges known to the wallet; accounts with a deny-type debit restriction are excluded. When
currencyis given, only exchanges for that currency are considered.Request:
The request body must be a GetDepositWireTypesRequest object.
Response:
On success, the result is a GetDepositWireTypesResponse object.
interface GetDepositWireTypesRequest {
currency?: string;
// Optional scope info to further restrict the result.
// Currency must match the currency field.
scopeInfo?: ScopeInfo;
}
interface GetDepositWireTypesResponse {
// Details for each wire type.
wireTypeDetails: WireTypeDetails[];
}
interface WireTypeDetails {
paymentTargetType: string;
// Only applicable for payment target type IBAN. Specifies
// whether the user wants to preferably enter their bank account
// details as an IBAN or as a BBAN. Mandatory for
// paymentTargetType="iban".
preferredEntryType?: "iban" | "bban";
// Allowed hostnames for the deposit payto URI. Only applicable to
// x-taler-bank.
talerBankHostnames?: string[];
}