Simulate a KYC outcome (sandbox only)
Completes the donor's identity-verification step with the outcome you choose, through the same production webhook path. review and failed let you exercise the donor-facing "in review" and declined screens — not just the happy path. status_code echoes what the webhook edge answered.
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: stringdonor
_id required - Type: string enumoutcomevalues
- passed
- review
- failed
Responses
- application/json
- application/problem+json
- application/problem+json
Request Example for post/sandbox/simulate/kyc
curl https://api.sandbox.rostergiving.com/sandbox/simulate/kyc \
--request POST \
--header 'Idempotency-Key: ' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_SECRET_TOKEN' \
--data '{
"donor_id": "",
"church_id": "",
"outcome": "passed"
}'
{
"status_code": 1,
"simulated": "ACCEPT"
}