This is the PII Service Api
Ripple PII-Service Api (1.0.0)
https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities
- curl
- Python
- JavaScript
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities?identityType=BENEFICIARY&nickName=Successful+Beneficiary' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Requested identity info in JSON format
The list of the identities that match the query parameters
The unique ID of the identity
The nickname of the identity provided at the time of identity creation.
The time at which the identity was created
The type of the identity
| Enum Value | Description |
|---|---|
| BENEFICIARY | Identity associated with the beneficiary. |
| ORIGINATOR | Identity associated with the party originating the payment. |
{ "data": [ { … } ] }
Request
Create a new identity.
Tutorials
- Learn how to Create an identity.
- Learn how to Work with the piiData object.
Create a new business or institutional beneficiary identity.
PII data for a business or institutional benficiary in JSON format.
The specific properties you need to specify within the Cdtr, CdtrAgt, and CdtrAcct objects depend on the type of payment you plan to make to this beneficiary and the payout country and currency. To get the required properties for your use case, call the GET /data-requirements operation. For more information about the piiData object, see Working with the piiData object.
Note: The piiData.Cdtr.Id.OrgId.Othr.Id value must be unique for every identity you create in your account.
Party to which an amount of money is due.
Allows the name of the Creditor to be held as a single value.
Requirements
- Must include one (1) name string.
- Allowable characters: Alphanumeric and space.
- Names with multiple words must be separated by a space.
- For example, specify "Widgets Org", as
Widgets Org. - Provide a truncated name if longer than 140 characters.
Allows the Country of Residence of the Creditor to be held. Use Alpha-2 Code as defined in the ISO CountryCode ISO 3166-1 list.
Allows the address of the Creditor to be held.
Information that locates and identifies the address for the party.
Information that locates and identifies postal code for the party, as defined by postal services.
Allows the contact of the Creditor to be held.
Financial institution servicing an account for the creditor.
Allows the details of the Creditor Agent to be held
Name by which the party is known and which is usually used to identify the party.
- Must include one (1) name string.
- Allowable characters: Alphanumeric and space.
- Names with multiple words must be separated by a space.
- For example, specify "Widgets Org", as
Widgets Org. - Provide a truncated name if longer than 140 characters.
Unambiguous identification of the account of the creditor to which a credit entry will be posted as a result of the payment transaction.
Identifier for the Creditor account.
The type of the identity
| Enum Value | Description |
|---|---|
| BENEFICIARY | Identity associated with the beneficiary. |
| ORIGINATOR | Identity associated with the party originating the payment. |
The nickname for the new identity.
Note: Don't include any personally identifiable information in this field.
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities
- curl
- Python
- JavaScript
curl -i -X POST \
https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"identityType": "BENEFICIARY",
"nickName": "Successful Business Beneficiary",
"useCaseType": "BUSINESS",
"piiData": {
"Cdtr": {
"Nm": "Success Co.",
"CtctDtls": {
"MobNb": "+11234567890",
"EmailAdr": "test@test.com"
},
"CtryOfRes": "AT",
"Id": {
"OrgId": {
"Othr": {
"Id": "1234567890",
"SchmeNm": {
"Cd": "CINC"
}
},
"RelShipToDbtr": "CUST"
}
},
"PstlAdr": {
"AdrLine": [
"1234 Business Beneficiary Ave"
],
"PstCd": "02125",
"TwnNm": "Boston"
}
},
"CdtrAcct": {
"Ccy": "US",
"Id": {
"IBAN": "1234123412341234",
"Othr": {
"SchmeNm": {
"Cd": "BBAN"
}
}
}
},
"CdtrAgt": {
"BrnchId": {
"PstlAdr": {
"Ctry": "US"
}
},
"FinInstnId": {
"Nm": "Bank of Massachusetts",
"Othr": {
"Id": "123456"
}
}
}
}
}'{ "identityId": "2f4ac57f-c5ba-4051-b51f-b3565778717b", "version": 2 }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities/{identity-id}
- curl
- Python
- JavaScript
curl -i -X GET \
'https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities/2f4ac57f-c5ba-4051-b51f-b3565778717b?version=2' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'Requested identity info in JSON format
The unique ID of the identity
The type of the identity
| Enum Value | Description |
|---|---|
| BENEFICIARY | Identity associated with the beneficiary. |
| ORIGINATOR | Identity associated with the party originating the payment. |
The time at which the identity was created
The state of the identity
| Enum Value | Description |
|---|---|
| ACTIVE | The identity requested exists and is active. |
| BLOCKED | The identity requested exists, but is blocked. |
| DELETED | The identity requested has been deleted. |
The nickname of the identity provided at the time of identity creation.
{ "identityId": "2f4ac57f-c5ba-4051-b51f-b3565778717b", "identityType": "BENEFICIARY", "createdAt": "2023-11-02T18:26:00.000Z", "identityState": "ACTIVE", "nickName": "MyCompany", "piiData": {}, "version": 2 }
- Mock server
https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities/{identity-id}
- curl
- Python
- JavaScript
curl -i -X DELETE \
https://docs.ripple.com/_mock/products/payments-direct/api-docs/pii-service/reference/pii-service-external/identities/2f4ac57f-c5ba-4051-b51f-b3565778717b \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'