Skip to content

feat(kyc): implement async webhook callbacks for SEP-12 KYC - #76

Merged
0dillon merged 1 commit into
mainfrom
feat/async-kyc-webhook
Aug 29, 2026
Merged

feat(kyc): implement async webhook callbacks for SEP-12 KYC#76
0dillon merged 1 commit into
mainfrom
feat/async-kyc-webhook

Conversation

@0dillon

@0dillon 0dillon commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

This PR pivots the KYC processing architecture from synchronous holding to an asynchronous webhook model to support advanced third-party identity providers (e.g. SumSub, Onfido) where verification can take several minutes.

We have:

  1. Ensured the \PUT /customer\ endpoint correctly returns \202 Accepted.
  2. Built a secure /api/v1/kyc/webhook\ endpoint to receive callbacks.
  3. Implemented rigorous HMAC signature validation using Node's native \crypto\ module to protect the endpoint from spoofed approval payloads.

Closes #34.

@0dillon
0dillon merged commit 7b28347 into main Aug 29, 2026
4 of 5 checks passed
@0dillon
0dillon deleted the feat/async-kyc-webhook branch August 29, 2026 12:20
0dillon added a commit that referenced this pull request Aug 29, 2026
Co-authored-by: 0dillon <0dillon@github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(kyc): implement async webhook callbacks for SEP-12 KYC

1 participant