Simulate payroll connection (sandbox only)
Completes the certification loop: simulates the payroll vendor confirming the direct-deposit switch for an enrollment, through the same production webhook path. The resulting enrollment.activated arrives on your webhook endpoint and on the feed.
Headers
- Type: stringIdempotency
- Key min length:1max length:255requiredRequired on every POST, before any effect. Replays with the same key return the original resource with
200.
Body
required
application/json
- Type: stringchurch
_id required - Type: stringenrollment
_id required
Responses
- application/json
- application/problem+json
- application/problem+json
Request Example for post/sandbox/simulate/payroll-connected
curl https://api.sandbox.rostergiving.com/sandbox/simulate/payroll-connected \
--request POST \
--header 'Idempotency-Key: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"enrollment_id": "",
"church_id": ""
}'
{
"status_code": 1
}