Counterparty
Create a Counterparty
Create a Counterparty.
post/counterparties
Request
- Base URLhttps://sandbox-api.polygon.technology/v0.10
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
Idempotency-Keystring required
Required on POST and PUT requests. Use a unique value per logical mutation attempt, for example a UUID.
Request body
Example request
{
"customerId": "cst_vfa0nxw6zvyws9g237jrxn4y7k",
"name": "Alice Smith",
"entityType": "individual",
"address": {
"line1": "500 Market Street",
"city": "San Francisco",
"state": "CA",
"country": "US",
"zipCode": "94105"
},
"email": "alice@example.com",
"phone": "+14155550100",
"nationality": "US"
}Response
The request has succeeded and a new resource has been created as a result.
Changes
No recorded changes to this operation across all 1 revision of this API.