Add a new Contribution Source
This process requires you to have a valid Thrill-ID token which can retrieved by authenticating with Thrill-ID. For more information, see the Thrill-ID section.
Overview
- Create a
Contribution Source - Assign a
Jackpot Instanceto theContribution Source
Example Data
- Operator ID:
my-operator - Brand ID:
my-brand - New source ID:
my-new-source - Existing Jackpot Instance ID:
321e9e1b-8e7f-4329-bace-b8ec20b7543a
Steps
NOTE: The Jackpot Instance, Operator and Brand must already exist in the system
1. Create a Contribution Source
- Service:
ThrillPots Service - Method:
POST - Path:
/config/sources - Content-Type:
application/json - Body:
[
{
"owner_id": "my-operator:my-brand",
"source_name": "My New Source",
"source_id": "my-new-source"
}
]
2. Assign a Jackpot Instance to the Contribution Source
- Service:
ThrillPots Service - Method:
POST - Path:
/config/sources/assignjackpot - Content-Type:
application/json - Body:
{
"owner_id": "my-operator:my-brand",
"source_id": ["my-new-source"],
"instance_id": "321e9e1b-8e7f-4329-bace-b8ec20b7543a"
}