Skip to content

Commit 975d590

Browse files
authored
Add kycStatus and bankAccountNameMatchingStatus to lookup response (#233)
1 parent 25b67fe commit 975d590

3 files changed

Lines changed: 36 additions & 4 deletions

File tree

docusaurus-docs/docs/sending-payments.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Response:
5555

5656
```json
5757
{
58-
"receivingUmaAddress": "$recipient@example.com",
58+
"receiverUmaAddress": "$recipient@example.com",
5959
"supportedCurrencies": [
6060
{
6161
"currency": {
@@ -89,7 +89,9 @@ Response:
8989
"name": "BIRTH_DATE",
9090
"mandatory": true
9191
}
92-
]
92+
],
93+
"lookupId": "Lookup:019542f5-b3e7-1d02-0000-000000000009",
94+
"kycStatus": "VERIFIED",
9395
}
9496
```
9597

docusaurus-docs/src/pages/sending-payments-jit.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Response:
6060

6161
```json
6262
{
63-
"receivingUmaAddress": "$recipient@example.com",
63+
"receiverUmaAddress": "$recipient@example.com",
6464
"supportedCurrencies": [
6565
{
6666
"currency": {
@@ -94,7 +94,9 @@ Response:
9494
"name": "BIRTH_DATE",
9595
"mandatory": true
9696
}
97-
]
97+
],
98+
"lookupId": "Lookup:019542f5-b3e7-1d02-0000-000000000009",
99+
"kycStatus": "VERIFIED"
98100
}
99101
```
100102

openapi/paths/receiver/receiver_{receiverUmaAddress}.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ get:
4141
- receiverUmaAddress
4242
- supportedCurrencies
4343
- lookupId
44+
- kycStatus
4445
properties:
4546
receiverUmaAddress:
4647
type: string
@@ -64,6 +65,33 @@ get:
6465
Unique identifier for the lookup. Needed in the subsequent
6566
create quote request.
6667
example: Lookup:019542f5-b3e7-1d02-0000-000000000009
68+
kycStatus:
69+
type: string
70+
description: >-
71+
KYC status of the customer. This field describes whether the UMA provider
72+
is doing a full KYC check on the customer. Note that in cases where the UMA provider
73+
is proxying to an underlying bank account, the bank will still have KYC'd the customer.
74+
See `bankAccountNameMatchingStatus` for cases where there's a backing bank account, but
75+
the UMA provider is able to verify the account holder's name.
76+
example: VERIFIED
77+
enum:
78+
- UNKNOWN
79+
- NOT_VERIFIED
80+
- PENDING
81+
- VERIFIED
82+
bankAccountNameMatchingStatus:
83+
type: string
84+
description: >-
85+
Status of the bank account name matching. This field describes whether the UMA provider
86+
is able to verify that a backing bank account holder's name matches the name provided
87+
as payee data in the payreq response if applicable. It ensures that the ultimate landing
88+
destination of the payment is the intended payee. Note that this field is only applicable if the
89+
UMA provider is proxying to an underlying bank account.
90+
example: MATCHED
91+
enum:
92+
- UNKNOWN
93+
- NOT_MATCHED
94+
- MATCHED
6795
'400':
6896
description: Bad request - Missing or invalid parameters
6997
content:

0 commit comments

Comments
 (0)