Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 10
chore: Sync account schemas#387
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
Large diffs are not rendered by default.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -10,4 +10,3 @@ allOf: | ||
| type: string | ||
| enum: | ||
| - BANK_TRANSFER | ||
| - MOBILE_MONEY | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -10,4 +10,3 @@ allOf: | ||
| type: string | ||
| enum: | ||
| - BANK_TRANSFER | ||
| - MOBILE_MONEY | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,22 +1,32 @@ | ||
| type: object | ||
| required: | ||
| - accountType | ||
| - bankName | ||
| - accountNumber | ||
| - phoneNumber | ||
| - bankAccountType | ||
| properties: | ||
| accountType: | ||
| type: string | ||
| enum: | ||
| - GTQ_ACCOUNT | ||
| bankName: | ||
| type: string | ||
| description: The name of the bank | ||
| minLength: 1 | ||
| maxLength: 255 | ||
| accountNumber: | ||
| type: string | ||
| description: The account number of the bank | ||
| minLength: 1 | ||
| maxLength: 34 | ||
| phoneNumber: | ||
| bankAccountType: | ||
| type: string | ||
| description: The phone number in international format | ||
| example: '+1234567890' | ||
| minLength: 7 | ||
| maxLength: 15 | ||
| pattern: ^\+[0-9]{6,14}$ | ||
| description: The bank account type | ||
| enum: | ||
| - CHECKING | ||
| - SAVINGS | ||
| example: | ||
| accountType: GTQ_ACCOUNT | ||
| bankName: Example Bank | ||
| accountNumber: '1234567890' | ||
| bankAccountType: CHECKING |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Three schemas use
DE89370400440532013000— a German IBAN — as their example value:DkkAccountInfoBase(Danish Krone),EgpAccountInfoBase(Egyptian Pound), andPkrAccountInfoBase(Pakistani Rupee). An IBAN example should carry the ISO country prefix that matches the currency's home country (DK…for Denmark,EG…for Egypt,PK…for Pakistan), otherwise it may mislead API consumers about what format to submit.Prompt To Fix With AI