-
Notifications
You must be signed in to change notification settings - Fork 388
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add triggers for identity.verification_session events (#1023)
* Add triggers for identity.verification_session events * remove updated
- Loading branch information
1 parent
f684053
commit 74046ea
Showing
5 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
pkg/fixtures/triggers/identity.verification_session.canceled.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"_meta": { | ||
"template_version": 0 | ||
}, | ||
"fixtures": [ | ||
{ | ||
"name": "verification_session", | ||
"path": "/v1/identity/verification_sessions", | ||
"method": "post", | ||
"params": { | ||
"type": "document", | ||
"options[document][require_matching_selfie]": true, | ||
"return_url": "https://stripe.com" | ||
} | ||
}, | ||
{ | ||
"name": "verification_session_canceled", | ||
"path": "/v1/identity/verification_sessions/${verification_session:id}/cancel", | ||
"method": "post" | ||
} | ||
] | ||
} |
17 changes: 17 additions & 0 deletions
17
pkg/fixtures/triggers/identity.verification_session.created.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"_meta": { | ||
"template_version": 0 | ||
}, | ||
"fixtures": [ | ||
{ | ||
"name": "verification_session", | ||
"path": "/v1/identity/verification_sessions", | ||
"method": "post", | ||
"params": { | ||
"type": "document", | ||
"options[document][require_matching_selfie]": true, | ||
"return_url": "https://stripe.com" | ||
} | ||
} | ||
] | ||
} |
22 changes: 22 additions & 0 deletions
22
pkg/fixtures/triggers/identity.verification_session.redacted.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"_meta": { | ||
"template_version": 0 | ||
}, | ||
"fixtures": [ | ||
{ | ||
"name": "verification_session", | ||
"path": "/v1/identity/verification_sessions", | ||
"method": "post", | ||
"params": { | ||
"type": "document", | ||
"options[document][require_matching_selfie]": true, | ||
"return_url": "https://stripe.com" | ||
} | ||
}, | ||
{ | ||
"name": "verification_session_redacted", | ||
"path": "/v1/identity/verification_sessions/${verification_session:id}/redact", | ||
"method": "post" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters