curl --location 'https://stp.paydaymx.com/api/developer/connect/split-rules' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"name": "Regla 80-20",
"holdPeriod": "24h",
"isDefault": false,
"platformRetainPercentage": 20,
"splits": [
{
"connectedAccountId": "69e4151636f3af227cfa987b",
"type": "percentage",
"value": 80,
"description": "Guillermo Gutierrez oxxo"
}
],
"metadata": { "version": "v1" }
}'{
"tenantId": "1664d49d-fc7e-4583-8ac9-8b4d04cf0aea",
"name": "Regla 80-20",
"isActive": true,
"isDefault": false,
"holdPeriod": "24h",
"splits": [
{
"connectedAccountId": "69e4151636f3af227cfa987b",
"type": "percentage",
"value": 80,
"description": "Guillermo Gutierrez oxxo"
}
],
"platformRetainPercentage": 20,
"metadata": {
"version": "v1"
},
"_id": "69e420e18032002f105e96ab",
"createdAt": "2026-04-19T00:25:05.991Z",
"updatedAt": "2026-04-19T00:25:05.991Z",
"__v": 0
}