Skip to content

Commit f5e461e

Browse files
author
Github Workflow
committed
JSON Schema Update
1 parent e16fe08 commit f5e461e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

config/v3/cashier/receive.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"properties": {
1111
"cashier": {
1212
"title": "cashier",
13-
"description": "Possible error codes are:\n- `ASK_TNC_APPROVAL`: API call `tnc_approval`\n- `ASK_AUTHENTICATE`\n- `ASK_UK_FUNDS_PROTECTION`: API call `tnc_approval`\n- `ASK_CURRENCY`: API call `set_account_currency`\n- `ASK_EMAIL_VERIFY`: API call `verify_email`\n- `ASK_FIX_DETAILS`: API call `set_settings`",
13+
"description": "Possible error codes are:\n- `ASK_TNC_APPROVAL`: API call `tnc_approval`\n- `ASK_AUTHENTICATE`\n- `ASK_UK_FUNDS_PROTECTION`: API call `tnc_approval`\n- `ASK_CURRENCY`: API call `set_account_currency`\n- `ASK_EMAIL_VERIFY`: API call `verify_email`\n- `ASK_TOTP_VERIFY`: enable 2FA\n- `ASK_FIX_DETAILS`: API call `set_settings`",
1414
"oneOf": [
1515
{
1616
"description": "Response for type `url`, It will return url to cashier service.",

config/v3/cashier/send.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,11 @@
5555
"crypto"
5656
]
5757
},
58+
"totp": {
59+
"description": "[Optional] TOTP from an Authenticator App (Authy, Google Authenticator, etc)",
60+
"type": "string",
61+
"pattern": "^\\d{6,8}$"
62+
},
5863
"type": {
5964
"description": "[Optional] Data is returned from the cashier. The `crypto` provider only supports `api` (not `url`) for crypto accounts.",
6065
"type": "string",

0 commit comments

Comments
 (0)