PHP (Extension) / Broker API / Brokerage Account
Back to Collection Items
<?php
include("chilkat_9_5_0.php");
$http->put_BasicAuth(true);$http->put_Login('{{api_key}}');$http->put_Password('{{api_secret}}');$success = $http->QuickGetSb('https://domain.com/v1/accounts/:account_id',$sbResponseBody);
?>
Curl Command
curl -X GET
-u '{{api_key}}:{{api_secret}}'
https://domain.com/v1/accounts/:account_id
Postman Collection Item JSON
{
"name": "Brokerage Account",
"request": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{HOST}}/v1/accounts/:account_id",
"host": [
"{{HOST}}"
],
"path": [
"v1",
"accounts",
":account_id"
],
"variable": [
{
"key": "account_id",
"value": null
}
]
}
},
"response": [
]
}