POST
/
api
/
payments
/
v3
/
accounts
curl --request POST \
  --url http://localhost:55001/api/payments/v3/accounts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reference": "<string>",
  "connectorID": "aSDinaTvuI8gbWludGxpZnk=",
  "createdAt": "2023-11-07T05:31:56Z",
  "accountName": "<string>",
  "type": "UNKNOWN",
  "defaultAsset": "<string>",
  "metadata": {}
}'
{
  "data": {
    "id": "<string>",
    "connectorID": "aSDinaTvuI8gbWludGxpZnk=",
    "provider": "<string>",
    "reference": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "type": "UNKNOWN",
    "name": "<string>",
    "defaultAsset": "<string>",
    "metadata": {},
    "raw": {}
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Response

201
application/json

Created

The response is of type object.