diff options
Diffstat (limited to 'src/types/talerTypes.ts')
-rw-r--r-- | src/types/talerTypes.ts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/types/talerTypes.ts b/src/types/talerTypes.ts index 823f437b5..95c1a711c 100644 --- a/src/types/talerTypes.ts +++ b/src/types/talerTypes.ts @@ -940,6 +940,20 @@ export interface WithdrawUriInfoResponse { possibleExchanges: ExchangeListItem[]; } +/** + * Response body for the following endpoint: + * + * POST {talerBankIntegrationApi}/withdrawal-operation/{wopid} + */ +export interface BankWithdrawalOperationPostResponse { + transfer_done: boolean; +} + +export const codecForBankWithdrawalOperationPostResponse = (): Codec<BankWithdrawalOperationPostResponse> => + makeCodecForObject<BankWithdrawalOperationPostResponse>() + .property("transfer_done", codecForBoolean) + .build("BankWithdrawalOperationPostResponse"); + export type AmountString = string; export type Base32String = string; export type EddsaSignatureString = string; |