Sub-wallets

List Sub-wallets

List all the sub-wallets that belong to a user's wallet account. These are specified by the wallet account_id.

get/sub_wallets/{account_id}

Request

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

Path parameters

account_idstring required

Wallet Account Id

Query parameters

offsetinteger

Number of records to offset. Required for pagination.

limitinteger

Number of records to retrieve. Up to 200.

Response

OK

Example response

{
  "sub_wallets": [
    {
      "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.