Get KYC Statement
GET/api/accounts/:cardholderAccountId/partner-kyc-statement
Retrieve the KYC statement for the cardholder if it exists.
Request
Path Parameters
ID of the cardholder account.
Responses
- 200
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
- DOB
- FULL_NAME
- ADDRESS
- StructuredAddress
- UnstructuredAddress
]
Array [
- passport
- drivers-license
]
The cardholder account id.
The partner account id that is affiliated with the cardholder.
Timestamp of KYC statement creation.
The Immersve Resource Name (IRN) that created the resource.
A client-supplied identifier that helps support idempotency for safely retrying requests without submitting the same statement twice (e.g. after a transient failure). This should change for each different version of the KYC statement you submit.
claims
object[]
A list of claims about the cardholder's identity.
anyOf
Possible values: [DOB
]
The type of claim.
attributes
object
The attributes that support the DOB claim.
The cardholder's date of birth formatted as YYYY-MM-DD
Possible values: [FULL_NAME
]
The type of claim.
attributes
object
The attributes that support the FULL_NAME claim.
Title used to address the cardholder.
Primary name.
Other name(s).
Family name or surname.
Possible values: [ADDRESS
]
The type of claim.
attributes
object
The attributes that support the address claim.
oneOf
Possible values: [RESIDENTIAL
]
The type of address.
The unit number.
Street number. Generally a number but can also be alphanumeric.
Street name.
Street type. e.g. Road, St, Avenue, Circuit.
The town/village/suburb/city.
The suburb in the town/city. Only use this if you require a suburb AND a town/city, otherwise, just use the "town" parameter.
The state. Use local abbreviations such as VIC (Victoria) or TX (Texas).
The county, province, or cantonment.
Postal code.
The ISO 3166-2 Country code of the country the address is in.
Possible values: [RESIDENTIAL
]
The type of address.
An address written as a single string. i.e. not an address that is structured into individual components (e.g. unit number, street number, street name, etc.) This is useful when the address cannot be provided in a structured way. We recommend using a structured address whenever possible as correct parsing is not guaranteed.
The ISO 3166-2 Country code of the country the address is in.
evidence
object[]
A list of evidence supporting the claimed identity. At least one piece of evidence is required.
anyOf
Possible values: [PASSPORT
]
The type of evidence.
The passport number.
Possible values: [NZ
, AU
]
The country that issued the document.
The passport expiry formatted as YYYY-MM-DD.
Possible values: [DRIVERS_LICENSE
]
The type of evidence.
The license number.
Possible values: [NZ
, AU
]
The country that issued the document.
Where appropriate, the state or region that issued the document, in the format provided by the issuer. e.g. for Australia a Victorian Drivers license, this would be 'VIC'. For New Zealand no value is required.
The driver's license card number or version
An Alpha2 (ISO-3166-1) country code representing the country in which the user is being verified.
{
"idempotencyKey": "(random key that is unique for each request)",
"region": "NZ",
"claims": [
{
"claimType": "FULL_NAME",
"attributes": {
"givenName": "Jason",
"middleName": "James",
"honorific": "Mr",
"familyName": "Anderson"
}
},
{
"claimType": "ADDRESS",
"attributes": {
"addressType": "RESIDENTIAL",
"country": "NZ",
"streetNumber": "73",
"streetName": "Great Southern",
"streetType": "ROAD",
"suburb": "Auckland CBD",
"town": "Auckland",
"region": "Auckland",
"state": "AKL",
"postalCode": "6140"
}
},
{
"claimType": "DOB",
"attributes": {
"dateOfBirth": "1962-05-09"
}
}
],
"evidence": [
{
"evidenceType": "DRIVERS_LICENSE",
"documentId": "80513",
"country": "AU",
"region": "VIC",
"version": "P0001975"
}
]
}
Subject is not allowed to perform the action with the reason stated in the errorCode
FORBIDDEN Resource does not exist or there are no sufficient permissions to perform the action.
KYC_STATEMENT_DOES_NOT_EXIST Partner has not submitted any KYC statements
- application/json
- Schema
- Example (from schema)
Schema
{
"statusCode": 403,
"statusName": "Forbidden",
"errorCode": "FORBIDDEN",
"reason": "Unauthorized"
}