mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 04:43:58 +00:00
Add OpenABTest draft experiment and accounting contracts (#180)
This commit is contained in:
parent
123ba2e39a
commit
d8b3126782
25 changed files with 1410 additions and 12 deletions
30
packages/schemas/fixtures/openabtest/reconciliation.json
Normal file
30
packages/schemas/fixtures/openabtest/reconciliation.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"openabtest": "0.1-draft",
|
||||
"producerId": "chovy-server",
|
||||
"manifestId": "chovy-signup-discount-v1",
|
||||
"manifestRevision": 1,
|
||||
"participantId": "participant-opaque-7d12",
|
||||
"at": "2026-09-15T12:00:00Z",
|
||||
"id": "event-reconciliation-42",
|
||||
"kind": "reconciliation",
|
||||
"payload": {
|
||||
"assignmentId": "assignment-42",
|
||||
"variantId": "signup-10",
|
||||
"conversionId": "purchase-42",
|
||||
"accountingRevision": 2,
|
||||
"currency": "USD",
|
||||
"state": "reconciled",
|
||||
"revenueMinor": 36000,
|
||||
"refundsMinor": 0,
|
||||
"actualCostMinor": 10000,
|
||||
"feesMinor": 1000,
|
||||
"affiliateMinor": 20000,
|
||||
"retainedProfitMinor": 5000,
|
||||
"minimumRetainedProfitMinor": 5000,
|
||||
"payoutStatus": "eligible",
|
||||
"proofRefs": [
|
||||
"cost-proof-42",
|
||||
"fees-proof-42"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue