Contents

getBankingChoicesForPaytoread-only#

Get banking applications or websites that can execute the given payto URI.

Request:

The request must be a GetBankingChoicesForPaytoRequest object.

Response:

On success, the result is a GetBankingChoicesForPaytoResponse object.

Details:

Currently, choices are only returned for the KUDOS demonstration currency (links to the demonstrator bank’s website and app); the list is empty when the payto URI carries no amount or no choice is known for the currency. An error is thrown when paytoUri is not a valid payto URI.

interface GetBankingChoicesForPaytoRequest {
  paytoUri: string;
}
interface GetBankingChoicesForPaytoResponse {
  choices: BankingChoiceSpec[];
}
interface BankingChoiceSpec {
  label: string;
  type: "link";
  uri: string;
}