curl --request GET \
--url http://localhost:55001/api/payments/accounts/{accountId} \
--header 'Authorization: Bearer <token>'
{
"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": {}
}
}
curl --request GET \
--url http://localhost:55001/api/payments/accounts/{accountId} \
--header 'Authorization: Bearer <token>'
{
"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": {}
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
The account ID.
OK
The response is of type object
.