# Migration v25

Contains 2 breaking changes of the SDK interface.

## Changes

- Reverts changes from v24, authorizationAmount should be set by the consuming app  
- Renamed `cardNumbver` to `cardNumber` (this is most likely not used, so should be safe)

**You should be able to safely migrate from v23 to v25.**

### fetchGatewayConfig requires authorizationAmount parameter

v24 introduced a few issues that this PR addresses:
- we need to pass `authorizationAmount` from the consuming apps, as consumers have different requirements
- ideally, we do not want to reference the gateway names as this would introduce a direct dependency on zuora config in all consumers
- zuora config and changes will directly impact multiple systems (membership + customer products repos)
- let's work with membership to add a flag instead, so that all zuora configs related things reside in the same domain


### typo on cardNumber in MembershipDigitalVoucherResponse

in src/types/digital-voucher.ts, MembershipDigitalVoucherResponse
```js
-   cardNumber: string;
+   cardNumbver: string;
```
