POST
/api/v2/referrals/accounting/openingsPOST /api/v2/referrals/accounting/openings
Authentication
Send your API key in the x-api-key header on every request.
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| ProgramId | string (uuid) | No | |
| Currency | string | No | |
| OpeningAt | string (date-time) | No | |
| EarnedBalance | unknown | No | Signed earned obligation: accrued entitlement less confirmed cash. May include recovery debt. |
| ReservedExposure | unknown | No | |
| Evidence | string | No | |
| BeneficiaryBalances | object | No | Optional evidenced signed balance by beneficiary; sum must equal EarnedBalance. Needed to distinguish owed rewards from recovery receivables. |
Responses
200 — OK
Example request
curl -X POST "https://{base_url}/api/v2/referrals/accounting/openings" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'This page is generated from the live OpenAPI specification and always matches the current API.