curl --request POST \
--url https://app.tagadapay.com/api/public/v1/payment-flows/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"flowId": "flow_abc123"
}
'{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}Soft-delete a payment flow (sets archivedAt). Also clears this flow from any stores that had it as default. Requires org:admin role.
curl --request POST \
--url https://app.tagadapay.com/api/public/v1/payment-flows/delete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"flowId": "flow_abc123"
}
'{
"message": "<string>",
"code": "<string>",
"issues": [
{
"message": "<string>"
}
]
}