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
  • Idempotency-Key
    Type: string
    min length:  
    1
    max length:  
    255
    required

    Required on every POST, before any effect. Replays with the same key return the original resource with 200.

Body
required
application/json
  • church_id
    Type: string
    required
  • enrollment_id
    Type: string
    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
}