Talli Campaign Manager API (v2)
The Talli Campaign Manager API provides programmatic access to create and manage payout campaigns, payout instructions, and reports. This API powers the Talli console interface and can be integrated with third-party systems to automate workflows.
- Campaigns: Create and manage fund distribution campaigns.
- Campaign drafts: Create and manage campaign drafts.
- Payout Instructions: Send and track payments to beneficiaries.
- Payout Methods: View available payment methods (PayPal, ACH, gift cards, etc.).
- Payouts: Details about selected payout
- Gift Cards: View details of a gift card requested by the beneficiary
- Prepaid Cards: View details of a prepaid card requested by the beneficiary
- Transfers: View details of Paypal, Venmo or ACH transfer requested by the beneficiary
- Reports: Access analytics and statistics about campaign performance.
- Funding sources: Create and manage funding sources.
- Templates: Create and manage templates.
https://docs.talli.ai/_mock/reference/swagger/
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions?campaignId=497f6eca-6276-4993-bfeb-53cbbbba6f08&status=Draft&externalId=string&email=string&pageNumber=0&pageSize=0' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "pageNumber": 0, "pageSize": 0, "totalPages": 0, "totalItems": 0, "data": [ { … } ] }
Request
Creates a new payout instruction with the specified campaign and recipient details. Note that creating a payout instruction does not automatically send it to the beneficiary or allocate funds; it only records the intention to pay. The payout instruction must be explicitly initiated in a separate step to notify the beneficiary.
An external identifier for this payout instruction, used for integration with client systems.
The phone number of the beneficiary. May be required for certain payout methods.
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf",
"externalId": "string",
"firstName": "string",
"lastName": "string",
"amount": 0.1,
"email": "string",
"phoneNumber": "string",
"addressLine1": "string",
"addressLine2": "string",
"city": "string",
"stateCode": "AL",
"zipCode": "string"
}'
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
The phone number of the beneficiary. May be required for certain payout methods.
A dictionary of payout methods that are disabled for this instruction, with reasons.
The identifier of the payout method selected by the beneficiary, if any.
{ "payoutInstructionId": "50bfd130-22aa-4d88-8f54-fdfd65edbebb", "campaignId": "13f8bf6d-dc27-4a04-bffe-6e5b13c19ddf", "amount": 0.1, "firstName": "string", "lastName": "string", "email": "string", "phoneNumber": "string", "addressLine1": "string", "addressLine2": "string", "city": "string", "stateCode": "AL", "zipCode": "string", "status": "Draft", "disabledPayoutMethods": { "property1": "Default", "property2": "Default" }, "cancellationReason": "Unknown", "selectedPayoutMethodId": "16383abb-1273-48c1-bb89-96e94b64474f", "externalId": "string" }
Request
Patches an existing payout instruction with the provided data. Note: This operation might be pefrormed only for payout instructions that have not been redeemed or requested. Note2: If the email is changed then the previous links get invalidated and the payout instruction moves back to Restored status.
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"operations": [
{
"op": "Unknown",
"value": {
"options": {
"propertyNameCaseInsensitive": true
},
"parent": {},
"root": {}
}
}
]
}'
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/activity
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/activity' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
[ { "messageId": "8540d774-4863-4d2b-b788-4ecb19412e85", "messageType": "string", "timestamp": "2019-08-24T14:15:22Z", "type": "string", "description": "string", "details": { … } } ]
Request
Retrieves the payout details for a specific payout instruction. A payout is created when a beneficiary acts on a payout instruction and selects a specific payout method to receive their funds. The payout contains additional details specific to the chosen method, such as gift card identifiers or transaction references.
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/payout
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/payout' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
OK
The unique identifier of the payout instruction associated with this payout.
The date and time when the payout was requested by the beneficiary.
{ "payoutInstructionId": "50bfd130-22aa-4d88-8f54-fdfd65edbebb", "payoutMethodId": "fff005d3-ebdd-48cc-8c82-62336a6c32d0", "status": "Draft", "requestedOn": "2019-08-24T14:15:22Z", "completedOn": "2019-08-24T14:15:22Z", "externalIdentifiers": { "property1": "string", "property2": "string" } }
Request
Initiates the payout process for a specific payout instruction using the specified notification channel. This action allocates funds from the associated campaign to this payout instruction and sends the initial notification to the beneficiary, allowing them to claim their funds.
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:initiate
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:initiate' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"channel": "string"
}'
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:cancel
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:cancel' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"cancellationReason": "string"
}'
Request
Attempts to restore a payout instruction when a payment was requested but not successfully processed (e.g., a PayPal transfer that the beneficiary hasn't accepted). This action attempts to cancel the pending external payout and return the beneficiary to a state where they can select a different payout method and process their payout again.
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:try-restore
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:try-restore' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
- Mock server
https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:send-reminder
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
'https://docs.talli.ai/_mock/reference/swagger/v2/campaign-manager/payout-instructions/{id}/:send-reminder' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{}'