Change payout details
Last updated
Was this helpful?
Last updated
Was this helpful?
In this example, we will review how to change the payout details for an active deposit contract. We will use the that was previously created.
api/v1/contracts/ID-1696407222...
...versions/ID-1696407267/payout-details
The payoutDetails
parameter is optional and can only be defined for an active deposit contract.
Payout details support the following account number types:
,
.
Click on the tabs below to see the formatting for each account number types.
Parameter validations:
If accountNumber.type
is IBAN, financialInstitutionId
is not required.
If accountNumber.type
is IBAN and financialInstitutionId
is provided, then countryCode
is required.
If payout details are not specified for a contract version, the payout will automatically be directed to the servicing account. It is not necessary to define the servicing account as the payout account in this case.
Payout details can be modified or removed. To remove payout details from an active contract version, include the following in the request:
To change the deposit contract payout details, make the following API call.
Below you find an example response body to the API call above.
As a result, the deposit contract payout details were updated.
The contract header is ID-1696407222
. See the for more details.
The active contract version is ID-1696407267
. See the for more details.
The new payout details.
Note: the payoutDetails
parameter is not mandatory. This parameter can be only defined for an active deposit contract. See more information about the payoutDetails
parameter .