Sub-wallets
Redact Sub-wallet
Redact a sub-wallet using the given :id. Only sub-wallets with zero balance can be redacted. Once this is done, the sub-wallet can no longer be used as a funding source.
delete/sub_wallets/{id}
Request
- Base URLhttps://test.api.promisepay.com
- URLhttps://test.api.promisepay.com/sub_wallets/{id}
- AuthOAuth 2Client credentialsToken URL: https://au-0000.sandbox.auth.assemblypay.com/tokens
Path parameters
idstring required
Example:c66a1bec-4ca5-418c-8b0a-5513819576ee
sub-wallet ID
Response
OK
Example response
{
"sub_wallets": {
"id": "c66a1bec-4ca5-418c-8b0a-5513819576ee",
"name": "investment",
"active": true,
"currency": "AUD"
}
}Changes
No recorded changes to this operation across all 2 revisions of this API.