Skip to content

Commit 8877679

Browse files
authored
rename ADDRESS to POSTAL_ADDRESS (#231)
1 parent 7bedc55 commit 8877679

9 files changed

Lines changed: 50 additions & 24 deletions

File tree

docusaurus-docs/docs/platform-configuration.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,12 +172,20 @@ Available counterparty fields (to be specified with a `name` and `mandatory` fla
172172
|---------------------------------------|-------------|
173173
| `FULL_NAME` | Full legal name of the individual or business |
174174
| `BIRTH_DATE` | Date of birth in YYYY-MM-DD format (for individuals) |
175-
| `NATIONALITY` | Nationality of the individual |
176-
| `ADDRESS` | Physical address including country, city, etc. |
177-
| `PHONE_NUMBER` | Contact phone number including country code |
175+
| `NATIONALITY` | Nationality of the individual (ISO 3166-1 alpha-2 code) |
176+
| `COUNTRY_OF_RESIDENCE` | The individual's country of residence (ISO 3166-1 alpha-2 code) |
177+
| `POSTAL_ADDRESS` | Physical address in the following format `{"line1":"123 Main St", "line2":"Apt 4B", "city":"Los Angeles", "state":"CA", "postalCode":"94105", "country":"US"}` |
178+
| `PHONE_NUMBER` | Contact phone number (E.164 international format) |
178179
| `EMAIL` | Email address |
180+
| `USER_TYPE` | `INDIVIDUAL` or `BUSINESS` |
179181
| `BUSINESS_NAME` | Legal business name (for business entities) |
182+
| `REGISTRATION_NUMBER` | Business registration number |
180183
| `TAX_ID` | Tax identification number |
184+
| `ACCOUNT_IDENTIFIER` | Stable id identifying the UMA account |
185+
| `FI_LEGAL_ENTITY_NAME` | Legal entity name of the FI participating in the UMA settlement |
186+
| `FI_ADDRESS` | Address of the FI participating in the UMA settlement |
187+
| `PURPOSE_OF_PAYMENT` | One of the following: `GIFT`, `SELF`, `GOODS_OR_SERVICES`, `EDUCATION`, `HEALTH_OR_MEDICAL`, `REAL_ESTATE_PURCHASE`, `LOAN_PAYMENT`, `TAX_PAYMENT`, `UTILITY_BILL`, `DONATION`, `TRAVEL`, `OTHER` |
188+
| `ULTIMATE_INSTITUTION_COUNTRY` | The country of the ultimate institution from which the UMA participant sends/receives funds (ISO 3166-1 alpha-2 code) |
181189

182190
Each field in `requiredCounterpartyFields` is an object containing:
183191

generated/api-docs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ Update the platform configuration settings
253253
|»»» name|NATIONALITY|
254254
|»»» name|PHONE_NUMBER|
255255
|»»» name|EMAIL|
256-
|»»» name|ADDRESS|
256+
|»»» name|POSTAL_ADDRESS|
257257
|»»» name|TAX_ID|
258258
|»»» name|REGISTRATION_NUMBER|
259259
|»»» name|ACCOUNT_NUMBER|
@@ -263,7 +263,7 @@ Update the platform configuration settings
263263
|»» umaProviderRequiredUserFields|NATIONALITY|
264264
|»» umaProviderRequiredUserFields|PHONE_NUMBER|
265265
|»» umaProviderRequiredUserFields|EMAIL|
266-
|»» umaProviderRequiredUserFields|ADDRESS|
266+
|»» umaProviderRequiredUserFields|POSTAL_ADDRESS|
267267
|»» umaProviderRequiredUserFields|TAX_ID|
268268
|»» umaProviderRequiredUserFields|REGISTRATION_NUMBER|
269269
|»» umaProviderRequiredUserFields|ACCOUNT_NUMBER|
@@ -2144,7 +2144,7 @@ Status Code **200**
21442144
|name|NATIONALITY|
21452145
|name|PHONE_NUMBER|
21462146
|name|EMAIL|
2147-
|name|ADDRESS|
2147+
|name|POSTAL_ADDRESS|
21482148
|name|TAX_ID|
21492149
|name|REGISTRATION_NUMBER|
21502150
|name|ACCOUNT_NUMBER|
@@ -4504,7 +4504,7 @@ Name of a type of field containing info about a platform's user or counterparty
45044504
|*anonymous*|NATIONALITY|
45054505
|*anonymous*|PHONE_NUMBER|
45064506
|*anonymous*|EMAIL|
4507-
|*anonymous*|ADDRESS|
4507+
|*anonymous*|POSTAL_ADDRESS|
45084508
|*anonymous*|TAX_ID|
45094509
|*anonymous*|REGISTRATION_NUMBER|
45104510
|*anonymous*|ACCOUNT_NUMBER|

mintlify/openapi.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mintlify/remittances/developer-guides/platform-configuration.mdx

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Request body:
8181
"mandatory": true
8282
},
8383
{
84-
"name": "ADDRESS",
84+
"name": "POSTAL_ADDRESS",
8585
"mandatory": false
8686
}
8787
]
@@ -112,7 +112,7 @@ Response:
112112
"mandatory": true
113113
},
114114
{
115-
"name": "ADDRESS",
115+
"name": "POSTAL_ADDRESS",
116116
"mandatory": false
117117
}
118118
],
@@ -173,12 +173,20 @@ Available counterparty fields (to be specified with a `name` and `mandatory` fla
173173
|---------------------------------------|-------------|
174174
| `FULL_NAME` | Full legal name of the individual or business |
175175
| `BIRTH_DATE` | Date of birth in YYYY-MM-DD format (for individuals) |
176-
| `NATIONALITY` | Nationality of the individual |
177-
| `ADDRESS` | Physical address including country, city, etc. |
178-
| `PHONE_NUMBER` | Contact phone number including country code |
176+
| `NATIONALITY` | Nationality of the individual (ISO 3166-1 alpha-2 code) |
177+
| `COUNTRY_OF_RESIDENCE` | The individual's country of residence (ISO 3166-1 alpha-2 code) |
178+
| `POSTAL_ADDRESS` | Physical address in the following format `{"line1":"123 Main St", "line2":"Apt 4B", "city":"SF", "state":"CA", "postalCode":"94105", "country":"US"}` |
179+
| `PHONE_NUMBER` | Contact phone number (E.164 international format) |
179180
| `EMAIL` | Email address |
181+
| `USER_TYPE` | `INDIVIDUAL` or `BUSINESS` |
180182
| `BUSINESS_NAME` | Legal business name (for business entities) |
183+
| `REGISTRATION_NUMBER` | Business registration number |
181184
| `TAX_ID` | Tax identification number |
185+
| `ACCOUNT_IDENTIFIER` | Stable id identifying the UMA account |
186+
| `FI_LEGAL_ENTITY_NAME` | Legal entity name of the FI participating in the UMA settlement |
187+
| `FI_ADDRESS` | Address of the FI participating in the UMA settlement |
188+
| `PURPOSE_OF_PAYMENT` | One of the following: `GIFT`, `SELF`, `GOODS_OR_SERVICES`, `EDUCATION`, `HEALTH_OR_MEDICAL`, `REAL_ESTATE_PURCHASE`, `LOAN_PAYMENT`, `TAX_PAYMENT`, `UTILITY_BILL`, `DONATION`, `TRAVEL`, `OTHER` |
189+
| `ULTIMATE_INSTITUTION_COUNTRY` | The country of the ultimate institution from which the UMA participant sends/receives funds (ISO 3166-1 alpha-2 code) |
182190

183191
Each field in `requiredCounterpartyFields` is an object containing:
184192

openapi.yaml

Lines changed: 9 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/components/schemas/common/Address.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
type: object
2+
description: Physical address information
23
required:
34
- line1
45
- postalCode
@@ -12,13 +13,17 @@ properties:
1213
type: string
1314
description: Street address line 2
1415
example: Apt 4B
16+
town:
17+
type: string
18+
description: Town/Neighborhood
19+
example: Hollywood
1520
city:
1621
type: string
1722
description: City
18-
example: San Francisco
23+
example: Los Angeles
1924
state:
2025
type: string
21-
description: State/Province/Region
26+
description: State/County/Province/Region
2227
example: CA
2328
postalCode:
2429
type: string

openapi/components/schemas/users/UserInfoFieldName.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ enum:
55
- NATIONALITY
66
- PHONE_NUMBER
77
- EMAIL
8-
- ADDRESS
8+
- POSTAL_ADDRESS
99
- TAX_ID
1010
- REGISTRATION_NUMBER
1111
- USER_TYPE

openapi/webhooks/incoming-payment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ post:
9494
requestedReceiverUserInfoFields:
9595
- name: NATIONALITY
9696
mandatory: true
97-
- name: ADDRESS
97+
- name: POSTAL_ADDRESS
9898
mandatory: false
9999
timestamp: '2023-08-15T14:32:00Z'
100100
webhookId: Webhook:019542f5-b3e7-1d02-0000-000000000007

samples/kotlin/umaaas-quickstart/backend/src/main/kotlin/routes/Webhooks.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ private fun buildResponseUserData(requestedFields: List<CounterpartyFieldDefinit
148148
"PHONE_NUMBER" -> {
149149
builder.putAdditionalProperty("PHONE_NUMBER",JsonValue.from("+16502535555"))
150150
}
151-
"ADDRESS" -> {
152-
builder.putAdditionalProperty("ADDRESS", JsonValue.from(Address.builder()
151+
"POSTAL_ADDRESS" -> {
152+
builder.putAdditionalProperty("POSTAL_ADDRESS", JsonValue.from(Address.builder()
153153
.line1("123 Sample St")
154154
.city("Sampleville")
155155
.state("CA")

0 commit comments

Comments
 (0)