curl --request POST \
--url https://api.tagada.io/api/public/v1/payment-flows/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"name": "Simple Stripe",
"strategy": "simple",
"fallbackMode": false,
"maxFallbackRetries": 0,
"threeDsEnabled": false,
"stickyProcessorEnabled": false,
"pickProcessorStrategy": "weighted",
"processorConfigs": [
{
"processorId": "proc_stripe",
"weight": 100,
"disabled": false,
"nonStickable": false
}
],
"fallbackProcessorConfigs": [],
"abuseDetectionConfig": null
}
}
'
{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}payment-flows
Create payment flow
Create a new payment flow (processor orchestration configuration). Requires org:admin role.
A payment flow defines:
- strategy:
simple(single processor) orcascade(fallback chain) - processorConfigs: weighted list of processors to route payments through
- fallbackProcessorConfigs: ordered fallback processors when primary fails
- pickProcessorStrategy:
weighted,lowestCapacity, orautomatic - threeDsEnabled: whether 3D Secure is enforced
- stickyProcessorEnabled: reuse last successful processor for returning customers
- abuseDetectionConfig: optional fraud/velocity rules
POST
/
api
/
public
/
v1
/
payment-flows
/
create
curl --request POST \
--url https://api.tagada.io/api/public/v1/payment-flows/create \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"data": {
"name": "Simple Stripe",
"strategy": "simple",
"fallbackMode": false,
"maxFallbackRetries": 0,
"threeDsEnabled": false,
"stickyProcessorEnabled": false,
"pickProcessorStrategy": "weighted",
"processorConfigs": [
{
"processorId": "proc_stripe",
"weight": 100,
"disabled": false,
"nonStickable": false
}
],
"fallbackProcessorConfigs": [],
"abuseDetectionConfig": null
}
}
'
{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}