Address Types and Inputs
Returns all address types AND their associated inputs for a specified country. This can be used instead of calling the two APIs listed below in sequence.
The ISO 3166 alpha-2 country code
PH
GET /countries/{countryCode}/address-types-and-inputs HTTP/1.1
Host: localhost:3000
Accept: */*
Address types and inputs for the specified country.
[
{
"addressTypeId": "PHACCT",
"countries": [
"PH"
],
"addressTypeCode": "ACCT",
"clearingSystemId": "PHPINST",
"displayOrder": 3,
"inputs": [
{
"addressInputId": "PHINPT1",
"label": {
"addressTypeCode": "ACCT",
"title": {
"en": "Account number, 10-18 digits",
"de": "Kontonummer, 10-18 Ziffern"
}
},
"attributes": {
"name": "accountOrProxyId",
"type": "number",
"pattern": "^d{10,18}$",
"placeholder": "1234567890",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Acct/Id/Othr/Id",
"pacs008": "/Document/FIToFICstmrCdtTrf/CdtTrfTxInf/CrtrAcct/Id/Othr/Id"
}
},
{
"addressInputId": "PHINPT2",
"label": {
"addressTypeCode": "BICFI",
"title": {
"en": "BIC of the Recipient's Bank or Payment Service Provider",
"de": "BIC der Bank oder des Zahlungsdienstleisters des Empfängers"
}
},
"attributes": {
"name": "finInstId",
"type": "text",
"pattern": "^[A-Z]{6}[0-9A-Z]{2}([0-9A-Z]{3})?",
"placeholder": "AAAAPHAAXXX",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Agt/FinInstnId/BICFI",
"pacs008": "/Document/FIToFICstmrCdtTrf/CdtTrfTxInf/CdtrAgt/FinInstnId/BICFI"
}
}
]
},
{
"addressTypeId": "PHEMAL",
"countries": [
"PH"
],
"addressTypeCode": "EMAL",
"proxyDirectoryId": "PHPROXY",
"displayOrder": 2,
"inputs": [
{
"addressInputId": "PHINPT3",
"label": {
"addressTypeCode": "EMAL",
"title": {
"en": "Email address",
"de": "E-Mail-Addresse"
}
},
"attributes": {
"name": "accountOrProxyId",
"type": "email",
"pattern": null,
"placeholder": "[email protected]",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Acct/Prxy/Id",
"pacs008": null
}
},
{
"addressInputId": "PHINPT2",
"label": {
"addressTypeCode": "BICFI",
"title": {
"en": "BIC of the Recipient's Bank or Payment Service Provider",
"de": "BIC der Bank oder des Zahlungsdienstleisters des Empfängers"
}
},
"attributes": {
"name": "finInstId",
"type": "text",
"pattern": "^[A-Z]{6}[0-9A-Z]{2}([0-9A-Z]{3})?",
"placeholder": "AAAAPHAAXXX",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Agt/FinInstnId/BICFI",
"pacs008": "/Document/FIToFICstmrCdtTrf/CdtTrfTxInf/CdtrAgt/FinInstnId/BICFI"
}
}
]
},
{
"addressTypeId": "PHMBNO",
"countries": [
"PH"
],
"addressTypeCode": "MBNO",
"proxyDirectoryId": "PHPROXY",
"displayOrder": 1,
"inputs": [
{
"addressInputId": "PHINPT4",
"label": {
"addressTypeCode": "MBNO",
"title": {
"en": "Mobile phone number, including the country code",
"de": "Mobiltelefonnummer, einschließlich der Landesvorwahl"
}
},
"attributes": {
"name": "accountOrProxyId",
"type": "tel",
"pattern": "^\\+(?:[0-9] ?){6,14}[0-9]$",
"placeholder": "+633456789101",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Acct/Prxy/Id",
"pacs008": null
}
},
{
"addressInputId": "PHINPT5",
"label": {
"addressTypeCode": "BICFI",
"title": {
"en": "BIC of the Recipient's Bank or Payment Service Provider",
"de": "BIC der Bank oder des Zahlungsdienstleisters des Empfängers"
}
},
"attributes": {
"name": "finInstId",
"type": "text",
"pattern": "^[A-Z]{6}[0-9A-Z]{2}([0-9A-Z]{3})?",
"placeholder": "AAAAPHAAXXX",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Agt/FinInstnId/BICFI",
"pacs008": "/Document/FIToFICstmrCdtTrf/CdtTrfTxInf/CdtrAgt/FinInstnId/BICFI"
}
}
]
}
]
Returns high-level address types (only) for a specified country, without detail of address inputs. Can be used to generate the form where the Sender selects between (eg) mobile, email address, IBAN etc.
The ISO 3166 alpha-2 country code
ID
GET /countries/{countryCode}/address-types HTTP/1.1
Host: localhost:3000
Accept: */*
Address types for the specified country
[
{
"addressTypeId": "IDACCT",
"countries": [
"ID"
],
"addressTypeCode": "ACCT",
"clearingSystemId": "IDRBFAST",
"displayOrder": 3
},
{
"addressTypeId": "IDEMAL",
"countries": [
"ID"
],
"addressTypeCode": "EMAL",
"proxyDirectoryId": "IDPROXY",
"displayOrder": 2
},
{
"addressTypeId": "IDMBNO",
"countries": [
"ID"
],
"addressTypeCode": "MBNO",
"proxyDirectoryId": "IDPROXY",
"displayOrder": 1
}
]
Returns the detailed input fields for a specified Address Type, as defined by addressTypeId. Can be used to generate the form where the Sender will provide the account or proxy details for the Recipient.
The ID of the address type
IDACCT
GET /address-types/{addressTypeId}/inputs HTTP/1.1
Host: localhost:3000
Accept: */*
Address type inputs for the specified address type
[
{
"addressInputId": "IDINPT1",
"label": {
"addressTypeCode": "ACCT",
"title": {
"en": "Account number, 9-16 digits",
"de": "Kontonummer, 9-16 Ziffern"
}
},
"attributes": {
"name": "accountOrProxyId",
"type": "number",
"pattern": "^d{9,11}$",
"placeholder": "123456789",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Acct/Id/Othr/Id",
"pacs008": "/Document/FIToFICstmrCdtTrf/CdtTrfTxInf/CrtrAcct/Id/Othr/Id"
}
},
{
"addressInputId": "IDINPT2",
"label": {
"addressTypeCode": "BICFI",
"title": {
"en": "BIC of the Recipient's Bank or Payment Service Provider",
"de": "BIC der Bank oder des Zahlungsdienstleisters des Empfängers"
}
},
"attributes": {
"name": "finInstId",
"type": "text",
"pattern": "^[A-Z]{6}[0-9A-Z]{2}",
"placeholder": "AAAAIDAAXXX",
"required": true
},
"iso20022XPath": {
"acmt023": "/Document/IdVrfctnReq/Vrfctn/PtyAndAcctId/Agt/FinInstnId/BICFI",
"pacs008": "/Document/FIToFICstmrCdtTrf/CdtTrfTxInf/CdtrAgt/FinInstnId/BICFI"
}
},
{
"addressInputId": "IDINPT3",
"attributes": {
"name": "addressTypeCode",
"type": "hidden",
"value": "ACCT",
"required": true
},
"iso20022XPath": {
"acmt023": null,
"pacs008": null
}
}
]
Last updated