cURL
curl --request POST \ --url http://localhost/api/payments/accounts \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "reference": "<string>", "connectorID": "<string>", "createdAt": "2023-11-07T05:31:56Z", "type": "UNKNOWN", "defaultAsset": "<string>", "accountName": "<string>", "metadata": {} }'
{ "data": { "id": "<string>", "createdAt": "2023-11-07T05:31:56Z", "reference": "<string>", "connectorID": "<string>", "provider": "<string>", "defaultCurrency": "<string>", "defaultAsset": "<string>", "accountName": "<string>", "type": "UNKNOWN", "pools": [ "<string>" ], "metadata": {}, "raw": {} } }
Create an account
The access token received from the authorization server in the OAuth 2.0 flow.
UNKNOWN
INTERNAL
EXTERNAL
Show child attributes
OK