Skip to Content
WonderMoney Docs
API

Referência da API

Referência interativa da API REST do WonderMoney. As descrições das operações estão em inglês em todos os idiomas.

Esta referência é gerada a partir da especificação OpenAPI da API. Cada operação inclui o âmbito de token necessário e os esquemas documentados de pedido e de resposta. Consulta o guia da API para configurar tokens e tratar pedidos.

GET
/v1/account

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
accounts*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account'
Example Response
{  "accounts": [    {      "accountFinancialInstitutionKey": {        "displayName": "string",        "logoUrl": "string"      },      "accountKey": 0,      "accountName": "string",      "accountType": "string",      "appuserCurrencyAvailableBalance": 0,      "appuserCurrencyBalance": 0,      "attribution": {        "appuserKey": 0,        "displayName": "string"      },      "availableBalance": 0,      "balance": 0,      "creditCard": {        "property1": null,        "property2": null      },      "currencyKey": {        "code": "string"      },      "fxStatus": "string",      "isJoint": true,      "isOwnedByViewer": true,      "isPrivate": true,      "myAccess": "owner",      "ownerAppuserKey": 0,      "ownerFirstName": "string",      "refreshedAt": "string",      "source": "manual",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/account-types

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
accountTypes*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/account-types'
Example Response
{  "accountTypes": [    {      "accountTypeKey": 0,      "description": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/cashflow

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

fromDate?|number|string
memberKeys?string|number|array<string|number>
timezone?string
toDate?|number|string

Response Body

Successful response.

application/json
  1. response
cashflow?unknown
completeness*|null
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/cashflow'
Example Response
{  "cashflow": null,  "completeness": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/currencies

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
currencies*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/currencies'
Example Response
{  "currencies": [    {      "code": "string",      "currencyKey": 0,      "name": "string",      "symbol": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/financial-institutions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
accountFinancialInstitutions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/financial-institutions'
Example Response
{  "accountFinancialInstitutions": [    {      "accountFinancialInstitutionKey": 0,      "displayName": "string",      "logoUrl": "string",      "name": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/forecast

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?string|number|array<string|number>
days?integer
Range30 <= value <= 90
Default30

Response Body

Successful response.

application/json
  1. response
completeness*|null
days?array<>
forecast?array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/forecast'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "days": [    {      "property1": null,      "property2": null    }  ],  "forecast": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/metrics

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

fromDate?|number|string
timezone?string
toDate?|number|string

Response Body

Successful response.

application/json
  1. response
metrics*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/metrics'
Example Response
{  "metrics": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST
/v1/account/offline

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Request Body

application/json
  1. body
accountTypeId?number|
currencyId*number|
currentBalance*number
Rangevalue <= 999999999999
financialInstitutionId?number
name*string
Length1 <= length <= 100

Response Body

Successful response.

application/json
  1. response
account*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/account/offline' \  -H 'Content-Type: application/json' \  -d '{  "currencyId": 0,  "currentBalance": 999999999999,  "name": "string"}'
Example Response
{  "account": {    "accountFinancialInstitutionKey": {      "displayName": "string",      "logoUrl": "string"    },    "accountKey": 0,    "accountName": "string",    "accountType": "string",    "appuserCurrencyAvailableBalance": 0,    "appuserCurrencyBalance": 0,    "attribution": {      "appuserKey": 0,      "displayName": "string"    },    "availableBalance": 0,    "balance": 0,    "creditCard": {      "property1": null,      "property2": null    },    "currencyKey": {      "code": "string"    },    "fxStatus": "string",    "isJoint": true,    "isOwnedByViewer": true,    "isPrivate": true,    "myAccess": "owner",    "ownerAppuserKey": 0,    "ownerFirstName": "string",    "refreshedAt": "string",    "source": "manual",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/transaction

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

direction?string
Value in"in""out"
excludeNonSpending?boolean|string
excludeTransfers?boolean|string
memberCurrency?string
Match^[A-Z]{3}$
merchantKeys?string|number|array<string|number>
statuses?string|number|array<string|number>
accountKeys?string|number|array<string|number>
categoryKeys?string|number|array<string|number>
confidence?string
Value in"high""low""medium""none"
fromDate?|number|string
includeHidden?boolean|string
memberKeys?string|number|array<string|number>
tagKeys?string|number|array<string|number>
timezone?string
toDate?|number|string
transactionTypes?string|number|array<string|number>
unreviewedOnly?boolean|string
cursor?string
Match^\d+_\d+$
Lengthlength <= 64
includeEmptyAccounts?boolean|string
limit?|
Default100

Response Body

Successful response.

application/json
  1. response
completeness*|null
hasMore*boolean
limit*integer
moneyIn*number|null
moneyOut*number|null
nextCursor*string|null
total*number|null
totalAmount*number|null
transactions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "hasMore": true,  "limit": 0,  "moneyIn": 0,  "moneyOut": 0,  "nextCursor": "string",  "total": 0,  "totalAmount": 0,  "transactions": [    {      "accountKey": 0,      "amount": 0,      "attribution": {        "appuserKey": 0,        "displayName": "string",        "overridden": true      },      "categoryKey": 0,      "currencyKey": {        "code": "string"      },      "description": "string",      "installment": {        "installmentCount": 0,        "installmentNumber": 0,        "installmentPlanKey": 0,        "property1": null,        "property2": null      },      "notes": "string",      "settlementAmount": 0,      "reimbursements": [        {          "amount": 0,          "createdAt": "string",          "currencyCode": "string",          "expense": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "reimbursement": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "transactionReimbursementKey": 0,          "property1": null,          "property2": null        }      ],      "splits": [        {          "amount": 0,          "categoryKey": 0,          "expenseGroupMember": {            "expenseGroupKey": 0,            "expenseGroupMemberKey": 0,            "isHouseholdMember": true,            "name": "string"          },          "description": "string",          "splitKey": 0,          "property1": null,          "property2": null        }      ],      "status": "string",      "tags": [        {          "name": "string",          "tagKey": 0,          "property1": null,          "property2": null        }      ],      "transactionDate": "string",      "transactionKey": 0,      "transactionMerchantKey": {        "transactionMerchantKey": 0,        "name": "string",        "website": "string",        "logoUrl": "string",        "resolvedLogoUrl": "string",        "transactionCount": 0,        "property1": null,        "property2": null      },      "transactionType": "string",      "transferDestination": {        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
PATCH
/v1/account/transaction

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Request Body

application/json
  1. body
filter?
transactionIds?array<number|>
Items1 <= items <= 5000
addTagIds?array<number|>
Itemsitems <= 50
categoryId?string
hidden?boolean
removeTagIds?array<number|>
Itemsitems <= 50
reviewed?boolean

Response Body

Successful response.

application/json
  1. response
ruleSuggestion*|null
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/account/transaction' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "ruleSuggestion": {    "category": {      "categoryKey": 0,      "name": "string",      "property1": null,      "property2": null    },    "fingerprint": "string",    "kind": "description",    "matchCount": 0,    "rule": {      "actions": [        {          "property1": null,          "property2": null        }      ],      "conditions": [        {          "property1": null,          "property2": null        }      ],      "match": "all",      "name": "string",      "stopProcessing": true,      "property1": null,      "property2": null    },    "windowDays": 0,    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/transaction-merchants

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

limit?|
Default20
search?string
Lengthlength <= 200
Default""

Response Body

Successful response.

application/json
  1. response
transactionMerchants*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction-merchants'
Example Response
{  "transactionMerchants": [    {      "transactionMerchantKey": 0,      "name": "string",      "website": "string",      "logoUrl": "string",      "resolvedLogoUrl": "string",      "transactionCount": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/transaction-merchants/{merchantId}/logo

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

merchantId*number|

Response Body

Successful response.

response?ImageFileimage/*

An image file

Formatbinary
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction-merchants/0/logo'
Example Response
"string"
GET
/v1/account/transaction-types

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
transactionTypes*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction-types'
Example Response
{  "transactionTypes": [    {      "description": "string",      "transactionTypeKey": 0    }  ],  "property1": null,  "property2": null}
GET
/v1/account/transaction/category-spending

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

fromDate?|number|string
limit?|
Default100
memberKeys?string|number|array<string|number>
timezone?string
toDate?|number|string

Response Body

Successful response.

application/json
  1. response
categorySpending*array<>
completeness*|null
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction/category-spending'
Example Response
{  "categorySpending": [    {      "property1": null,      "property2": null    }  ],  "completeness": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/transaction/review-summary

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
reviewed*integer
total*integer
unreviewed*integer
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction/review-summary'
Example Response
{  "reviewed": 0,  "total": 0,  "unreviewed": 0,  "property1": null,  "property2": null}
PATCH
/v1/account/transaction/{transactionId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Request Body

application/json
  1. body
categoryKey?string
notes?|
Lengthlength <= 1000
transactionType?string
Value in"TRANSFER_OUT""TRANSFER_IN""PAYMENT""DEPOSIT"
transferDestination?|null
attributedAppuserKey?|number||null
statementDateOverride?|number|string|null
updatedAmount?number|

Response Body

Successful response.

application/json
  1. response
ruleSuggestion*|null
transaction*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/account/transaction/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "ruleSuggestion": {    "category": {      "categoryKey": 0,      "name": "string",      "property1": null,      "property2": null    },    "fingerprint": "string",    "kind": "description",    "matchCount": 0,    "rule": {      "actions": [        {          "property1": null,          "property2": null        }      ],      "conditions": [        {          "property1": null,          "property2": null        }      ],      "match": "all",      "name": "string",      "stopProcessing": true,      "property1": null,      "property2": null    },    "windowDays": 0,    "property1": null,    "property2": null  },  "transaction": {    "accountKey": 0,    "amount": 0,    "attribution": {      "appuserKey": 0,      "displayName": "string",      "overridden": true    },    "categoryKey": 0,    "currencyKey": {      "code": "string"    },    "description": "string",    "installment": {      "installmentCount": 0,      "installmentNumber": 0,      "installmentPlanKey": 0,      "property1": null,      "property2": null    },    "notes": "string",    "settlementAmount": 0,    "reimbursements": [      {        "amount": 0,        "createdAt": "string",        "currencyCode": "string",        "expense": {          "accountKey": 0,          "accountName": "string",          "currencyCode": "string",          "description": "string",          "merchantName": "string",          "settlementAmount": 0,          "transactionDate": "string",          "transactionKey": 0,          "property1": null,          "property2": null        },        "reimbursement": {          "accountKey": 0,          "accountName": "string",          "currencyCode": "string",          "description": "string",          "merchantName": "string",          "settlementAmount": 0,          "transactionDate": "string",          "transactionKey": 0,          "property1": null,          "property2": null        },        "transactionReimbursementKey": 0,        "property1": null,        "property2": null      }    ],    "splits": [      {        "amount": 0,        "categoryKey": 0,        "expenseGroupMember": {          "expenseGroupKey": 0,          "expenseGroupMemberKey": 0,          "isHouseholdMember": true,          "name": "string"        },        "description": "string",        "splitKey": 0,        "property1": null,        "property2": null      }    ],    "status": "string",    "tags": [      {        "name": "string",        "tagKey": 0,        "property1": null,        "property2": null      }    ],    "transactionDate": "string",    "transactionKey": 0,    "transactionMerchantKey": {      "transactionMerchantKey": 0,      "name": "string",      "website": "string",      "logoUrl": "string",      "resolvedLogoUrl": "string",      "transactionCount": 0,      "property1": null,      "property2": null    },    "transactionType": "string",    "transferDestination": {      "property1": null,      "property2": null    },    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/transaction/{transactionId}/attachments

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Response Body

Successful response.

application/json
  1. response
attachments*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction/0/attachments'
Example Response
{  "attachments": [    {      "attachmentId": 0,      "contentType": "string",      "createdAt": "string",      "fileName": "string",      "size": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/transaction/{transactionId}/history

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Response Body

Successful response.

application/json
  1. response
history*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction/0/history'
Example Response
{  "history": [    {      "actorType": "string",      "changes": {        "property1": null,        "property2": null      },      "createdAt": "string",      "eventType": "string",      "source": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/transaction/{transactionId}/reimbursements

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Response Body

Successful response.

application/json
  1. response
currencyCode*string|null
linkedAmount*number
links*array<>
remainingAmount*number

What can still be linked: the absolute amount less linkedAmount.

role*|

Money out is an expense, money in a reimbursement.

Value in"expense""reimbursement"null
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction/0/reimbursements'
Example Response
{  "currencyCode": "string",  "linkedAmount": 0,  "links": [    {      "amount": 0,      "createdAt": "string",      "currencyCode": "string",      "expense": {        "accountKey": 0,        "accountName": "string",        "currencyCode": "string",        "description": "string",        "merchantName": "string",        "settlementAmount": 0,        "transactionDate": "string",        "transactionKey": 0,        "property1": null,        "property2": null      },      "reimbursement": {        "accountKey": 0,        "accountName": "string",        "currencyCode": "string",        "description": "string",        "merchantName": "string",        "settlementAmount": 0,        "transactionDate": "string",        "transactionKey": 0,        "property1": null,        "property2": null      },      "transactionReimbursementKey": 0,      "property1": null,      "property2": null    }  ],  "remainingAmount": 0,  "role": "expense",  "property1": null,  "property2": null}
POST
/v1/account/transaction/{transactionId}/reimbursements

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Request Body

application/json
  1. body
amount*number|
expenseTransactionId*number|

Response Body

Successful response.

application/json
  1. response
link*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/account/transaction/0/reimbursements' \  -H 'Content-Type: application/json' \  -d '{  "amount": 0,  "expenseTransactionId": 0}'
Example Response
{  "link": {    "amount": 0,    "createdAt": "string",    "currencyCode": "string",    "expense": {      "accountKey": 0,      "accountName": "string",      "currencyCode": "string",      "description": "string",      "merchantName": "string",      "settlementAmount": 0,      "transactionDate": "string",      "transactionKey": 0,      "property1": null,      "property2": null    },    "reimbursement": {      "accountKey": 0,      "accountName": "string",      "currencyCode": "string",      "description": "string",      "merchantName": "string",      "settlementAmount": 0,      "transactionDate": "string",      "transactionKey": 0,      "property1": null,      "property2": null    },    "transactionReimbursementKey": 0,    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/transaction/{transactionId}/reimbursements/suggestions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Query Parameters

limit?|
Default10
search?string
Lengthlength <= 200

Response Body

Successful response.

application/json
  1. response
suggestions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/transaction/0/reimbursements/suggestions'
Example Response
{  "suggestions": [    {      "accountKey": 0,      "accountName": "string",      "currencyCode": "string",      "description": "string",      "merchantName": "string",      "settlementAmount": 0,      "transactionDate": "string",      "transactionKey": 0,      "reason": "amount",      "remainingAmount": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
PUT
/v1/account/transaction/{transactionId}/splits

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Request Body

application/json
  1. body
Itemsitems <= 50
[index: integer]?

Response Body

Successful response.

application/json
  1. response
transaction*
[key: string]?unknown
Example Request
curl -X PUT 'https://api.wonder.money/v1/account/transaction/0/splits' \  -H 'Content-Type: application/json' \  -d '[  {    "amount": 0,    "categoryId": 0  }]'
Example Response
{  "transaction": {    "accountKey": 0,    "amount": 0,    "attribution": {      "appuserKey": 0,      "displayName": "string",      "overridden": true    },    "categoryKey": 0,    "currencyKey": {      "code": "string"    },    "description": "string",    "installment": {      "installmentCount": 0,      "installmentNumber": 0,      "installmentPlanKey": 0,      "property1": null,      "property2": null    },    "notes": "string",    "settlementAmount": 0,    "reimbursements": [      {        "amount": 0,        "createdAt": "string",        "currencyCode": "string",        "expense": {          "accountKey": 0,          "accountName": "string",          "currencyCode": "string",          "description": "string",          "merchantName": "string",          "settlementAmount": 0,          "transactionDate": "string",          "transactionKey": 0,          "property1": null,          "property2": null        },        "reimbursement": {          "accountKey": 0,          "accountName": "string",          "currencyCode": "string",          "description": "string",          "merchantName": "string",          "settlementAmount": 0,          "transactionDate": "string",          "transactionKey": 0,          "property1": null,          "property2": null        },        "transactionReimbursementKey": 0,        "property1": null,        "property2": null      }    ],    "splits": [      {        "amount": 0,        "categoryKey": 0,        "expenseGroupMember": {          "expenseGroupKey": 0,          "expenseGroupMemberKey": 0,          "isHouseholdMember": true,          "name": "string"        },        "description": "string",        "splitKey": 0,        "property1": null,        "property2": null      }    ],    "status": "string",    "tags": [      {        "name": "string",        "tagKey": 0,        "property1": null,        "property2": null      }    ],    "transactionDate": "string",    "transactionKey": 0,    "transactionMerchantKey": {      "transactionMerchantKey": 0,      "name": "string",      "website": "string",      "logoUrl": "string",      "resolvedLogoUrl": "string",      "transactionCount": 0,      "property1": null,      "property2": null    },    "transactionType": "string",    "transferDestination": {      "property1": null,      "property2": null    },    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
PUT
/v1/account/transaction/{transactionId}/tags

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

transactionId*number|

Request Body

application/json
  1. body
tagIds*array<number|>
Itemsitems <= 50

Response Body

Successful response.

application/json
  1. response
tags*array<>
[key: string]?unknown
Example Request
curl -X PUT 'https://api.wonder.money/v1/account/transaction/0/tags' \  -H 'Content-Type: application/json' \  -d '{  "tagIds": [    0  ]}'
Example Response
{  "tags": [    {      "name": "string",      "tagKey": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/{accountId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Response Body

Successful response.

application/json
  1. response
account*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/0'
Example Response
{  "account": {    "accountFinancialInstitutionKey": {      "displayName": "string",      "logoUrl": "string"    },    "accountKey": 0,    "accountName": "string",    "accountType": "string",    "appuserCurrencyAvailableBalance": 0,    "appuserCurrencyBalance": 0,    "attribution": {      "appuserKey": 0,      "displayName": "string"    },    "availableBalance": 0,    "balance": 0,    "creditCard": {      "property1": null,      "property2": null    },    "currencyKey": {      "code": "string"    },    "fxStatus": "string",    "isJoint": true,    "isOwnedByViewer": true,    "isPrivate": true,    "myAccess": "owner",    "ownerAppuserKey": 0,    "ownerFirstName": "string",    "refreshedAt": "string",    "source": "manual",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
PATCH
/v1/account/{accountId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Request Body

application/json
  1. body
accountName?string
Length1 <= length <= 100
isPrivate?boolean
isJoint?boolean
openingBalance?number|
openingBalanceDate?|number|string

Response Body

Successful response.

application/json
  1. response
account*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/account/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "account": {    "accountFinancialInstitutionKey": {      "displayName": "string",      "logoUrl": "string"    },    "accountKey": 0,    "accountName": "string",    "accountType": "string",    "appuserCurrencyAvailableBalance": 0,    "appuserCurrencyBalance": 0,    "attribution": {      "appuserKey": 0,      "displayName": "string"    },    "availableBalance": 0,    "balance": 0,    "creditCard": {      "property1": null,      "property2": null    },    "currencyKey": {      "code": "string"    },    "fxStatus": "string",    "isJoint": true,    "isOwnedByViewer": true,    "isPrivate": true,    "myAccess": "owner",    "ownerAppuserKey": 0,    "ownerFirstName": "string",    "refreshedAt": "string",    "source": "manual",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/{accountId}/metrics

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Query Parameters

fromDate?|number|string
timezone?string

Response Body

Successful response.

application/json
  1. response
metrics*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/0/metrics'
Example Response
{  "metrics": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/{accountId}/ownership

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Response Body

Successful response.

application/json
  1. response
accountKey*integer
canManage*boolean
formerMembersPercent*number

The part held by people no longer in the household, which counts as Shared.

isJoint*boolean
isSplit*boolean

False when the account has no shares: it is its owner’s, or Shared when joint.

members*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/0/ownership'
Example Response
{  "accountKey": 0,  "canManage": true,  "formerMembersPercent": 0,  "isJoint": true,  "isSplit": true,  "members": [    {      "appuserKey": 0,      "canSee": true,      "displayName": "string",      "firstName": "string",      "isAccountOwner": true,      "lastName": "string",      "percent": 0,      "role": "owner"    }  ],  "property1": null,  "property2": null}
GET
/v1/account/{accountId}/recent-transactions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Response Body

Successful response.

application/json
  1. response
transactions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/0/recent-transactions'
Example Response
{  "transactions": [    {      "accountKey": 0,      "amount": 0,      "attribution": {        "appuserKey": 0,        "displayName": "string",        "overridden": true      },      "categoryKey": 0,      "currencyKey": {        "code": "string"      },      "description": "string",      "installment": {        "installmentCount": 0,        "installmentNumber": 0,        "installmentPlanKey": 0,        "property1": null,        "property2": null      },      "notes": "string",      "settlementAmount": 0,      "reimbursements": [        {          "amount": 0,          "createdAt": "string",          "currencyCode": "string",          "expense": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "reimbursement": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "transactionReimbursementKey": 0,          "property1": null,          "property2": null        }      ],      "splits": [        {          "amount": 0,          "categoryKey": 0,          "expenseGroupMember": {            "expenseGroupKey": 0,            "expenseGroupMemberKey": 0,            "isHouseholdMember": true,            "name": "string"          },          "description": "string",          "splitKey": 0,          "property1": null,          "property2": null        }      ],      "status": "string",      "tags": [        {          "name": "string",          "tagKey": 0,          "property1": null,          "property2": null        }      ],      "transactionDate": "string",      "transactionKey": 0,      "transactionMerchantKey": {        "transactionMerchantKey": 0,        "name": "string",        "website": "string",        "logoUrl": "string",        "resolvedLogoUrl": "string",        "transactionCount": 0,        "property1": null,        "property2": null      },      "transactionType": "string",      "transferDestination": {        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/{accountId}/shares

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Response Body

Successful response.

application/json
  1. response
accountKey*integer
canManage*boolean
isPrivate*boolean
members*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/0/shares'
Example Response
{  "accountKey": 0,  "canManage": true,  "isPrivate": true,  "members": [    {      "access": "owner",      "appuserKey": 0,      "firstName": "string",      "isAccountOwner": true,      "lastName": "string",      "role": "owner",      "share": "read"    }  ],  "property1": null,  "property2": null}
GET
/v1/account/{accountId}/statements

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Query Parameters

from?|number|string
to?|number|string

Response Body

Successful response.

application/json
  1. response
statements*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/0/statements'
Example Response
{  "statements": [    {      "availableCredit": 0,      "balance": 0,      "charges": 0,      "dueDate": "string",      "isCurrent": true,      "payments": 0,      "periodEnd": "string",      "periodStart": "string",      "status": "closed",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/account/{accountId}/statements/{statementDate}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|
statementDate*string
Match^\d{4}-\d{2}-\d{2}$/u

Response Body

Successful response.

application/json
  1. response
statement*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/0/statements/string'
Example Response
{  "statement": {    "availableCredit": 0,    "balance": 0,    "charges": 0,    "dueDate": "string",    "isCurrent": true,    "payments": 0,    "periodEnd": "string",    "periodStart": "string",    "status": "closed",    "transactions": [      {        "amount": 0,        "description": "string",        "merchantName": "string",        "transactionDate": "string",        "transactionKey": 0,        "property1": null,        "property2": null      }    ],    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/account/{accountId}/transaction

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*string

Query Parameters

direction?string
Value in"in""out"
excludeNonSpending?boolean|string
excludeTransfers?boolean|string
memberCurrency?string
Match^[A-Z]{3}$
merchantKeys?string|number|array<string|number>
statuses?string|number|array<string|number>
accountId?number|
categoryKeys?string|number|array<string|number>
confidence?string
Value in"high""low""medium""none"
cursor?string
Match^\d+_\d+$
Lengthlength <= 64
fromDate?|number|string
includeHidden?boolean|string
limit?|
Default100
tagKeys?string|number|array<string|number>
timezone?string
toDate?|number|string
transactionTypes?string|number|array<string|number>
unreviewedOnly?boolean|string

Response Body

Successful response.

application/json
  1. response
completeness*|null
hasMore*boolean
limit*integer
moneyIn*number|null
moneyOut*number|null
nextCursor*string|null
total*number|null
totalAmount*number|null
transactions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/account/string/transaction'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "hasMore": true,  "limit": 0,  "moneyIn": 0,  "moneyOut": 0,  "nextCursor": "string",  "total": 0,  "totalAmount": 0,  "transactions": [    {      "accountKey": 0,      "amount": 0,      "attribution": {        "appuserKey": 0,        "displayName": "string",        "overridden": true      },      "categoryKey": 0,      "currencyKey": {        "code": "string"      },      "description": "string",      "installment": {        "installmentCount": 0,        "installmentNumber": 0,        "installmentPlanKey": 0,        "property1": null,        "property2": null      },      "notes": "string",      "settlementAmount": 0,      "reimbursements": [        {          "amount": 0,          "createdAt": "string",          "currencyCode": "string",          "expense": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "reimbursement": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "transactionReimbursementKey": 0,          "property1": null,          "property2": null        }      ],      "splits": [        {          "amount": 0,          "categoryKey": 0,          "expenseGroupMember": {            "expenseGroupKey": 0,            "expenseGroupMemberKey": 0,            "isHouseholdMember": true,            "name": "string"          },          "description": "string",          "splitKey": 0,          "property1": null,          "property2": null        }      ],      "status": "string",      "tags": [        {          "name": "string",          "tagKey": 0,          "property1": null,          "property2": null        }      ],      "transactionDate": "string",      "transactionKey": 0,      "transactionMerchantKey": {        "transactionMerchantKey": 0,        "name": "string",        "website": "string",        "logoUrl": "string",        "resolvedLogoUrl": "string",        "transactionCount": 0,        "property1": null,        "property2": null      },      "transactionType": "string",      "transferDestination": {        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
POST
/v1/account/{accountId}/transaction

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

accountId*number|

Request Body

application/json
  1. body
categoryId?string|null
description?string
Lengthlength <= 500
exchangeRate?string
notes?|
Lengthlength <= 1000
originalAmount?string
originalCurrencyId?string
settlementAmount*number|
settlementCurrencyId*number|
tagIds?array<number|>
Itemsitems <= 50
transactionDate*|number|string
transactionMerchantId?number|null
transactionMerchantName?|
Lengthlength <= 200
transactionTypeId*number|

Response Body

Successful response.

application/json
  1. response
possibleDuplicate*boolean
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/account/0/transaction' \  -H 'Content-Type: application/json' \  -d '{  "settlementAmount": 0,  "settlementCurrencyId": 0,  "transactionDate": "2019-08-24T14:15:22Z",  "transactionTypeId": 0}'
Example Response
{  "possibleDuplicate": true,  "property1": null,  "property2": null}
GET
/v1/assistant/audit-log

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

limit?integer
Range1 <= value <= 100
Default30

Response Body

Successful response.

application/json
  1. response
events*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/assistant/audit-log'
Example Response
{  "events": [    {      "createdAt": "string",      "eventType": "string",      "metadata": {        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/assistant/consent

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
consent*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/assistant/consent'
Example Response
{  "consent": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/assistant/proposals

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

limit?integer
Range1 <= value <= 100
Default50
status?string
Default"pending"
Value in"applied""expired""failed""pending""rejected"

Response Body

Successful response.

application/json
  1. response
proposals*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/assistant/proposals'
Example Response
{  "proposals": [    {      "changes": [        {          "after": "string",          "before": "string",          "description": "string",          "field": "category",          "transactionDate": "string",          "transactionId": 0,          "property1": null,          "property2": null        }      ],      "createdAt": "string",      "decidedAt": "string",      "expiresAt": "string",      "failureReason": "category_unavailable",      "id": 0,      "kind": "categorize_transactions",      "source": "assistant",      "status": "pending",      "summary": "string",      "unavailableCount": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/budget

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
budgets*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget'
Example Response
{  "budgets": [    {      "budgetKey": 0,      "categories": [        {          "property1": null,          "property2": null        }      ],      "currencyKey": {        "code": "string"      },      "name": "string",      "period": {        "firstDay": "string",        "lastDay": "string"      },      "periodStartDay": 1,      "visibility": "household",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
POST
/v1/budget

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Request Body

application/json
  1. body
dependentsNum?number
Range0 <= value <= 50
Default0
houseHoldSize?number
Range0 <= value <= 100
Default1
incomes?array<>
visibility?string
Default"household"
Value in"household""personal"

Response Body

Successful response.

application/json
  1. response
budget*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/budget' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "budget": {    "budgetKey": 0,    "categories": [      {        "property1": null,        "property2": null      }    ],    "currencyKey": {      "code": "string"    },    "name": "string",    "period": {      "firstDay": "string",      "lastDay": "string"    },    "periodStartDay": 1,    "visibility": "household",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/budget/full

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
budgets*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/full'
Example Response
{  "budgets": [    {      "budgetKey": 0,      "categories": [        {          "property1": null,          "property2": null        }      ],      "currencyKey": {        "code": "string"      },      "name": "string",      "period": {        "firstDay": "string",        "lastDay": "string"      },      "periodStartDay": 1,      "visibility": "household",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/budget/{budgetKey}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value

Response Body

Successful response.

application/json
  1. response
budget*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/1'
Example Response
{  "budget": {    "budgetKey": 0,    "categories": [      {        "property1": null,        "property2": null      }    ],    "currencyKey": {      "code": "string"    },    "name": "string",    "period": {      "firstDay": "string",      "lastDay": "string"    },    "periodStartDay": 1,    "visibility": "household",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
PATCH
/v1/budget/{budgetKey}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value

Request Body

application/json
  1. body
description?string
Lengthlength <= 500
name?string
Length1 <= length <= 100
periodStartDay?integer
Range1 <= value <= 28
rolloverCarriesOverspend?boolean

Response Body

Successful response.

application/json
  1. response
budget*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/budget/1' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "budget": {    "budgetKey": 0,    "categories": [      {        "property1": null,        "property2": null      }    ],    "currencyKey": {      "code": "string"    },    "name": "string",    "period": {      "firstDay": "string",      "lastDay": "string"    },    "periodStartDay": 1,    "visibility": "household",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/budget/{budgetKey}/accounts

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value

Response Body

Successful response.

application/json
  1. response
accounts*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/1/accounts'
Example Response
{  "accounts": [    {      "accountFinancialInstitutionKey": {        "displayName": "string",        "logoUrl": "string"      },      "accountKey": 0,      "accountName": "string",      "accountType": "string",      "appuserCurrencyAvailableBalance": 0,      "appuserCurrencyBalance": 0,      "attribution": {        "appuserKey": 0,        "displayName": "string"      },      "availableBalance": 0,      "balance": 0,      "creditCard": {        "property1": null,        "property2": null      },      "currencyKey": {        "code": "string"      },      "fxStatus": "string",      "isJoint": true,      "isOwnedByViewer": true,      "isPrivate": true,      "myAccess": "owner",      "ownerAppuserKey": 0,      "ownerFirstName": "string",      "refreshedAt": "string",      "source": "manual",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
PATCH
/v1/budget/{budgetKey}/accounts

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value

Request Body

application/json
  1. body
accountKeys*array<number>

Response Body

Successful response.

application/json
  1. response
budget*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/budget/1/accounts' \  -H 'Content-Type: application/json' \  -d '{  "accountKeys": [    0  ]}'
Example Response
{  "budget": {    "budgetKey": 0,    "categories": [      {        "property1": null,        "property2": null      }    ],    "currencyKey": {      "code": "string"    },    "name": "string",    "period": {      "firstDay": "string",      "lastDay": "string"    },    "periodStartDay": 1,    "visibility": "household",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST
/v1/budget/{budgetKey}/category

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value

Request Body

application/json
  1. body
amountBudgeted*number
Range0 < value <= 999999999
categoryKey*number
Range0 < value
recurrency?string
Value in"ANNUALLY""BI_ANNUALLY""MONTHLY""MONTHLY_14""QUARTERLY"

Response Body

Successful response.

application/json
  1. response
budgetTemplateCategory*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/budget/1/category' \  -H 'Content-Type: application/json' \  -d '{  "amountBudgeted": 1,  "categoryKey": 1}'
Example Response
{  "budgetTemplateCategory": {    "amount": 0,    "budgetTemplateCategoryKey": 0,    "categoryKey": 0,    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/budget/{budgetKey}/forecast

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value

Query Parameters

months?integer
Range3 <= value <= 12
Default6

Response Body

Successful response.

application/json
  1. response
forecast*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/1/forecast'
Example Response
{  "forecast": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/budget/{budgetKey}/suggestions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value

Query Parameters

month*integer
Range1 <= value <= 12
months?number
Default3
year*integer
Range0 < value

Response Body

Successful response.

application/json
  1. response
suggestions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/1/suggestions?month=1&year=1'
Example Response
{  "suggestions": [    {      "categoryKey": 0,      "reason": "string",      "suggestedAmount": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
PATCH
/v1/budget/{budgetKey}/{budgetTemplateCategoryKey}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value
budgetTemplateCategoryKey*number
Range0 < value

Request Body

application/json
  1. body
accountKeys*array<number>

Response Body

Successful response.

application/json
  1. response
budgetTemplateCategory*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/budget/1/1' \  -H 'Content-Type: application/json' \  -d '{  "accountKeys": [    0  ]}'
Example Response
{  "budgetTemplateCategory": {    "amount": 0,    "budgetTemplateCategoryKey": 0,    "categoryKey": 0,    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/budget/{budgetKey}/{year}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value
year*number
Range0 < value

Response Body

Successful response.

application/json
  1. response
budgetKey*integer
categories*array<>
month*integer|null
period?

The days the budget month covers: with start day 25, month 11 runs from 25 October to 24 November.

periodStartDay?integer

The day of the month a budget month starts on, 1 to 28. With 1 a budget month is its calendar month; with a later day it is named after the month it ends in.

Range1 <= value <= 28
visibility*string

household: shared with every member of the household. personal: the caller's own budget, which no other member sees, the household's owner and admins included (another member's personal budget is never returned).

Value in"household""personal"
year*integer
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/1/1'
Example Response
{  "budgetKey": 0,  "categories": [    {      "property1": null,      "property2": null    }  ],  "month": 0,  "period": {    "firstDay": "string",    "lastDay": "string"  },  "periodStartDay": 1,  "visibility": "household",  "year": 0,  "property1": null,  "property2": null}
GET
/v1/budget/{budgetKey}/{year}/until/{month}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value
month*number
Range0 < value
year*number
Range0 < value

Response Body

Successful response.

application/json
  1. response
budgetKey*integer
categories*array<>
month*integer|null
period?

The days the budget month covers: with start day 25, month 11 runs from 25 October to 24 November.

periodStartDay?integer

The day of the month a budget month starts on, 1 to 28. With 1 a budget month is its calendar month; with a later day it is named after the month it ends in.

Range1 <= value <= 28
visibility*string

household: shared with every member of the household. personal: the caller's own budget, which no other member sees, the household's owner and admins included (another member's personal budget is never returned).

Value in"household""personal"
year*integer
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/1/1/until/1'
Example Response
{  "budgetKey": 0,  "categories": [    {      "property1": null,      "property2": null    }  ],  "month": 0,  "period": {    "firstDay": "string",    "lastDay": "string"  },  "periodStartDay": 1,  "visibility": "household",  "year": 0,  "property1": null,  "property2": null}
GET
/v1/budget/{budgetKey}/{year}/{month}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value
month*number
Range0 < value
year*number
Range0 < value

Response Body

Successful response.

application/json
  1. response
budgetKey*integer
categories*array<>
month*integer|null
period?

The days the budget month covers: with start day 25, month 11 runs from 25 October to 24 November.

periodStartDay?integer

The day of the month a budget month starts on, 1 to 28. With 1 a budget month is its calendar month; with a later day it is named after the month it ends in.

Range1 <= value <= 28
visibility*string

household: shared with every member of the household. personal: the caller's own budget, which no other member sees, the household's owner and admins included (another member's personal budget is never returned).

Value in"household""personal"
year*integer
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/budget/1/1/1'
Example Response
{  "budgetKey": 0,  "categories": [    {      "property1": null,      "property2": null    }  ],  "month": 0,  "period": {    "firstDay": "string",    "lastDay": "string"  },  "periodStartDay": 1,  "visibility": "household",  "year": 0,  "property1": null,  "property2": null}
PATCH
/v1/budget/{budgetKey}/{year}/{month}/{categoryKey}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

budgetKey*number
Range0 < value
categoryKey*number
Range0 < value
month*number
Range0 < value
year*number
Range0 < value

Request Body

application/json
  1. body
amount?number
Range0 < value <= 999999999
applyToFollowingMonths?boolean
Defaulttrue
recurrency?string
Value in"ANNUALLY""BI_ANNUALLY""MONTHLY""MONTHLY_14""QUARTERLY"
rolloverEnabled?boolean

Response Body

Successful response.

application/json
  1. response
budgetTemplateCategory*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/budget/1/1/1/1' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "budgetTemplateCategory": {    "amount": 0,    "budgetTemplateCategoryKey": 0,    "categoryKey": 0,    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/category

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
categories*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/category'
Example Response
{  "categories": [    {      "categoryKey": 0,      "color": "string",      "isIncome": true,      "name": "string",      "parentCategoryKey": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
POST
/v1/category

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Request Body

application/json
  1. body
color?string
countsAsSpending?boolean
icon?string
name*string
parentCategoryKey?string

Response Body

Successful response.

application/json
  1. response
category*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/category' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "category": {    "categoryKey": 0,    "color": "string",    "isIncome": true,    "name": "string",    "parentCategoryKey": 0,    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
PATCH
/v1/category/{categoryId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

categoryId*number|

Request Body

application/json
  1. body
color?string
countsAsSpending?boolean
icon?string
name?string

Response Body

Successful response.

application/json
  1. response
category*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/category/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "category": {    "categoryKey": 0,    "color": "string",    "isIncome": true,    "name": "string",    "parentCategoryKey": 0,    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/configs

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
brokers*array<>
categories*array<>
currencies*array<>
fileStorage*boolean
financialInstitutions*array<>
financialTransactionTypes*array<>
transactionTypes*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/configs'
Example Response
{  "brokers": [    {      "property1": null,      "property2": null    }  ],  "categories": [    {      "categoryKey": 0,      "color": "string",      "isIncome": true,      "name": "string",      "parentCategoryKey": 0,      "property1": null,      "property2": null    }  ],  "currencies": [    {      "code": "string",      "currencyKey": 0,      "name": "string",      "symbol": "string",      "property1": null,      "property2": null    }  ],  "fileStorage": true,  "financialInstitutions": [    {      "accountFinancialInstitutionKey": 0,      "displayName": "string",      "logoUrl": "string",      "name": "string",      "property1": null,      "property2": null    }  ],  "financialTransactionTypes": [    {      "property1": null,      "property2": null    }  ],  "transactionTypes": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/currency/rates

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
currency*string
overrides*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/currency/rates'
Example Response
{  "currency": "string",  "overrides": [    {      "currencyCode": "string",      "date": "string",      "overrideId": 0,      "rate": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/expense-groups

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
groups*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/expense-groups'
Example Response
{  "groups": [    {      "expenseGroupKey": 0,      "name": "string",      "currencyCode": "string",      "archived": true,      "createdAt": "string",      "members": [        {          "expenseGroupMemberKey": 0,          "name": "string",          "email": "string",          "appuserKey": 0,          "isHouseholdMember": true,          "isYou": true,          "position": 0,          "property1": null,          "property2": null        }      ],      "yourBalances": [        {          "amount": 0,          "currencyCode": "string"        }      ],      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/expense-groups/{groupId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

groupId*number|

Response Body

Successful response.

application/json
  1. response
group*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/expense-groups/0'
Example Response
{  "group": {    "expenseGroupKey": 0,    "name": "string",    "currencyCode": "string",    "archived": true,    "createdAt": "string",    "members": [      {        "expenseGroupMemberKey": 0,        "name": "string",        "email": "string",        "appuserKey": 0,        "isHouseholdMember": true,        "isYou": true,        "position": 0,        "property1": null,        "property2": null      }    ],    "yourBalances": [      {        "amount": 0,        "currencyCode": "string"      }    ],    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/expense-groups/{groupId}/balances

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

groupId*number|

Response Body

Successful response.

application/json
  1. response
expenseGroupKey*integer
currencies*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/expense-groups/0/balances'
Example Response
{  "expenseGroupKey": 0,  "currencies": [    {      "currencyCode": "string",      "members": [        {          "memberKey": 0,          "paid": 0,          "share": 0,          "settlementsPaid": 0,          "settlementsReceived": 0,          "balance": 0        }      ],      "payments": [        {          "amount": 0,          "fromMemberKey": 0,          "toMemberKey": 0        }      ]    }  ],  "property1": null,  "property2": null}
GET
/v1/expense-groups/{groupId}/settlements

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

groupId*number|

Response Body

Successful response.

application/json
  1. response
settlements*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/expense-groups/0/settlements'
Example Response
{  "settlements": [    {      "expenseGroupSettlementKey": 0,      "expenseGroupKey": 0,      "fromMemberKey": 0,      "toMemberKey": 0,      "amount": 0,      "currencyCode": "string",      "settledOn": "string",      "notes": "string",      "isLinked": true,      "transaction": {        "accountKey": 0,        "accountName": "string",        "currencyCode": "string",        "description": "string",        "merchantName": "string",        "settlementAmount": 0,        "transactionDate": "string",        "transactionKey": 0,        "property1": null,        "property2": null      },      "createdAt": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/expense-groups/{groupId}/settlements/suggestions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

groupId*number|

Query Parameters

currencyCode?string
Match^[a-z]{3}$/i
fromMemberId*number|
limit?|
Default10
search?string
Lengthlength <= 200
toMemberId*number|

Response Body

Successful response.

application/json
  1. response
suggestions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/expense-groups/0/settlements/suggestions?fromMemberId=0&toMemberId=0'
Example Response
{  "suggestions": [    {      "accountKey": 0,      "accountName": "string",      "currencyCode": "string",      "description": "string",      "merchantName": "string",      "settlementAmount": 0,      "transactionDate": "string",      "transactionKey": 0,      "remainingAmount": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/expense-groups/{groupId}/shares

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

groupId*number|

Response Body

Successful response.

application/json
  1. response
expenses*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/expense-groups/0/shares'
Example Response
{  "expenses": [    {      "expenseGroupExpenseKey": 0,      "expenseGroupKey": 0,      "categoryKey": 0,      "currencyCode": "string",      "paidByMemberKey": 0,      "splitMethod": "equal",      "shares": [        {          "amount": 0,          "expenseGroupMemberKey": 0        }      ],      "transaction": {        "accountKey": 0,        "accountName": "string",        "currencyCode": "string",        "description": "string",        "merchantName": "string",        "settlementAmount": 0,        "transactionDate": "string",        "transactionKey": 0,        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/expense-groups/{groupId}/shares/{transactionId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

groupId*number|
transactionId*number|

Response Body

Successful response.

application/json
  1. response
expense*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/expense-groups/0/shares/0'
Example Response
{  "expense": {    "expenseGroupExpenseKey": 0,    "expenseGroupKey": 0,    "categoryKey": 0,    "currencyCode": "string",    "paidByMemberKey": 0,    "splitMethod": "equal",    "shares": [      {        "amount": 0,        "expenseGroupMemberKey": 0      }    ],    "transaction": {      "accountKey": 0,      "accountName": "string",      "currencyCode": "string",      "description": "string",      "merchantName": "string",      "settlementAmount": 0,      "transactionDate": "string",      "transactionKey": 0,      "property1": null,      "property2": null    },    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/financial-markets/ticker/search

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

searchTerm?string
Lengthlength <= 100
Default""

Response Body

Successful response.

application/json
  1. response
results*array<>
source*
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/search'
Example Response
{  "results": [    {      "currency": "string",      "exchange": "string",      "name": "string",      "symbol": "string",      "type": "string"    }  ],  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  }}
GET
/v1/financial-markets/ticker/{ticker}/earnings

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
earnings*array<>
source*
symbol*string
Length1 <= length <= 20
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/earnings'
Example Response
{  "earnings": [    {      "date": "string",      "eps": 0,      "epsEstimated": 0,      "revenue": 0,      "revenueEstimated": 0    }  ],  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  },  "symbol": "string"}
GET
/v1/financial-markets/ticker/{ticker}/financials

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
financials*array<>
source*
symbol*string
Length1 <= length <= 20
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/financials'
Example Response
{  "financials": [    {      "grossProfit": 0,      "netIncome": 0,      "operatingIncome": 0,      "period": "string",      "revenue": 0    }  ],  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  },  "symbol": "string"}
GET
/v1/financial-markets/ticker/{ticker}/fundamentals

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
avgVolume*number|null
beta*number|null
dividendYield*number|null
earningsPerShare*number|null
fiftyTwoWeekHigh*number|null
fiftyTwoWeekLow*number|null
marketCap*number|null
nextEarningsDate*|
Match^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
pegRatio*number|null
peRatio*number|null
priceToBook*number|null
priceToSales*number|null
roe*number|null
source*
symbol*string
Length1 <= length <= 20
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/fundamentals'
Example Response
{  "avgVolume": 0,  "beta": 0,  "dividendYield": 0,  "earningsPerShare": 0,  "fiftyTwoWeekHigh": 0,  "fiftyTwoWeekLow": 0,  "marketCap": 0,  "nextEarningsDate": "string",  "pegRatio": 0,  "peRatio": 0,  "priceToBook": 0,  "priceToSales": 0,  "roe": 0,  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  },  "symbol": "string"}
GET
/v1/financial-markets/ticker/{ticker}/historical-dividend

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
dividends*array<>
source*
symbol*string
Length1 <= length <= 20
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/historical-dividend'
Example Response
{  "dividends": [    {      "adjAmount": 0,      "amount": 0,      "date": "string"    }  ],  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  },  "symbol": "string"}
GET
/v1/financial-markets/ticker/{ticker}/historical-price

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Query Parameters

from?string
Match^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$
includeDividends?string
Default"false"
Value in"true""false"
to?string
Match^\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])$

Response Body

Successful response.

application/json
  1. response
prices*array<>
source*
symbol*string
Length1 <= length <= 20
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/historical-price'
Example Response
{  "prices": [    {      "adjClose": 0,      "close": 0,      "date": "string",      "high": 0,      "low": 0,      "open": 0,      "volume": 0    }  ],  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  },  "symbol": "string"}
GET
/v1/financial-markets/ticker/{ticker}/info

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
beta*number|null
ceo*string|null
changePercentage*number|null
country*string|null
currency*string|null
description*string|null
employees*number|null
exchange*string|null
image*string|null
industry*string|null
name*string|null
price*number|null
sector*string|null
symbol*string
Length1 <= length <= 20
website*string|null
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/info'
Example Response
{  "beta": 0,  "ceo": "string",  "changePercentage": 0,  "country": "string",  "currency": "string",  "description": "string",  "employees": 0,  "exchange": "string",  "image": "string",  "industry": "string",  "name": "string",  "price": 0,  "sector": "string",  "symbol": "string",  "website": "string"}
GET
/v1/financial-markets/ticker/{ticker}/news

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Query Parameters

limit?|
Default20
page?|
Range0 <= value
Default0

Response Body

Successful response.

application/json
  1. response
hasMore*boolean
news*array<>
page*integer
Range0 <= value
pageSize*number
source*
symbol*string
Length1 <= length <= 20
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/news'
Example Response
{  "hasMore": true,  "news": [    {      "image": "string",      "publishedAt": "2019-08-24T14:15:22Z",      "site": "string",      "summary": "string",      "symbol": "string",      "title": "string",      "url": "string"    }  ],  "page": 0,  "pageSize": 0,  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  },  "symbol": "string"}
GET
/v1/financial-markets/ticker/{ticker}/quote

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

ticker*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
change*number|null
changePercent*number|null
currency*string|null
marketState*|
Value in"closed""open""pre-market""after-hours""unknown"null
name*string|null
price*number|null
source*
symbol*string
Length1 <= length <= 20
timestamp*|
Formatdate-time
volume*number|null
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/ticker/string/quote'
Example Response
{  "change": 0,  "changePercent": 0,  "currency": "string",  "marketState": "closed",  "name": "string",  "price": 0,  "source": {    "asOf": "2019-08-24T14:15:22Z",    "provider": "eodhd"  },  "symbol": "string",  "timestamp": "2019-08-24T14:15:22Z",  "volume": 0}
GET
/v1/financial-markets/watchlist

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
items*array<>
symbols*array<string>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/financial-markets/watchlist'
Example Response
{  "items": [    {      "logoUrl": "string",      "symbol": "string"    }  ],  "symbols": [    "string"  ],  "property1": null,  "property2": null}
GET
/v1/goals

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

includeArchived?|
Defaultfalse

Response Body

Successful response.

application/json
  1. response
goals*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/goals'
Example Response
{  "goals": [    {      "accounts": [        {          "property1": null,          "property2": null        }      ],      "currentAmount": 0,      "goalKey": 0,      "name": "string",      "status": "string",      "targetAmount": 0,      "targetDate": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
POST
/v1/goals

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Request Body

application/json
  1. body
annualInterestRatePercent?number|
currencyId?number|
currentBalance?number|
description?|
Lengthlength <= 500
extraPayment?number|
loanKey?number||null
minimumPayment?number|
monthlyContributionTarget?number||null
name*string
Length1 <= length <= 100
priority?integer
Range0 <= value <= 2
targetAmount?number|
targetDate?|
Formatdate-time
type?string
Default"save_up"
Value in"debt_paydown""save_up"

Response Body

Successful response.

application/json
  1. response
goal*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/goals' \  -H 'Content-Type: application/json' \  -d '{  "name": "string"}'
Example Response
{  "goal": {    "accounts": [      {        "property1": null,        "property2": null      }    ],    "currentAmount": 0,    "goalKey": 0,    "name": "string",    "status": "string",    "targetAmount": 0,    "targetDate": "string",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/goals/available-to-assign

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
availableToAssign*number
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/goals/available-to-assign'
Example Response
{  "availableToAssign": 0,  "property1": null,  "property2": null}
GET
/v1/goals/debt-strategy

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
strategy*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/goals/debt-strategy'
Example Response
{  "strategy": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/goals/{goalKey}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Response Body

Successful response.

application/json
  1. response
goal*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/goals/0'
Example Response
{  "goal": {    "accounts": [      {        "property1": null,        "property2": null      }    ],    "currentAmount": 0,    "goalKey": 0,    "name": "string",    "status": "string",    "targetAmount": 0,    "targetDate": "string",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
PATCH
/v1/goals/{goalKey}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Request Body

application/json
  1. body
annualInterestRatePercent?number|
currencyId?number|
currentBalance?number|
description?|
Lengthlength <= 500
extraPayment?number|
loanKey?number||null
minimumPayment?number|
monthlyContributionTarget?number||null
name?string
Length1 <= length <= 100
priority?integer
Range0 <= value <= 2
targetAmount?number|
targetDate?|
Formatdate-time
type?string
Default"save_up"
Value in"debt_paydown""save_up"

Response Body

Successful response.

application/json
  1. response
goal*
[key: string]?unknown
Example Request
curl -X PATCH 'https://api.wonder.money/v1/goals/0' \  -H 'Content-Type: application/json' \  -d '{}'
Example Response
{  "goal": {    "accounts": [      {        "property1": null,        "property2": null      }    ],    "currentAmount": 0,    "goalKey": 0,    "name": "string",    "status": "string",    "targetAmount": 0,    "targetDate": "string",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST
/v1/goals/{goalKey}/accounts

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Request Body

application/json
  1. body
accountKey*number|

Response Body

Successful response.

application/json
  1. response
link*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/goals/0/accounts' \  -H 'Content-Type: application/json' \  -d '{  "accountKey": 0}'
Example Response
{  "link": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/goals/{goalKey}/activity

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Query Parameters

limit?|
Default25
offset?|
Default0

Response Body

Successful response.

application/json
  1. response
activity*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/goals/0/activity'
Example Response
{  "activity": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
POST
/v1/goals/{goalKey}/assign

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Request Body

application/json
  1. body
amount*number|

Response Body

Successful response.

application/json
  1. response
goal*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/goals/0/assign' \  -H 'Content-Type: application/json' \  -d '{  "amount": 0}'
Example Response
{  "goal": {    "accounts": [      {        "property1": null,        "property2": null      }    ],    "currentAmount": 0,    "goalKey": 0,    "name": "string",    "status": "string",    "targetAmount": 0,    "targetDate": "string",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST
/v1/goals/{goalKey}/fund-transaction

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Request Body

application/json
  1. body
amount*number|
transactionKey*number|

Response Body

Successful response.

application/json
  1. response
funding*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/goals/0/fund-transaction' \  -H 'Content-Type: application/json' \  -d '{  "amount": 0,  "transactionKey": 0}'
Example Response
{  "funding": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST
/v1/goals/{goalKey}/move-out

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Request Body

application/json
  1. body
amount*number|

Response Body

Successful response.

application/json
  1. response
goal*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/goals/0/move-out' \  -H 'Content-Type: application/json' \  -d '{  "amount": 0}'
Example Response
{  "goal": {    "accounts": [      {        "property1": null,        "property2": null      }    ],    "currentAmount": 0,    "goalKey": 0,    "name": "string",    "status": "string",    "targetAmount": 0,    "targetDate": "string",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
POST
/v1/goals/{goalKey}/restore

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

goalKey*number|

Response Body

Successful response.

application/json
  1. response
goal*
[key: string]?unknown
Example Request
curl -X POST 'https://api.wonder.money/v1/goals/0/restore'
Example Response
{  "goal": {    "accounts": [      {        "property1": null,        "property2": null      }    ],    "currentAmount": 0,    "goalKey": 0,    "name": "string",    "status": "string",    "targetAmount": 0,    "targetDate": "string",    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/installment-plans

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountId?number|

Response Body

Successful response.

application/json
  1. response
installmentPlans*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/installment-plans'
Example Response
{  "installmentPlans": [    {      "accountKey": 0,      "accountName": "string",      "categoryKey": 0,      "currency": "string",      "description": "string",      "installmentCount": 0,      "installmentPlanKey": 0,      "nextInstallment": {        "amount": 0,        "dueDate": "string",        "installmentNumber": 0,        "postedAmount": 0,        "postedDate": "string",        "scheduledDate": "string",        "statementDate": "string",        "status": "paid",        "transactionKey": 0,        "property1": null,        "property2": null      },      "paidAmount": 0,      "paidCount": 0,      "purchaseDate": "string",      "remainingAmount": 0,      "remainingCount": 0,      "totalAmount": 0,      "unmatchedCount": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/installment-plans/commitments

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountId?number|

Response Body

Successful response.

application/json
  1. response
commitments*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/installment-plans/commitments'
Example Response
{  "commitments": [    {      "accountKey": 0,      "accountName": "string",      "activePlanCount": 0,      "currency": "string",      "nextInstallment": {        "amount": 0,        "date": "string",        "description": "string",        "installmentCount": 0,        "installmentNumber": 0,        "installmentPlanKey": 0,        "property1": null,        "property2": null      },      "remainingAmount": 0,      "remainingCount": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/installment-plans/suggestions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountId?number|

Response Body

Successful response.

application/json
  1. response
suggestions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/installment-plans/suggestions'
Example Response
{  "suggestions": [    {      "accountKey": 0,      "accountName": "string",      "currency": "string",      "description": "string",      "installmentAmount": 0,      "installmentCount": 0,      "key": "string",      "purchaseDate": "string",      "totalAmount": 0,      "transactions": [        {          "amount": 0,          "description": "string",          "installmentNumber": 0,          "transactionDate": "string",          "transactionKey": 0,          "property1": null,          "property2": null        }      ],      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/installment-plans/{installmentPlanId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

installmentPlanId*number|

Response Body

Successful response.

application/json
  1. response
installmentPlan*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/installment-plans/0'
Example Response
{  "installmentPlan": {    "accountKey": 0,    "accountName": "string",    "categoryKey": 0,    "currency": "string",    "description": "string",    "installmentCount": 0,    "installmentPlanKey": 0,    "nextInstallment": {      "amount": 0,      "dueDate": "string",      "installmentNumber": 0,      "postedAmount": 0,      "postedDate": "string",      "scheduledDate": "string",      "statementDate": "string",      "status": "paid",      "transactionKey": 0,      "property1": null,      "property2": null    },    "paidAmount": 0,    "paidCount": 0,    "purchaseDate": "string",    "remainingAmount": 0,    "remainingCount": 0,    "totalAmount": 0,    "unmatchedCount": 0,    "installments": [      {        "amount": 0,        "dueDate": "string",        "installmentNumber": 0,        "postedAmount": 0,        "postedDate": "string",        "scheduledDate": "string",        "statementDate": "string",        "status": "paid",        "transactionKey": 0,        "property1": null,        "property2": null      }    ],    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/loan

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
loans*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan'
Example Response
{  "loans": [    {      "currencyKey": {        "code": "string"      },      "interestRate": 0,      "loanKey": 0,      "name": "string",      "outstandingBalance": 0,      "principal": 0,      "status": "string",      "securedAsset": {        "key": 0,        "name": "string",        "value": 0,        "currency": "string",        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/loan/overview

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
overview*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/overview'
Example Response
{  "overview": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Response Body

Successful response.

application/json
  1. response
loan*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0'
Example Response
{  "loan": {    "currencyKey": {      "code": "string"    },    "interestRate": 0,    "loanKey": 0,    "name": "string",    "outstandingBalance": 0,    "principal": 0,    "status": "string",    "securedAsset": {      "key": 0,      "name": "string",      "value": 0,      "currency": "string",      "property1": null,      "property2": null    },    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}/adjustments

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Response Body

Successful response.

application/json
  1. response
adjustments*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0/adjustments'
Example Response
{  "adjustments": [    {      "amount": 0,      "effectiveDate": "string",      "loanAdjustmentKey": 0,      "reason": "string",      "type": "BALANCE_CORRECTION",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}/projection

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Query Parameters

extra?|
Default0
frequency?string
Default"monthly"
Value in"monthly""one-off"
startDate?|number|string

Response Body

Successful response.

application/json
  1. response
projection*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0/projection'
Example Response
{  "projection": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}/rate-periods

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Response Body

Successful response.

application/json
  1. response
ratePeriods*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0/rate-periods'
Example Response
{  "ratePeriods": [    {      "annualInterestRateBps": 0,      "effectiveDate": "string",      "loanRatePeriodKey": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}/repayment-candidates

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Query Parameters

accountKey?integer
Range0 < value
amount?number
Range0 < value
endDate?|
Formatdate-time
search?string
Length1 <= length
startDate?|
Formatdate-time

Response Body

Successful response.

application/json
  1. response
candidates*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0/repayment-candidates'
Example Response
{  "candidates": [    {      "accountKey": 0,      "amount": 0,      "attribution": {        "appuserKey": 0,        "displayName": "string",        "overridden": true      },      "categoryKey": 0,      "currencyKey": {        "code": "string"      },      "description": "string",      "installment": {        "installmentCount": 0,        "installmentNumber": 0,        "installmentPlanKey": 0,        "property1": null,        "property2": null      },      "notes": "string",      "settlementAmount": 0,      "reimbursements": [        {          "amount": 0,          "createdAt": "string",          "currencyCode": "string",          "expense": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "reimbursement": {            "accountKey": 0,            "accountName": "string",            "currencyCode": "string",            "description": "string",            "merchantName": "string",            "settlementAmount": 0,            "transactionDate": "string",            "transactionKey": 0,            "property1": null,            "property2": null          },          "transactionReimbursementKey": 0,          "property1": null,          "property2": null        }      ],      "splits": [        {          "amount": 0,          "categoryKey": 0,          "expenseGroupMember": {            "expenseGroupKey": 0,            "expenseGroupMemberKey": 0,            "isHouseholdMember": true,            "name": "string"          },          "description": "string",          "splitKey": 0,          "property1": null,          "property2": null        }      ],      "status": "string",      "tags": [        {          "name": "string",          "tagKey": 0,          "property1": null,          "property2": null        }      ],      "transactionDate": "string",      "transactionKey": 0,      "transactionMerchantKey": {        "transactionMerchantKey": 0,        "name": "string",        "website": "string",        "logoUrl": "string",        "resolvedLogoUrl": "string",        "transactionCount": 0,        "property1": null,        "property2": null      },      "transactionType": "string",      "transferDestination": {        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}/repayments

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Response Body

Successful response.

application/json
  1. response
repayments*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0/repayments'
Example Response
{  "repayments": [    {      "amount": 0,      "paidAt": "string",      "repaymentLinkId": 0,      "transactionKey": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}/schedule

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Response Body

Successful response.

application/json
  1. response
schedule*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0/schedule'
Example Response
{  "schedule": [    {      "amount": 0,      "balance": 0,      "dueDate": "string",      "interest": 0,      "principal": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/loan/{loanId}/summary

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

loanId*number|

Response Body

Successful response.

application/json
  1. response
loan*
summary*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/loan/0/summary'
Example Response
{  "loan": {    "currencyKey": {      "code": "string"    },    "interestRate": 0,    "loanKey": 0,    "name": "string",    "outstandingBalance": 0,    "principal": 0,    "status": "string",    "securedAsset": {      "key": 0,      "name": "string",      "value": 0,      "currency": "string",      "property1": null,      "property2": null    },    "property1": null,    "property2": null  },  "summary": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/manual-assets

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
assets*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/manual-assets'
Example Response
{  "assets": [    {      "assetType": "string",      "kind": "property",      "currencyKey": {        "code": "string"      },      "currentValue": 0,      "manualAssetKey": 0,      "name": "string",      "linkedLoans": [        {          "loanKey": 0,          "name": "string",          "currency": "string",          "outstandingPrincipal": 0,          "outstandingPrincipalInAssetCurrency": 0,          "property1": null,          "property2": null        }      ],      "linkedDebt": 0,      "equity": 0,      "unconvertedLoanCurrencies": [        "string"      ],      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/manual-assets/{manualAssetId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

manualAssetId*number|

Response Body

Successful response.

application/json
  1. response
asset*
wallet*|null
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/manual-assets/0'
Example Response
{  "asset": {    "assetType": "string",    "kind": "property",    "currencyKey": {      "code": "string"    },    "currentValue": 0,    "manualAssetKey": 0,    "name": "string",    "linkedLoans": [      {        "loanKey": 0,        "name": "string",        "currency": "string",        "outstandingPrincipal": 0,        "outstandingPrincipalInAssetCurrency": 0,        "property1": null,        "property2": null      }    ],    "linkedDebt": 0,    "equity": 0,    "unconvertedLoanCurrencies": [      "string"    ],    "property1": null,    "property2": null  },  "wallet": {    "addresses": [      {        "cryptoWalletAddressKey": 0,        "chain": "bitcoin",        "kind": "address",        "address": "string",        "label": "string",        "status": "pending",        "errorCode": "timeout",        "lastAttemptAt": "string",        "lastSyncedAt": "string",        "tokens": [          {            "cryptoWalletTokenKey": 0,            "native": true,            "contractAddress": "string",            "symbol": "string",            "name": "string",            "quantity": "string",            "tracked": true,            "priceMissing": true,            "property1": null,            "property2": null          }        ],        "property1": null,        "property2": null      }    ],    "lastSyncedAt": "string",    "unpricedSymbols": [      "string"    ],    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/manual-assets/{manualAssetId}/valuations

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

manualAssetId*number|

Response Body

Successful response.

application/json
  1. response
valuations*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/manual-assets/0/valuations'
Example Response
{  "valuations": [    {      "manualAssetKey": 0,      "notes": "string",      "valuationId": 0,      "value": 0,      "valuedAt": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
POST
/v1/mcp

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Request Body

application/json
  1. body
id?string|number
jsonrpc*"2.0"
Value in"2.0"
method*string
params?

Response Body

Successful response.

application/json
  1. response
id*string|number|null
jsonrpc*"2.0"
Value in"2.0"
result*
Example Request
curl -X POST 'https://api.wonder.money/v1/mcp' \  -H 'Content-Type: application/json' \  -d '{  "jsonrpc": "2.0",  "method": "string"}'
Example Response
{  "id": "string",  "jsonrpc": "2.0",  "result": {    "property1": null,    "property2": null  }}
GET
/v1/net-worth

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

member?string
Match^(?:[1-9]\d*|shared)$/u

Response Body

Successful response.

application/json
  1. response
netWorth*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/net-worth'
Example Response
{  "netWorth": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/net-worth/history

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

granularity?"monthly"
Default"monthly"
Value in"monthly"
member?string
Match^(?:[1-9]\d*|shared)$/u
months?integer
Range2 <= value <= 12
Default6
toDate?string
Formatdate

Response Body

Successful response.

application/json
  1. response
history*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/net-worth/history'
Example Response
{  "history": [    {      "assets": 0,      "date": "string",      "liabilities": 0,      "netWorth": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/operations/{operationId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

operationId*string

Response Body

Successful response.

application/json
  1. response
error*string|null
operationId*string
progress*number|null
result?|null
status*string
type?string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/operations/string'
Example Response
{  "error": "string",  "operationId": "string",  "progress": 0,  "result": {    "property1": null,    "property2": null  },  "status": "string",  "type": "string",  "property1": null,  "property2": null}
GET
/v1/portfolio

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
portfolios*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio'
Example Response
{  "portfolios": [    {      "benchmarkSymbol": "string",      "costBasisMethod": "string",      "currencyKey": {        "code": "string"      },      "description": "string",      "excluded": true,      "favored": true,      "name": "string",      "portfolioKey": 0,      "targetAllocation": {        "property1": null,        "property2": null      },      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio-import-sessions/{importSessionId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

importSessionId*number|

Query Parameters

limit?integer
Range1 <= value <= 100
Default25

Response Body

Successful response.

application/json
  1. response
preview*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio-import-sessions/0'
Example Response
{  "preview": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/allocation

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

memberKeys?array<string>|string

Response Body

Successful response.

application/json
  1. response
allocation*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/allocation'
Example Response
{  "allocation": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/brokers

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
brokers*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/brokers'
Example Response
{  "brokers": [    {      "brokerId": 0,      "name": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/calendar

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

memberKeys?array<string>|string

Response Body

Successful response.

application/json
  1. response
calendar*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/calendar'
Example Response
{  "calendar": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/dashboard

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

include?string

Opt-in summary fields, comma-separated: feeConversion, periodReturns.

Match^(feeConversion|periodReturns)(,(feeConversion|periodReturns))*$
memberKeys?array<string>|string
period?string
Default"YTD"
Value in"1M""3M""6M""YTD""1Y""ALL"

Response Body

Successful response.

application/json
  1. response
dashboard*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/dashboard'
Example Response
{  "dashboard": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/dividend-income

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

memberKeys?array<string>|string

Response Body

Successful response.

application/json
  1. response
income*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/dividend-income'
Example Response
{  "income": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/holding/{financialAssetKey}/prices

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

financialAssetKey*number|

Query Parameters

from?string
Match^\d{4}-\d{2}-\d{2}$
to?string
Match^\d{4}-\d{2}-\d{2}$

Response Body

Successful response.

application/json
  1. response
currency*string|null
prices*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/holding/0/prices'
Example Response
{  "currency": "string",  "prices": [    {      "date": "string",      "price": 0,      "provider": "eodhd",      "source": "manual",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/holding/{financialAssetKey}/prices/{date}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

date*string
Match^\d{4}-\d{2}-\d{2}$
financialAssetKey*number|

Response Body

Successful response.

application/json
  1. response
currency*string|null
date*string
override*|null
price*number|null
provider*|
Value in"eodhd""stooq""coingecko"null
source*|
Value in"manual""market"null
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/holding/0/prices/string'
Example Response
{  "currency": "string",  "date": "string",  "override": {    "note": "string",    "price": 0,    "property1": null,    "property2": null  },  "price": 0,  "provider": "eodhd",  "source": "manual",  "property1": null,  "property2": null}
GET
/v1/portfolio/holding/{symbol}/analyst

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

symbol*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
analyst*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/holding/string/analyst'
Example Response
{  "analyst": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/holding/{symbol}/valuation

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

symbol*string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20

Response Body

Successful response.

application/json
  1. response
valuation*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/holding/string/valuation'
Example Response
{  "valuation": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/holdings

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

memberKeys?array<string>|string

Response Body

Successful response.

application/json
  1. response
holdings*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/holdings'
Example Response
{  "holdings": [    {      "costBasis": 0,      "currencyKey": {        "code": "string"      },      "financialAssetKey": 0,      "marketValue": 0,      "name": "string",      "quantity": 0,      "realizedGains": 0,      "symbol": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/metrics

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

fromDate?|
Formatdate-time
memberKeys?array<string>|string

Response Body

Successful response.

application/json
  1. response
metrics*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/metrics'
Example Response
{  "metrics": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/performance

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

memberKeys?array<string>|string
period?string
Default"YTD"
Value in"1M""3M""6M""YTD""1Y""ALL"

Response Body

Successful response.

application/json
  1. response
performance*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/performance'
Example Response
{  "performance": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/realized-gains

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

memberKeys?array<string>|string
portfolioId?number|
year?string
Match^\d{4}$

Response Body

Successful response.

application/json
  1. response
byAsset*array<>
byYear*array<>
closedPositions*array<>
completeness*
currencyCode*string
disposals*array<>
feeConversionIncompleteAssetKeys?array<integer>
totals*
year*integer|null
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/realized-gains'
Example Response
{  "byAsset": [    {      "costBasis": 0,      "proceeds": 0,      "realizedGain": 0,      "sales": 0,      "financialAssetKey": 0,      "financialAssetName": "string",      "quantity": 0,      "symbol": "string",      "property1": null,      "property2": null    }  ],  "byYear": [    {      "costBasis": 0,      "proceeds": 0,      "realizedGain": 0,      "sales": 0,      "year": 0,      "property1": null,      "property2": null    }  ],  "closedPositions": [    {      "costBasis": 0,      "proceeds": 0,      "realizedGain": 0,      "sales": 0,      "financialAssetKey": 0,      "financialAssetName": "string",      "holdingPeriodStart": "string",      "lastSaleDate": "string",      "quantity": 0,      "symbol": "string",      "property1": null,      "property2": null    }  ],  "completeness": {    "property1": null,    "property2": null  },  "currencyCode": "string",  "disposals": [    {      "costBasis": 0,      "currencyCode": "string",      "date": "string",      "feeConversionIncomplete": true,      "financialAssetKey": 0,      "financialAssetName": "string",      "holdingPeriodStart": "string",      "portfolioKey": 0,      "portfolioName": "string",      "proceeds": 0,      "quantity": 0,      "realizedGain": 0,      "symbol": "string",      "transactionKey": 0,      "property1": null,      "property2": null    }  ],  "feeConversionIncompleteAssetKeys": [    0  ],  "totals": {    "costBasis": 0,    "proceeds": 0,    "realizedGain": 0,    "sales": 0,    "property1": null,    "property2": null  },  "year": 0,  "property1": null,  "property2": null}
GET
/v1/portfolio/top-movers

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

limit?string
memberKeys?array<string>|string
period?string
Default"YTD"
Value in"1M""3M""6M""YTD""1Y""ALL"

Response Body

Successful response.

application/json
  1. response
topMovers*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/top-movers'
Example Response
{  "topMovers": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/transaction-types

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
transactionTypes*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/transaction-types'
Example Response
{  "transactionTypes": [    {      "description": "string",      "transactionTypeKey": 0    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/transactions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

fromDate?string
limit?|
Default100
ticker?string
Match^[A-Z0-9][\w.:\-/]{0,19}$/i
Length1 <= length <= 20
toDate?string

Response Body

Successful response.

application/json
  1. response
transactions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/transactions'
Example Response
{  "transactions": [    {      "amount": 0,      "quantity": 0,      "symbol": "string",      "transactionDate": "string",      "transactionKey": 0,      "transactionType": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Response Body

Successful response.

application/json
  1. response
portfolio*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0'
Example Response
{  "portfolio": {    "benchmarkSymbol": "string",    "costBasisMethod": "string",    "currencyKey": {      "code": "string"    },    "description": "string",    "excluded": true,    "favored": true,    "name": "string",    "portfolioKey": 0,    "targetAllocation": {      "property1": null,      "property2": null    },    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/allocation

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Response Body

Successful response.

application/json
  1. response
allocation*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/allocation'
Example Response
{  "allocation": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/dashboard

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Query Parameters

include?string

Opt-in summary fields, comma-separated: feeConversion, periodReturns.

Match^(feeConversion|periodReturns)(,(feeConversion|periodReturns))*$
period?string
Default"YTD"
Value in"1M""3M""6M""YTD""1Y""ALL"

Response Body

Successful response.

application/json
  1. response
dashboard*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/dashboard'
Example Response
{  "dashboard": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/dividend-income

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Response Body

Successful response.

application/json
  1. response
income*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/dividend-income'
Example Response
{  "income": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/history-status

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*integer
Range0 < value

Response Body

Successful response.

application/json
  1. response
status*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/1/history-status'
Example Response
{  "status": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/holding/{financialAssetKey}/lots

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

financialAssetKey*number|
portfolioId*number|

Response Body

Successful response.

application/json
  1. response
lots*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/holding/0/lots'
Example Response
{  "lots": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/holdings

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Response Body

Successful response.

application/json
  1. response
holdings*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/holdings'
Example Response
{  "holdings": [    {      "costBasis": 0,      "currencyKey": {        "code": "string"      },      "financialAssetKey": 0,      "marketValue": 0,      "name": "string",      "quantity": 0,      "realizedGains": 0,      "symbol": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/performance

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Query Parameters

period?string
Default"YTD"
Value in"1M""3M""6M""YTD""1Y""ALL"

Response Body

Successful response.

application/json
  1. response
performance*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/performance'
Example Response
{  "performance": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/top-movers

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Query Parameters

limit?string
period?string
Default"YTD"
Value in"1M""3M""6M""YTD""1Y""ALL"

Response Body

Successful response.

application/json
  1. response
topMovers*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/top-movers'
Example Response
{  "topMovers": [    {      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/portfolio/{portfolioId}/transactions

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

portfolioId*number|

Query Parameters

fromDate?string
limit?|
Default100
toDate?string

Response Body

Successful response.

application/json
  1. response
transactions*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/portfolio/0/transactions'
Example Response
{  "transactions": [    {      "amount": 0,      "quantity": 0,      "symbol": "string",      "transactionDate": "string",      "transactionKey": 0,      "transactionType": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/recurring

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

amountType?string
Value in"fixed""variable"
fromDate?string
Formatdate-time
status?string
Value in"candidate""confirmed""dismissed""ended""paused"
toDate?string
Formatdate-time
type?string
Value in"bill""subscription"

Response Body

Successful response.

application/json
  1. response
items*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/recurring'
Example Response
{  "items": [    {      "amount": 0,      "frequency": "string",      "name": "string",      "nextExpectedDate": "string",      "recurringSeriesId": 0,      "status": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/recurring/occurrences

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

from*string
Formatdate
to*string
Formatdate

Response Body

Successful response.

application/json
  1. response
installments*array<>
items*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/recurring/occurrences?from=2019-08-24&to=2019-08-24'
Example Response
{  "installments": [    {      "amount": 0,      "currency": "string",      "date": "string",      "installmentCount": 0,      "installmentNumber": 0,      "installmentPlanKey": 0,      "name": "string",      "status": "paid",      "property1": null,      "property2": null    }  ],  "items": [    {      "amount": 0,      "expectedDate": "string",      "recurringSeriesId": 0,      "status": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/recurring/summary

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
summary*
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/recurring/summary'
Example Response
{  "summary": {    "property1": null,    "property2": null  },  "property1": null,  "property2": null}
GET
/v1/reports/budget-vs-actual

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

application/json
  1. response
completeness?|null
data?unknown
filters*
generatedAt*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/budget-vs-actual'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "data": null,  "filters": {    "property1": null,    "property2": null  },  "generatedAt": "string",  "property1": null,  "property2": null}
GET
/v1/reports/budget-vs-actual.csv

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

response?CsvFiletext/csv

A CSV file

Example Request
curl -X GET 'https://api.wonder.money/v1/reports/budget-vs-actual.csv'
Example Response
"string"
GET
/v1/reports/cashflow

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

application/json
  1. response
completeness?|null
data?unknown
filters*
generatedAt*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/cashflow'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "data": null,  "filters": {    "property1": null,    "property2": null  },  "generatedAt": "string",  "property1": null,  "property2": null}
GET
/v1/reports/cashflow.csv

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

response?CsvFiletext/csv

A CSV file

Example Request
curl -X GET 'https://api.wonder.money/v1/reports/cashflow.csv'
Example Response
"string"
GET
/v1/reports/month-comparison

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time
base*string
Match^\d{4}-(?:0[1-9]|1[0-2])$
compare*string
Match^\d{4}-(?:0[1-9]|1[0-2])$

Response Body

Successful response.

application/json
  1. response
completeness?|null
data?unknown
filters*
generatedAt*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/month-comparison?base=string&compare=string'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "data": null,  "filters": {    "property1": null,    "property2": null  },  "generatedAt": "string",  "property1": null,  "property2": null}
GET
/v1/reports/month-comparison.csv

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time
base*string
Match^\d{4}-(?:0[1-9]|1[0-2])$
compare*string
Match^\d{4}-(?:0[1-9]|1[0-2])$

Response Body

Successful response.

response?CsvFiletext/csv

A CSV file

Example Request
curl -X GET 'https://api.wonder.money/v1/reports/month-comparison.csv?base=string&compare=string'
Example Response
"string"
GET
/v1/reports/net-worth-history

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

application/json
  1. response
completeness?|null
data?unknown
filters*
generatedAt*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/net-worth-history'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "data": null,  "filters": {    "property1": null,    "property2": null  },  "generatedAt": "string",  "property1": null,  "property2": null}
GET
/v1/reports/net-worth-history.csv

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

response?CsvFiletext/csv

A CSV file

Example Request
curl -X GET 'https://api.wonder.money/v1/reports/net-worth-history.csv'
Example Response
"string"
GET
/v1/reports/portfolio-performance

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

application/json
  1. response
completeness?|null
data?unknown
filters*
generatedAt*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/portfolio-performance'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "data": null,  "filters": {    "property1": null,    "property2": null  },  "generatedAt": "string",  "property1": null,  "property2": null}
GET
/v1/reports/portfolio-performance.csv

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

response?CsvFiletext/csv

A CSV file

Example Request
curl -X GET 'https://api.wonder.money/v1/reports/portfolio-performance.csv'
Example Response
"string"
GET
/v1/reports/sankey

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

application/json
  1. response
completeness?|null
data?unknown
filters*
generatedAt*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/sankey'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "data": null,  "filters": {    "property1": null,    "property2": null  },  "generatedAt": "string",  "property1": null,  "property2": null}
GET
/v1/reports/sankey.csv

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

response?CsvFiletext/csv

A CSV file

Example Request
curl -X GET 'https://api.wonder.money/v1/reports/sankey.csv'
Example Response
"string"
GET
/v1/reports/spending-by-category

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

application/json
  1. response
completeness?|null
data?unknown
filters*
generatedAt*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/spending-by-category'
Example Response
{  "completeness": {    "property1": null,    "property2": null  },  "data": null,  "filters": {    "property1": null,    "property2": null  },  "generatedAt": "string",  "property1": null,  "property2": null}
GET
/v1/reports/spending-by-category.csv

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time

Response Body

Successful response.

response?CsvFiletext/csv

A CSV file

Example Request
curl -X GET 'https://api.wonder.money/v1/reports/spending-by-category.csv'
Example Response
"string"
GET
/v1/reports/spending-vs-normal

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

accountKeys?array<string>|string
categoryKeys?array<string>|string
currencyKey?string
fromDate?string
Formatdate-time
includePending?|
Defaultfalse
includeTransfers?|
Defaultfalse
memberKeys?array<string>|string
merchantKeys?array<string>|string
tagKeys?array<string>|string
timezone?string
Default"Europe/Lisbon"
toDate?string
Formatdate-time
month*string
Match^\d{4}-(?:0[1-9]|1[0-2])$

Response Body

Successful response.

application/json
  1. response
completeness*
data*
filters*
generatedAt*string
Example Request
curl -X GET 'https://api.wonder.money/v1/reports/spending-vs-normal?month=string'
Example Response
{  "completeness": {    "currencyCode": "string",    "isComplete": true,    "unconvertedCurrencies": [      "string"    ],    "unconvertedTransactions": 0,    "property1": null,    "property2": null  },  "data": {    "month": "string",    "rows": [      {        "categoryKey": "string",        "name": "string",        "normal": 0,        "parentKey": "string",        "ratio": 0,        "total": 0,        "property1": null,        "property2": null      }    ],    "property1": null,    "property2": null  },  "filters": {    "accountKeys": [      "string"    ],    "categoryKeys": [      "string"    ],    "currencyKey": "string",    "fromDate": "2019-08-24T14:15:22Z",    "includePending": false,    "includeTransfers": false,    "memberKeys": [      "string"    ],    "merchantKeys": [      "string"    ],    "tagKeys": [      "string"    ],    "timezone": "Europe/Lisbon",    "toDate": "2019-08-24T14:15:22Z",    "month": "string"  },  "generatedAt": "string"}
GET
/v1/rule

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
rules*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/rule'
Example Response
{  "rules": [    {      "actions": [        {          "property1": null,          "property2": null        }      ],      "conditions": [        {          "property1": null,          "property2": null        }      ],      "enabled": true,      "name": "string",      "ruleId": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/rule/export

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
rules*array<>
version*string
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/rule/export'
Example Response
{  "rules": [    {      "property1": null,      "property2": null    }  ],  "version": "string",  "property1": null,  "property2": null}
GET
/v1/rule/presets

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Query Parameters

language?string
Match^[a-z]{2}(?:[-_][a-z]{2})?$/i
region?string
Match^[a-z]{2}$/i

Response Body

Successful response.

application/json
  1. response
presets*array<>
suggested*|

The preset matching the person's language and country, if any.

Example Request
curl -X GET 'https://api.wonder.money/v1/rule/presets'
Example Response
{  "presets": [    {      "code": "string",      "countries": [        "string"      ],      "installed": true,      "installedCount": 0,      "language": "string",      "revision": 0,      "ruleCount": 0    }  ],  "suggested": "string"}
GET
/v1/rule/presets/{code}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

code*string
Match^[a-z]{2}(?:-[a-z]{2})?$/i

Response Body

Successful response.

application/json
  1. response
preset*
rules*array<>

Every rule in the preset, in the rules export format, with what installing would do with it.

Example Request
curl -X GET 'https://api.wonder.money/v1/rule/presets/string'
Example Response
{  "preset": {    "code": "string",    "countries": [      "string"    ],    "installed": true,    "installedCount": 0,    "language": "string",    "revision": 0,    "ruleCount": 0  },  "rules": [    {      "status": "installed",      "property1": null,      "property2": null    }  ]}
GET
/v1/tag

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Response Body

Successful response.

application/json
  1. response
tags*array<>
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/tag'
Example Response
{  "tags": [    {      "name": "string",      "tagKey": 0,      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
GET
/v1/transaction-import-sessions/{importId}

Authorization

bearerAuth
headerAuthorizationBearer <wm_pat>

A personal API token (wm_pat_…) created in Settings → API tokens. Send it as Authorization: Bearer wm_pat_…. Tokens are shown once; store them like a password.

Path Parameters

importId*string
Formatuuid

Query Parameters

page?integer
Range1 <= value <= 10000
pageSize?integer
Range1 <= value <= 200
status?string
Value in"new""duplicate""possible_duplicate""invalid""skipped""imported""failed"

Response Body

Successful response.

application/json
  1. response
columnMapping?|null
importSessionId*integer|string
mappingSource?string
status*string
summary?
warning*string|null
[key: string]?unknown
Example Request
curl -X GET 'https://api.wonder.money/v1/transaction-import-sessions/497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{  "columnMapping": {    "property1": null,    "property2": null  },  "importSessionId": 0,  "mappingSource": "string",  "status": "string",  "summary": {    "property1": null,    "property2": null  },  "warning": "string",  "property1": null,  "property2": null}