Sub-wallets

Update Sub-wallet

Update an existing sub-wallet using the given :id. You can change the name of an enabled sub-wallet. You can change the active status of a redacted sub-wallet.

patch/sub_wallets/{id}

Request

  • Base URL
    https://test.api.promisepay.com
  • URL
    https://test.api.promisepay.com/sub_wallets/{id}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://au-0000.sandbox.auth.assemblypay.com/tokens

Path parameters

idstring required
Example:c66a1bec-4ca5-418c-8b0a-5513819576ee

sub-wallet ID

Request body

OR
OR

Example request

{
  "name": "Investment Fund",
  "active": true
}

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.