Account attachment
Update payout account for savings account
Update the payout account configuration for an attached savings account. The payout account specifies where interest payments are sent.
patch/v1/savings-accounts/accounts/{accountId}
Request
- Base URLhttps://sandbox.pismolabs.io/savings-products
- URLhttps://sandbox.pismolabs.io/savings-products/v1/savings-accounts/accounts/{accountId}
- AuthHTTP bearer
Path parameters
accountIdstring required
Account ID. Accepts either the Pismo account_id or your external_account_id. Send the same ID used to generate the access token.
Request body
Example request
{
"payout_account": {
"label": "My payout account",
"type": "INTERNAL",
"internal_account_id": 123456,
"external_account": {
"key": "value"
}
}
}Response
Payout account updated successfully
Example response
{
"payout_account": {
"label": "My payout account",
"type": "INTERNAL",
"internal_account_id": 123456,
"external_account": {
"key": "value"
}
},
"updated_at": "2024-01-23T13:26:25.000Z",
"external_account_id": "ext-acct-001"
}Changes
No recorded changes to this operation across all 1 revision of this API.