v1
latestOpenAPI 3.0.32026-07-2650226215.9 KBCounterparty
Create a Counterparty
Create a Counterparty.
post/counterparties
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.