Skip to main content
POST
/
savings
/
orders
/
{id}
/
trade-confirmations
/
generate
Generate trade confirmation PDF
curl --request POST \
  --url https://{host}/savings/orders/{id}/trade-confirmations/generate \
  --header 'Authorization: Bearer <token>' \
  --header 'x-user-id: <x-user-id>'
{
  "fileUri": "https://storage.example.com/trade-confirmations/7501d8537fb3fc001234abcd/abc123/wealthyhood-trade-confirmation_12-jul-2024.pdf"
}

Authorizations

Authorization
string
header
required

Auth0-issued access token that includes the scopes listed for the endpoint.

Headers

x-user-id
string
required

User identifier for the M2M client to specify which user's data to access.

Path Parameters

id
string
required

Savings order identifier (MongoDB ObjectId)

Response

Trade confirmation generated successfully

fileUri
string<uri>
required

URL to download the generated trade confirmation PDF