Skip to main content

Create Account

POST
/users/{user_id}/migrate/members/{member_id}/accounts

Any fields described in the MDX Data Spec may optionally be sent.

The id cannot begin with "ACT-" as this is reserved for the system.

FieldDescription
idUnique identifier for the account
nameName of the account
typeType of the account. See this table for a listing of account types.
balanceAccount balance. Should be positive by default.

Request sample

Request
Response
Language:shell

_10
curl -i -X POST https://int-migration.moneydesktop.com/{client_id}/users/{user_id}/migrate/members/{member_id}/accounts \
_10
-d '<account><id>:id</id><name>:name</name><balance>:balance</balance><type>:type</type></account>' \
_10
-H "Content-Type:application/vnd.mx.migration.v1+xml" \
_10
-H "Accept:application/vnd.mx.migration.v1+xml" \
_10
-H "MD-API-KEY: :api_key"