Download OpenAPI specification:Download
The Yapily API enables connections between your application and users' banks. For more information check out our documentation.
In particular, make sure to view our Getting Started steps if this is your first time here.
While testing the API, our list of sandbox credentials maybe useful.
Requests to the Yapily API are authenticated using an Application's APPLICATION_KEY
and APPLICATION_SECRET
. You can view and manage your credentials in the Yapily Console.
An APPLICATION_KEY
and APPLICATION_SECRET
pair provides connectivity to each Institution
configured in a Yapily Application
, so it is important to keep these credentials secure. Do not share your APPLICATION_SECRET
in publicly accessible areas such as GitHub, client-side code, etc.
Authentication is performed using HTTP Basic Authentication. Your APPLICATION_KEY
should be sent as the basic auth username
and your APPLICATION_SECRET
should be sent as the basic auth password
.
All requests should be made via HTTPS.
Security Scheme Type | HTTP |
---|---|
HTTP Authorization Scheme | basic |
The Application
is the base entity that is used to interact with the API and contains a collection of Institution
objects. You can have multiple Applications associated with your account e.g. a production application with live access to each Institution
and a development application with access to sandboxes.
Get the information about the institutions configured in your application
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ https://api.yapily.com/me
Example Response
{- "uuid": "64949de6-6510-4d70-9500-d4aa094c506c",
- "name": "APPLICATION NAME",
- "active": true,
- "institutions": [
- {
- "id": "modelo-sandbox",
- "name": "Modelo Sandbox",
- "fullName": "Modelo Sandbox",
- "countries": [
- {
- "displayName": "United Kingdom",
- "countryCode2": "GB"
}
], - "environmentType": "SANDBOX",
- "credentialsType": "OPEN_BANKING_UK_AUTO",
- "media": [
- {
- "type": "icon"
}, - {
- "type": "logo"
}
], - "features": [
- "INITIATE_SINGLE_PAYMENT_SORTCODE",
- "CREATE_DOMESTIC_PERIODIC_PAYMENT",
- "ACCOUNT_REQUEST_DETAILS",
- "ACCOUNT_STATEMENT_FILE",
- "CREATE_SINGLE_PAYMENT_SORTCODE",
- "ACCOUNTS",
- "CREATE_DOMESTIC_SCHEDULED_PAYMENT",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "CREATE_DOMESTIC_SINGLE_PAYMENT",
- "INITIATE_DOMESTIC_PERIODIC_PAYMENT",
- "EXISTING_PAYMENTS_DETAILS",
- "INITIATE_BULK_PAYMENT",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNT_TRANSACTIONS",
- "INITIATE_DOMESTIC_SINGLE_PAYMENT",
- "PERIODIC_PAYMENT_FREQUENCY_EXTENDED",
- "CREATE_INTERNATIONAL_SINGLE_PAYMENT",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "ACCOUNT",
- "ACCOUNT_STATEMENTS",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT",
- "CREATE_BULK_PAYMENT",
- "ACCOUNT_BALANCES",
- "INITIATE_INTERNATIONAL_SINGLE_PAYMENT",
- "INITIATE_DOMESTIC_SCHEDULED_PAYMENT",
- "ACCOUNT_BENEFICIARIES",
- "IDENTITY",
- "ACCOUNT_STATEMENT",
- "INITIATE_ACCOUNT_REQUEST"
]
}
], - "media": [ ],
- "created": "2020-11-09T10:05:29.897+0000",
- "updated": "2021-04-14T12:51:07.419+0000"
}
The Users endpoints are used to manage each user (otherwise known as the PSU) in Yapily. Each user belongs to an Application and as a consequence, so do each Consent
created for a particular User
.
Get all the users configured in your application
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/users?filter%5BapplicationUserId%5D=string'
Example Response
[- {
- "uuid": "3b908179-6faa-42e1-8129-8fd0ff1fc68f",
- "applicationUuid": "3020bf54-e254-40ba-ba7b-fc959774486a",
- "applicationUserId": "string",
- "createdAt": "2022-10-17T08:51:02.463Z",
- "institutionConsents": [
- {
- "institutionId": "modelo-sandbox"
}
]
}, - {
- "uuid": "be7dd6fa-1236-41b6-a7a1-5d7863ab9553",
- "applicationUuid": "3020bf54-e254-40ba-ba7b-fc959774486a",
- "referenceId": "hollyhock@9tees.com",
- "createdAt": "2022-10-17T08:51:02.464Z",
- "institutionConsents": [
- {
- "institutionId": "mock-sandbox"
}
]
}, - {
- "uuid": "deb9aac1-b0bc-4f40-9c0b-6a675cf6646f",
- "applicationUuid": "3020bf54-e254-40ba-ba7b-fc959774486a",
- "referenceId": "beatrice@9tees.com",
- "createdAt": "2022-10-17T08:51:02.466Z",
- "institutionConsents": [
- {
- "institutionId": "yapily-mock"
}
]
}
]
Create a new user in your application
Created
Error Response
Create User Example Request
{- "applicationUserId": "string"
}
Example Response
{- "uuid": "1ec8e814-085e-46ad-a303-3fe11808f67e",
- "applicationUuid": "50935110-c7df-4003-a06a-1cc5fd4643c9",
- "applicationUserId": "string",
- "createdAt": "2022-10-17T08:51:02.463Z",
- "institutionConsents": [ ]
}
Delete a user from your application along with any sub-resources (including consent resources on institution APIs if they exist)
Ok
Error Response
curl -i -X DELETE \ -u <username>:<password> \ 'https://api.yapily.com/users/{userUuid}'
Example Response
{- "meta": {
- "tracingId": "e6625041a9fb46e2a450b3f9f1528cb8"
}, - "data": {
- "id": "b8ebe390-f6fb-45b5-bf20-1b4436644390",
- "deleteStatus": "SUCCESS",
- "creationDate": "2021-06-07T16:44:52.221Z",
- "userConsents": [
- {
- "institutionId": "modelo-sandbox"
}
]
}
}
Get a specific user using the user UUID
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/users/{userUuid}'
Example Response
{- "uuid": "3b908179-6faa-42e1-8129-8fd0ff1fc68f",
- "applicationUuid": "3020bf54-e254-40ba-ba7b-fc959774486a",
- "applicationUserId": "string",
- "createdAt": "2022-10-17T08:51:02.463Z",
- "institutionConsents": [
- {
- "institutionId": "modelo-sandbox"
}
]
}
An Institution
object represents any Account Serving Payment Servicing Provider (ASPSP) that has been integrated and is accessible through the Yapily APIs (ASPSPs are entities that publish Read/Write APIs to permit, with customer consent, payments initiated by third party providers and/or make their customers� financial data available to third party providers via their API endpoints).
Any one of the following would be represented as Institution:
Used to retrieve all features available from Yapily. Each Institution
supports a one, many or all of these features and can be seen in the features field of the Institution
object.
Note: Every Institution
does not necessarily support every feature. To see which features are available for a particular Institution, use either the Get Institutions or Get Institution endpoint and check the features array within the Institution
payload.
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ https://api.yapily.com/features
Example Response
{- "meta": {
- "tracingId": "b39dc53cf01847098b13f22c559228dd",
- "count": 52
}, - "data": [
- {
- "feature": "ACCOUNT",
}, - {
- "feature": "ACCOUNTS",
}, - {
- "feature": "ACCOUNTS_WITHOUT_BALANCE",
}, - {
- "feature": "ACCOUNT_BALANCES",
}, - {
- "feature": "ACCOUNT_BENEFICIARIES",
}, - {
- "feature": "ACCOUNT_DIRECT_DEBITS",
}, - {
- "feature": "ACCOUNT_PERIODIC_PAYMENTS",
}, - {
- "feature": "ACCOUNT_REQUEST_DETAILS",
}, - {
- "feature": "ACCOUNT_SCHEDULED_PAYMENTS",
}, - {
- "feature": "ACCOUNT_STATEMENT",
}, - {
- "feature": "ACCOUNT_STATEMENTS",
}, - {
- "feature": "ACCOUNT_STATEMENT_FILE",
}, - {
- "feature": "ACCOUNT_TRANSACTIONS",
}, - {
- "feature": "ACCOUNT_TRANSACTIONS_WITH_MERCHANT",
}, - {
- "feature": "ACCOUNT_WITHOUT_BALANCE",
}, - {
- "feature": "CREATE_BULK_PAYMENT",
}, - {
- "feature": "CREATE_DOMESTIC_PERIODIC_PAYMENT",
}, - {
- "feature": "CREATE_DOMESTIC_SCHEDULED_PAYMENT",
}, - {
- "feature": "CREATE_DOMESTIC_SINGLE_INSTANT_PAYMENT",
}, - {
- "feature": "CREATE_DOMESTIC_SINGLE_PAYMENT",
}, - {
- "feature": "CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT",
}, - {
- "feature": "CREATE_INTERNATIONAL_PERIODIC_PAYMENT",
}, - {
- "feature": "CREATE_INTERNATIONAL_SCHEDULED_PAYMENT",
}, - {
- "feature": "CREATE_INTERNATIONAL_SINGLE_PAYMENT",
}, - {
- "feature": "CREATE_SINGLE_PAYMENT_SORTCODE",
}, - {
- "feature": "EXISTING_PAYMENTS_DETAILS",
}, - {
- "feature": "EXISTING_PAYMENT_INITIATION_DETAILS",
}, - {
- "feature": "IDENTITY",
}, - {
- "feature": "INITIATE_ACCOUNT_REQUEST",
}, - {
- "feature": "INITIATE_BULK_PAYMENT",
}, - {
- "feature": "INITIATE_DOMESTIC_PERIODIC_PAYMENT",
}, - {
- "feature": "INITIATE_DOMESTIC_SCHEDULED_PAYMENT",
}, - {
- "feature": "INITIATE_DOMESTIC_SINGLE_INSTANT_PAYMENT",
}, - {
- "feature": "INITIATE_DOMESTIC_SINGLE_PAYMENT",
}, - {
- "feature": "INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT",
}, - {
- "feature": "INITIATE_EMBEDDED_ACCOUNT_REQUEST",
}, - {
- "feature": "INITIATE_EMBEDDED_DOMESTIC_SINGLE_PAYMENT",
}, - {
- "feature": "INITIATE_EMBEDDED_BULK_PAYMENT",
}, - {
- "feature": "INITIATE_INTERNATIONAL_PERIODIC_PAYMENT",
}, - {
- "feature": "INITIATE_INTERNATIONAL_SCHEDULED_PAYMENT",
}, - {
- "feature": "INITIATE_INTERNATIONAL_SINGLE_PAYMENT",
}, - {
- "feature": "INITIATE_PRE_AUTHORISATION",
}, - {
- "feature": "INITIATE_SINGLE_PAYMENT_SORTCODE",
}, - {
- "feature": "OPEN_DATA_ATMS",
}, - {
- "feature": "OPEN_DATA_PERSONAL_CURRENT_ACCOUNTS",
}, - {
- "feature": "PERIODIC_PAYMENT_FREQUENCY_EXTENDED",
}, - {
- "feature": "READ_DOMESTIC_PERIODIC_PAYMENT_REFUND",
}, - {
- "feature": "READ_DOMESTIC_SCHEDULED_REFUND",
}, - {
- "feature": "READ_DOMESTIC_SINGLE_REFUND",
}, - {
- "feature": "READ_INTERNATIONAL_SCHEDULED_REFUND",
}, - {
- "feature": "READ_INTERNATIONAL_SINGLE_REFUND",
}, - {
- "feature": "TRANSFER",
}
]
}
Used to retrieve all Institutions
within an application
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ https://api.yapily.com/institutions
Example Response
{- "meta": {
- "tracingId": "1304b771e4e34f67b39977bde6b1a8e2",
- "count": 1
}, - "data": [
- {
- "id": "modelo-sandbox",
- "name": "Modelo Sandbox",
- "fullName": "Modelo Sandbox",
- "countries": [
- {
- "displayName": "United Kingdom",
- "countryCode2": "GB"
}
], - "environmentType": "SANDBOX",
- "credentialsType": "OPEN_BANKING_UK_AUTO",
- "media": [
- {
- "type": "icon"
}, - {
- "type": "logo"
}
], - "features": [
- "ACCOUNT_BALANCES",
- "INITIATE_BULK_PAYMENT",
- "ACCOUNT_BENEFICIARIES",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "EXISTING_PAYMENTS_DETAILS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT_STATEMENTS",
- "INITIATE_DOMESTIC_PERIODIC_PAYMENT",
- "INITIATE_ACCOUNT_REQUEST",
- "IDENTITY",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_REQUEST_DETAILS",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT",
- "INITIATE_SINGLE_PAYMENT_SORTCODE",
- "INITIATE_DOMESTIC_SINGLE_PAYMENT",
- "INITIATE_DOMESTIC_SCHEDULED_PAYMENT",
- "ACCOUNT_STATEMENT",
- "CREATE_DOMESTIC_SINGLE_PAYMENT",
- "ACCOUNT_STATEMENT_FILE",
- "CREATE_DOMESTIC_PERIODIC_PAYMENT",
- "CREATE_DOMESTIC_SCHEDULED_PAYMENT",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "INITIATE_INTERNATIONAL_SINGLE_PAYMENT",
- "CREATE_SINGLE_PAYMENT_SORTCODE",
- "CREATE_BULK_PAYMENT",
- "CREATE_INTERNATIONAL_SINGLE_PAYMENT",
- "ACCOUNT",
- "PERIODIC_PAYMENT_FREQUENCY_EXTENDED",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNTS"
]
}
]
}
Used to retrieves details of a specific Institution
within an application
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/institutions/{institutionId}'
Example Response
{- "id": "modelo-sandbox",
- "name": "Modelo Sandbox",
- "fullName": "Modelo Sandbox",
- "countries": [
- {
- "displayName": "United Kingdom",
- "countryCode2": "GB"
}
], - "environmentType": "SANDBOX",
- "credentialsType": "OPEN_BANKING_UK_AUTO",
- "media": [
- {
- "type": "icon"
}, - {
- "type": "logo"
}
], - "features": [
- "ACCOUNT_BALANCES",
- "INITIATE_BULK_PAYMENT",
- "ACCOUNT_BENEFICIARIES",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "EXISTING_PAYMENTS_DETAILS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT_STATEMENTS",
- "INITIATE_DOMESTIC_PERIODIC_PAYMENT",
- "INITIATE_ACCOUNT_REQUEST",
- "IDENTITY",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_REQUEST_DETAILS",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT",
- "INITIATE_SINGLE_PAYMENT_SORTCODE",
- "INITIATE_DOMESTIC_SINGLE_PAYMENT",
- "INITIATE_DOMESTIC_SCHEDULED_PAYMENT",
- "ACCOUNT_STATEMENT",
- "CREATE_DOMESTIC_SINGLE_PAYMENT",
- "ACCOUNT_STATEMENT_FILE",
- "CREATE_DOMESTIC_PERIODIC_PAYMENT",
- "CREATE_DOMESTIC_SCHEDULED_PAYMENT",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "INITIATE_INTERNATIONAL_SINGLE_PAYMENT",
- "CREATE_SINGLE_PAYMENT_SORTCODE",
- "CREATE_BULK_PAYMENT",
- "CREATE_INTERNATIONAL_SINGLE_PAYMENT",
- "ACCOUNT",
- "PERIODIC_PAYMENT_FREQUENCY_EXTENDED",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNTS"
]
}
The Consents endpoints are used to manage each Consent
created by Yapily in response to an authorisation created for a user.
The Consent
object contains data that identifies a user's consent for a specific Institution
within a Yapily application. Other than the id of the consent, the institution-id
for the corresponding Institution
and the user identifiers (user-uuid
and application-user-id
), it contains various details that indicates how the Consent
can be used.
Used to obtain a Yapily Consent object containing the consentToken
once the user has authenticated and you have an OAuth2 authorisation code auth-code
and state auth-state
.
Ok
Error Response
{- "authCode": "6b965fbb-ff09-4afa-b897-90c34797cb8f",
- "authState": "1270cb2ffc4842b78953afa2228e0a87"
}
Example Response
{- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "userUuid": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-08T10:59:35.138Z",
- "featureScope": [
- "ACCOUNT_BENEFICIARIES",
- "ACCOUNT_STATEMENT_FILE",
- "ACCOUNTS",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT",
- "ACCOUNT_STATEMENTS",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "IDENTITY",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNT_STATEMENT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT"
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "state": "a09f8ff9c1284444aa635267e05f76e1",
- "authorizedAt": "2021-06-08T10:59:53.288Z",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a"
}
Exchange a One-time-token for the consent token
Created
Error Response
{- "oneTimeToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6ImJidmEtc2FuZGJveCIsIlVVSUQiOiJmMzNmNGU4ZC1jMDQ0LTQ2YTktOTlkMC0wYmRlMzIyYTJjOTIifQ.4Qv3NJI6av2nKi1U3aNmm71cIwJ3TvRsIlYDafQUVv_Khy_e-8oEpV_BoP4V1CII12oT-Yq4cPveHILz8BOwjg"
}
Example Response
{- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "userUuid": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-08T10:59:35.138Z",
- "featureScope": [
- "ACCOUNT_BENEFICIARIES",
- "ACCOUNT_STATEMENT_FILE",
- "ACCOUNTS",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT",
- "ACCOUNT_STATEMENTS",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "IDENTITY",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNT_STATEMENT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT"
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "state": "a09f8ff9c1284444aa635267e05f76e1",
- "authorizedAt": "2021-06-08T10:59:53.288Z",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a"
}
Used to retrieve all the consents created for each user within an application
filter[applicationUserId] | Array of strings unique Optional. Filter records based on the list of |
filter[userUuid] | Array of strings <uuid> unique Optional. Filter records based on the list of |
filter[institution] | Array of strings unique Optional. Filter records based on the list of |
filter[status] | Array of strings unique Optional. Filter records based on the list of |
from | string Optional. Returned transactions will be on or after this date (yyyy-MM-dd'T'HH:mm:ss.SSSZ). |
before | string Optional. Returned transactions will be on or before this date (yyyy-MM-dd'T'HH:mm:ss.SSSZ). |
limit | integer <int32> Optional. The maximum number of transaction records to be returned. Must be between 1 and 1000. |
offset | integer <int32> Default: 0 Optional. The number of transaction records to be skipped. Used primarily with paginated results. |
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/consents?filter%5BapplicationUserId%5D=string&filter%5BuserUuid%5D=497f6eca-6276-4993-bfeb-53cbbbba6f08&filter%5Binstitution%5D=string&filter%5Bstatus%5D=string&from=string&before=string&limit=0&offset=0'
Example Response
{- "meta": {
- "tracingId": "d7b537b108934105a522dc7b4522380b",
- "count": 1,
- "pagination": {
- "totalCount": 1,
- "self": {
- "sort": "-date",
- "offset": 0
}
}
}, - "data": [
- {
- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "userUuid": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-08T10:59:35.138Z",
- "featureScope": [
- "ACCOUNT_BENEFICIARIES",
- "ACCOUNT_STATEMENT_FILE",
- "ACCOUNTS",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT",
- "ACCOUNT_STATEMENTS",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "IDENTITY",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNT_STATEMENT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT"
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "state": "a09f8ff9c1284444aa635267e05f76e1",
- "authorizedAt": "2021-06-08T10:59:53.288Z",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a"
}
]
}
Delete a consent using the consent Id
Ok
Error Response
curl -i -X DELETE \ -u <username>:<password> \ 'https://api.yapily.com/consents/{consentId}?forceDelete=true'
Example Response
{- "meta": {
- "tracingId": "9aacaccc6dbf4a86960c9541969087a0"
}, - "data": {
- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "deleteStatus": "SUCCESS",
- "institutionId": "modelo-sandbox",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a",
- "creationDate": "2021-06-08T10:59:35.138Z"
}
}
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/consents/{consentId}'
Example Response
{- "meta": {
- "tracingId": "679e7bb6cd45416a9a9a8d004c5315da"
}, - "data": {
- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "userUuid": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-08T10:59:35.138Z",
- "featureScope": [
- "ACCOUNT_BENEFICIARIES",
- "ACCOUNT_STATEMENT_FILE",
- "ACCOUNTS",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT",
- "ACCOUNT_STATEMENTS",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "IDENTITY",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNT_STATEMENT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT"
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "state": "a09f8ff9c1284444aa635267e05f76e1",
- "authorizedAt": "2021-06-08T10:59:53.288Z",
- "lastConfirmedAt": "2021-07-08T10:59:53.288Z",
- "reconfirmBy": "2021-10-06T10:59:53.288Z",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a"
}
}
Used to indicate to Yapily that reconfirmation has occurred for a given Consent, and to update lastUpdatedAt and reconfirmBy for that Consent. Returns the Consent.
Created
Error Response. The supplied lastConfirmedAt date, Consent type, or Consent status is invalid.
Error Response
Extend Consent Example Request
{- "lastConfirmedAt": "2021-07-08T10:59:53.288Z"
}
Example Response
{- "meta": {
- "tracingId": "679e7bb6cd45416a9a9a8d004c5315da"
}, - "data": {
- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "userUuid": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-08T10:59:35.138Z",
- "featureScope": [
- "ACCOUNT_BENEFICIARIES",
- "ACCOUNT_STATEMENT_FILE",
- "ACCOUNTS",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT",
- "ACCOUNT_STATEMENTS",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "IDENTITY",
- "ACCOUNT_DIRECT_DEBITS",
- "ACCOUNT_STATEMENT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT"
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "state": "a09f8ff9c1284444aa635267e05f76e1",
- "authorizedAt": "2021-06-08T10:59:53.288Z",
- "lastConfirmedAt": "2021-07-08T10:59:53.288Z",
- "reconfirmBy": "2021-10-06T10:59:53.288Z",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a"
}
}
Before calling Financial Data or Payments endpoints, a consent from an end-user must be obtained.
Consents are valid for up to 90 days for Financial Data endpoints and have a single-use for Payment endpoints i.e. a new consent must be obtained for each payment.
Used to prompt the account holder for continued access to their financial data. This endpoint should be used when a Consent
that was previously AUTHORIZED
can no longer be used to retrieve data.
See Re-Authorisation for more information.
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Created
Error Response
curl -i -X PATCH \ -u <username>:<password> \ 'https://api.yapily.com/account-auth-requests?raw=true' \ -H 'consent: string' \ -H 'psu-corporate-id: string' \ -H 'psu-id: string' \ -H 'psu-ip-address: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
OBIE Example Response
{- "meta": {
- "tracingId": "8719f9c97272463d9c2d1ee6108c8e24"
}, - "data": {
- "id": "2812b61c-9d0b-4730-8c94-22c18918e66a",
- "userUuid": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AWAITING_RE_AUTHORIZATION",
- "createdAt": "2021-06-09T08:22:50.135Z",
- "featureScope": [
- "ACCOUNT_STATEMENT_FILE",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT_STATEMENTS",
- "ACCOUNTS",
- "ACCOUNT"
], - "state": "0623e536c5044b4aa3f6c66e7537bee0",
- "authorizedAt": "2021-06-09T08:23:03.944Z",
- "institutionConsentId": "aac-f7847e99-7c66-4bb8-8641-61a24057f2e8",
}
}
Used to initiate the authorisation process and direct users to the login screen of their financial institution in order to give consent to access account data.
See Redirect Account Flows for more information about this flow.
Feature: INITIATE_ACCOUNT_REQUEST
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid>
|
applicationUserId | string Conditional. User-friendly identifier of the |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user completes the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
object (AccountRequest) Conditional. Used to further specify details of the
|
Created
Error Response
OBIE Example Request
{- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
}
OBIE Example Response
{- "meta": {
- "tracingId": "3b262569303f47f188d16b43acd552c0"
}, - "data": {
- "id": "2d5c3632-1729-4a5e-bc69-c7fa1cbba815",
- "userUuid": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AWAITING_AUTHORIZATION",
- "createdAt": "2021-06-09T08:03:20.510Z",
- "featureScope": [
- "ACCOUNT_STATEMENT_FILE",
- "ACCOUNTS",
- "ACCOUNT_STATEMENTS",
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_STATEMENT",
- "ACCOUNT_SCHEDULED_PAYMENTS",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT",
- "ACCOUNT_PERIODIC_PAYMENTS",
- "ACCOUNT_BENEFICIARIES",
- "IDENTITY",
- "ACCOUNT_DIRECT_DEBITS"
], - "state": "7948ba4d6a064001b06ef28f8c06ca4a",
- "institutionConsentId": "aac-0a743a0f-0b7d-4e7b-87eb-0bc65e1d2f97",
}
}
Used to continue the authorisation process and for any Institution
that contains the INITIATE_PRE_AUTHORISATION
feature and direct user to the login screen of their financial institution in order to give consent to access account data.
See Redirect Account Flows for more information about this flow.
Features:
INITIATE_ACCOUNT_REQUEST
INITIATE_PRE_AUTHORISATION
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid>
|
applicationUserId | string Conditional. User-friendly identifier of the |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user completes the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
object (AccountRequest) Conditional. Used to further specify details of the
|
Ok
Error Response
Berlin Group Example Request
{- "applicationUserId": "string",
- "institutionId": "n26"
}
OBIE Example Response
{- "meta": {
- "tracingId": "ee8e5bcfedf348b18ae45a34135790cc"
}, - "data": {
- "id": "68e14e00-38b0-467d-a999-f70340e467b3",
- "userUuid": "e2578545-27a4-4edf-983f-5d33c2d7b559",
- "applicationUserId": "string",
- "institutionId": "n26",
- "institutionConsentId": "87ec9ded-d5ea-4fb6-80c5-ad4c88246c9f",
- "state": "4f4f9766f7264afc96a5269d6e65e066",
- "status": "AWAITING_DECOUPLED_AUTHORIZATION",
- "authorizedAt": "2021-05-13T09:00:06.867Z",
- "createdAt": "2021-05-13T08:59:23.864Z",
- "featureScope": [
- "ACCOUNT_TRANSACTIONS",
- "INITIATE_PRE_AUTHORISATION",
- "ACCOUNTS",
- "ACCOUNT_TRANSACTIONS_WITH_MERCHANT"
]
}
}
Used to initiate the authorisation process and direct users to the login screen of their financial Institution in order to give their consent for a bulk payment. See Bulk Payments for more information.
See Redirect Payment Flows for more information about this flow.
Feature: INITIATE_BULK_PAYMENT
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
userUuid | string <uuid> Conditional. The reference to the |
applicationUserId | string Conditional. The user-friendly reference to the |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
object (BulkPaymentRequest) The payment request object defining the details of the bulk payment |
Created
Error Response
UK Bulk Payment Example Request
{- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "paymentRequest": {
- "payments": [
- {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "d78fy48uh8f9odhde68dfi38di9",
- "reference": "payment1",
- "contextType": "BILL_IN_ARREARS",
- "purposeCode": "COMT",
- "amount": {
- "amount": 2,
- "currency": "GBP"
}, - "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
], - "accountType": "BUSINESS_SAVING"
}
}, - {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "4279gdy8t63dg73gd8gx87738dg",
- "reference": "payment2",
- "contextType": "BILL_IN_ARREARS",
- "purposeCode": "COMT",
- "amount": {
- "amount": 5,
- "currency": "GBP"
}, - "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
], - "accountType": "BUSINESS_SAVING"
}
}
]
}
}
UK Bulk Payment Example Response
{- "meta": {
- "tracingId": "96169af01d394ad39658f17d53b49a5d"
}, - "data": {
- "id": "a2a9ec77-a479-4996-9896-4568e1968e7a",
- "userUuid": "5350782b-60f3-489e-aae5-a24d8d679a07",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AWAITING_AUTHORIZATION",
- "createdAt": "2021-06-09T13:48:25.138Z",
- "featureScope": [
- "EXISTING_PAYMENTS_DETAILS",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "CREATE_BULK_PAYMENT"
], - "state": "80052c03007f41d589f64377eef4d620",
- "institutionConsentId": "sdp-6-25ff5bd8-d01c-422d-aa9e-8e68808bc899",
}
}
Used to initiate the embedded authorisation process for an Institution
that contains the INITIATE_EMBEDDED_ACCOUNT_REQUEST
feature in order to obtain the the user's authorisation to access their account information.
See Embedded Account Flows for more information about this flow.
Feature: INITIATE_EMBEDDED_ACCOUNT_REQUEST
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid>
|
applicationUserId | string Conditional. The user-friendly reference to the |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
object (UserCredentials) Conditional. Used to capture the user's credentials to allow them to login to an | |
object (ScaMethod) Conditional. Used to update the authorisation with the sca method of the user's choice for the | |
scaCode | string Conditional. Used to update the authorisation with the sca code received by the user from the |
object (AccountRequest) Conditional. Used to further specify details of the
|
Created
Error Response
Berlin Group Example Request
{- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "userCredentials": {
- "id": "6154057725",
- "password": "PISPWD12"
}
}
Berlin Group (Multiple SCA Methods) Example Response
{- "meta": {
- "tracingId": "a9d8d8c5e6a84b00b8510d90c28cbbc6"
}, - "data": {
- "id": "149da283-2958-4128-9d72-e3a02e8bb83d",
- "userUuid": "6b082877-b137-4743-bba3-07b6a8148b42",
- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "status": "AWAITING_SCA_METHOD",
- "createdAt": "2021-06-09T11:47:24.513Z",
- "expiresAt": "2021-09-07T00:00:00Z",
- "timeToExpire": "P89DT12H12M35.472S",
- "featureScope": [
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNTS",
- "ACCOUNT",
- "ACCOUNT_BALANCES"
], - "state": "c99f35c118194737b83487a0e6a48ed9",
- "institutionConsentId": "4514274319060120226PSDLT-BL-LB002045CO9545RW",
- "scaMethods": [
- {
- "id": "962",
- "type": "CHIP_OTP",
- "description": "SmartTAN plus HHD 1.4"
}, - {
- "id": "952",
- "type": "CHIP_OTP",
- "description": "SmartTAN optic"
}, - {
- "id": "972",
- "type": "CHIP_OTP",
- "description": "SmartTAN optic/USB HHD 1.4"
}, - {
- "id": "982",
- "type": "PHOTO_OTP",
- "description": "Smart-TAN photo"
}, - {
- "id": "932",
- "type": "CHIP_OTP",
- "description": "SmartTAN plus"
}, - {
- "id": "944",
- "type": "PUSH_OTP",
- "description": "SecureSIGN"
}, - {
- "id": "942",
- "type": "SMS_OTP",
- "description": "mobile TAN"
}
]
}
}
Used to pass the SCA Code received from the Institution
(and the SCA method selected by the user where multiple SCA methods are supported by the Institution
) in order to complete the embedded authorisation to access the user's financial data.
See Embedded Account Flows for more information about this flow.
Feature: INITIATE_EMBEDDED_ACCOUNT_REQUEST
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid>
|
applicationUserId | string Conditional. The user-friendly reference to the |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
object (UserCredentials) Conditional. Used to capture the user's credentials to allow them to login to an | |
object (ScaMethod) Conditional. Used to update the authorisation with the sca method of the user's choice for the | |
scaCode | string Conditional. Used to update the authorisation with the sca code received by the user from the |
object (AccountRequest) Conditional. Used to further specify details of the
|
Created
Error Response
Berlin Group (SCA Code) Example Request
{- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "scaCode": "6154057725"
}
Berlin Group (SCA Code) Example Response
{- "meta": {
- "tracingId": "0ad7c46c4e4445bab3a0d4ccae25556b"
}, - "data": {
- "id": "66c8c0f2-1678-4404-a68f-2236a1afcdad",
- "userUuid": "6b082877-b137-4743-bba3-07b6a8148b42",
- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-09T11:49:18.815Z",
- "featureScope": [
- "ACCOUNT_TRANSACTIONS",
- "ACCOUNTS",
- "ACCOUNT",
- "ACCOUNT_BALANCES"
], - "state": "3fb4024282d0432cb710094c4c723ae5",
- "authorizedAt": "2021-06-09T11:51:14.140Z",
- "institutionConsentId": "1448194319060120228PSDLT-BL-LB002045CO9545RW"
}
}
Used to initiate the embedded authorisation process for an Institution
that contains the INITIATE_EMBEDDED_BULK_PAYMENT
feature in order to obtain the the user's authorisation for a bulk payment. See Bulk Payments for more information.
See Embedded Payment Flows for more information about this flow.
Feature: INITIATE_EMBEDDED_BULK_PAYMENT
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
userUuid | string <uuid> Conditional. The reference to the |
applicationUserId | string Conditional. The user-friendly reference to the |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
object (BulkPaymentRequest) The payment request object defining the details of the bulk payment | |
object (UserCredentials) Conditional. Used to capture the user's credentials to allow them to login to an | |
object (ScaMethod) Conditional. Used to update the authorisation with the sca method of the user's choice for the | |
scaCode | string Conditional. Used to update the authorisation with the sca code received by the user from the |
Created
Error Response
Berlin Group EUR Embedded Bulk Payment Example Request
{- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "userCredentials": {
- "id": "VRK1234567890PLUS",
- "password": "password"
}, - "paymentRequest": {
- "executionDateTime": "2021-10-29T00:00:00Z",
- "payments": [
- {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "e4f913909a3d11eabb370242ac130002",
- "reference": "REFERENCE",
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE39499999600000005111"
}
]
}, - "payee": {
- "name": "Jane Doe",
- "address": {
- "country": "DE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}
}, - {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "e4f913909a3d11eabb370242ac130002",
- "reference": "REFERENCE",
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "payer": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE39499999600000005111"
}
]
}, - "payee": {
- "name": "John Doe",
- "address": {
- "country": "DE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678900000000000"
}
]
}
}
]
}
}
Berlin Group EUR Embedded Bulk Payment Example Response
{- "meta": {
- "tracingId": "4ab90c8cc13a4b74ba855a48100d6084"
}, - "data": {
- "id": "6117b6dd-5a43-4f26-8e36-b91b9bf3c434",
- "userUuid": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "status": "AWAITING_SCA_CODE",
- "createdAt": "2021-08-02T14:58:45.446Z",
- "featureScope": [
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "CREATE_BULK_PAYMENT",
- "EXISTING_PAYMENTS_DETAILS"
], - "state": "85853421299c44e0829debefffd8622e",
- "institutionConsentId": "0515485612080120206PSDLT-BL-LB002045PA9545RW",
- "scaMethods": [
- {
- "id": "932",
- "type": "CHIP_OTP",
- "description": "SmartTAN plus"
}
], - "selectedScaMethod": {
- "id": "932",
- "type": "CHIP_OTP",
- "description": "SmartTAN plus"
}
}
}
Used to pass the SCA Code received from the Institution
(and the SCA method selected by the user where multiple SCA methods are supported by the Institution
) in order to complete the embedded authorisation to initiate a bulk payment. See Bulk Payments for more information.
See Embedded Payment Flows for more information about this flow.
Feature: INITIATE_EMBEDDED_BULK_PAYMENT
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
userUuid | string <uuid> Conditional. The reference to the |
applicationUserId | string Conditional. The user-friendly reference to the |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
object (BulkPaymentRequest) The payment request object defining the details of the bulk payment | |
object (UserCredentials) Conditional. Used to capture the user's credentials to allow them to login to an | |
object (ScaMethod) Conditional. Used to update the authorisation with the sca method of the user's choice for the | |
scaCode | string Conditional. Used to update the authorisation with the sca code received by the user from the |
Ok
Error Response
Berlin Group EUR Embedded Bulk Payment (SCA Code) Example Request
{- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "scaCode": "123456",
- "paymentRequest": {
- "executionDateTime": "2021-10-29T00:00:00Z",
- "payments": [
- {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "e4f913909a3d11eabb370242ac130002",
- "reference": "REFERENCE",
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE39499999600000005111"
}
]
}, - "payee": {
- "name": "Jane Doe",
- "address": {
- "country": "DE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}
}, - {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "e4f913909a3d11eabb370242ac130002",
- "reference": "REFERENCE",
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "payer": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE39499999600000005111"
}
]
}, - "payee": {
- "name": "John Doe",
- "address": {
- "country": "DE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678900000000000"
}
]
}
}
]
}
}
Berlin Group EUR Embedded Bulk Payment (SCA Code) Example Response
{- "meta": {
- "tracingId": "cfa351c5de6f4398bb9deea04041acc5"
}, - "data": {
- "id": "6117b6dd-5a43-4f26-8e36-b91b9bf3c434",
- "userUuid": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "institutionId": "fiducia-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-08-02T14:58:45.446Z",
- "featureScope": [
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "CREATE_BULK_PAYMENT",
- "EXISTING_PAYMENTS_DETAILS"
], - "state": "85853421299c44e0829debefffd8622e",
- "authorizedAt": "2021-08-02T14:59:29.174Z",
- "institutionConsentId": "0515485612080120206PSDLT-BL-LB002045PA9545RW"
}
}
Used to initiate the embedded authorisation process for an Institution
that contains the INITIATE_EMBEDDED_DOMESTIC_SINGLE_PAYMENT
feature in order to obtain the the user's authorisation for a payment.
See Embedded Payment Flows for more information about this flow.
Feature: INITIATE_EMBEDDED_DOMESTIC_SINGLE_PAYMENT
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid> |
applicationUserId | string Conditional. The user-friendly reference to the |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
required | object (PaymentRequest) Mandatory. The payment request object defining the details of the payment. |
object (UserCredentials) Conditional. Used to capture the user's credentials to allow them to login to an | |
object (ScaMethod) Conditional. Used to update the authorisation with the sca method of the user's choice for the | |
scaCode | string Conditional. Used to update the authorisation with the sca code received by the user from the |
Created
Error Response
Berlin Group EUR Single Domestic Payment Example Request
{- "applicationUserId": "string",
- "institutionId": "postbank-sandbox",
- "userCredentials": {
- "id": "6154057725",
- "password": "PISPWD12"
}, - "paymentRequest": {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "e4f913909a3d11eabb370242ac130002",
- "reference": "REFERENCE",
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}, - "payee": {
- "name": "Jane Doe",
- "address": {
- "country": "DE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE09876543210987654321"
}
]
}
}
}
Berlin Group EUR Single Domestic Payment Example Response
{- "meta": {
- "tracingId": "bcebc29b55434cc8b2aae80cb782edff"
}, - "data": {
- "id": "7c3f0355-f59b-4cc6-b13f-e1b5349b5caf",
- "userUuid": "95f71ebc-c8ae-4e25-aded-86e9bbd62966",
- "applicationUserId": "string",
- "institutionId": "postbank-sandbox",
- "state": "551440fc13794010855ad81c8463c926",
- "status": "AWAITING_SCA_METHOD",
- "createdAt": "2021-01-26T23:31:45.443Z",
- "featureScope": [
- "CREATE_DOMESTIC_SINGLE_PAYMENT",
- "EXISTING_PAYMENTS_DETAILS",
- "EXISTING_PAYMENT_INITIATION_DETAILS"
], - "scaMethods": [
- {
- "id": "258211#OPTICAL",
- "type": "CHIP_OTP",
- "description": "Testkarte Hr. Haubach_1, optisch"
}, - {
- "id": "258211#MANUEL",
- "type": "CHIP_OTP",
- "description": "Testkarte Hr. Haubach_1, manuell"
}, - {
- "id": "591655",
- "type": "SMS_OTP",
- "description": "RolandmTAN"
}, - {
- "id": "591656",
- "type": "PUSH_OTP",
- "description": "RSRolandIP2"
}
]
}
}
Used to pass the SCA Code received from the Institution
(and the SCA method selected by the user where multiple SCA methods are supported by the Institution
) in order to complete the embedded authorisation to initiate a payment.
See Embedded Payment Flows for more information about this flow.
Feature: INITIATE_EMBEDDED_DOMESTIC_SINGLE_PAYMENT
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid> |
applicationUserId | string Conditional. The user-friendly reference to the |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
required | object (PaymentRequest) Mandatory. The payment request object defining the details of the payment. |
object (UserCredentials) Conditional. Used to capture the user's credentials to allow them to login to an | |
object (ScaMethod) Conditional. Used to update the authorisation with the sca method of the user's choice for the | |
scaCode | string Conditional. Used to update the authorisation with the sca code received by the user from the |
Ok
Error Response
Berlin Group EUR Single Domestic Payment (SCA Code) Example Request
{- "applicationUserId": "string",
- "institutionId": "postbank-sandbox",
- "scaCode": "325614",
- "paymentRequest": {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "e4f913909a3d11eabb370242ac130002",
- "reference": "REFERENCE",
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}, - "payee": {
- "name": "Jane Doe",
- "address": {
- "country": "DE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE09876543210987654321"
}
]
}
}
}
Berlin Group EUR Single Domestic Payment (SCA Code) Example Response
{- "meta": {
- "tracingId": "94563449b4634d13b89b8f1c78c21882"
}, - "data": {
- "id": "1767d386-c20a-4136-a311-0a455dd41a78",
- "userUuid": "95f71ebc-c8ae-4e25-aded-86e9bbd62966",
- "applicationUserId": "string",
- "institutionId": "postbank-sandbox",
- "state": "048a1187a9324652bedb6a653211a8a3",
- "status": "AUTHORIZED",
- "createdAt": "2021-01-25T18:32:23.933Z",
- "featureScope": [
- "CREATE_DOMESTIC_SINGLE_PAYMENT",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "EXISTING_PAYMENTS_DETAILS"
], - "authorizedAt": "2021-01-25T18:33:18.248Z"
}
}
Used to initiate the authorisation process and direct users to the login screen of their financial Institution in order to give their consent for a payment. This endpoint is used to initiate all the different payment listed below. Based on the type of payment you wish to make, you may be required to provide specific properties in PaymentRequest. First make sure that the payment feature you wish to execute is supported by the bank by checking the features array in GET Institution.
See Redirect Payment Flows for more information about this flow.
Features:
INITIATE_DOMESTIC_PERIODIC_PAYMENT
INITIATE_DOMESTIC_SCHEDULED_PAYMENT
INITIATE_DOMESTIC_SINGLE_INSTANT_PAYMENT
INITIATE_DOMESTIC_SINGLE_PAYMENT
INITIATE_INTERNATIONAL_PERIODIC_PAYMENT
INITIATE_INTERNATIONAL_SCHEDULED_PAYMENT
INITIATE_INTERNATIONAL_SINGLE_PAYMENT
psu-id | string (User Id) Conditional. Represents the user's login ID for the |
psu-corporate-id | string (Corporate User Id) Conditional. Represents the user's login ID for the |
psu-ip-address | string (User IP Address) Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid> |
applicationUserId | string Conditional. The user-friendly reference to the |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The URL to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
required | object (PaymentRequest) Mandatory. The payment request object defining the details of the payment. |
Created
Error Response
EUR Single Domestic Example Request
{- "applicationUserId": "string",
- "institutionId": "bpm-sandbox",
- "paymentRequest": {
- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}, - "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "reference": "Bill Payment",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "address": {
- "country": "BE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "BE12345678901234"
}
]
}
}
}
EUR Single Domestic Example Response
{- "meta": {
- "tracingId": "a3d09f97bea244e2bb8be0bffbe53f81"
}, - "data": {
- "id": "cae22f3d-1033-4ba6-95ae-0d8ca193b090",
- "userUuid": "5350782b-60f3-489e-aae5-a24d8d679a07",
- "applicationUserId": "string",
- "institutionId": "bpm-sandbox",
- "status": "AWAITING_AUTHORIZATION",
- "createdAt": "2021-06-10T11:47:12.887Z",
- "featureScope": [
- "EXISTING_PAYMENTS_DETAILS",
- "CREATE_DOMESTIC_SINGLE_PAYMENT",
- "EXISTING_PAYMENT_INITIATION_DETAILS"
], - "state": "6a5f69be6a084b5c8c1becac88d45c95",
- "institutionConsentId": "79cee256-077f-4e11-a307-43892646a4a6",
}
}
Used to continue the authorisation process and for any Institution
that contains the INITIATE_PRE_AUTHORISATION
feature and direct user to the login screen of their financial institution in order to give consent to initiate a payment.
See Redirect Payment Flows for more information about this flow.
Feature: INITIATE_PRE_AUTHORISATION
psu-id | string (User Id) Conditional. Represents the user's login ID for the |
psu-corporate-id | string (Corporate User Id) Conditional. Represents the user's login ID for the |
psu-ip-address | string (User IP Address) Conditional. The IP address of the PSU. |
consent required | string Mandatory. The Example: {consentToken} |
userUuid | string <uuid> |
applicationUserId | string Conditional. The user-friendly reference to the |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The URL to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
required | object (PaymentRequest) Mandatory. The payment request object defining the details of the payment. |
Ok
Error Response
Berlin Group EUR Single Domestic Payment Example Request
{- "applicationUserId": "string",
- "institutionId": "n26",
- "paymentRequest": {
- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}, - "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "reference": "Bill Payment",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "address": {
- "country": "BE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "BE12345678901234"
}
]
}
}
}
Berlin Group EUR Single Domestic Payment Example Response
{- "meta": {
- "tracingId": "54ec0645a5b444c4a70c61357e9ad887"
}, - "data": {
- "id": "53ff00d0-91dd-417d-880b-cdd7c50090ed",
- "userUuid": "e2578545-27a4-4edf-983f-5d33c2d7b559",
- "applicationUserId": "string",
- "institutionId": "n26",
- "state": "4399535ee4de46238fce108a95669848",
- "status": "AWAITING_DECOUPLED_AUTHORIZATION",
- "createdAt": "2021-06-10T09:54:46.669Z",
- "featureScope": [
- "INITIATE_PRE_AUTHORISATION",
- "CREATE_DOMESTIC_SINGLE_PAYMENT",
- "EXISTING_PAYMENTS_DETAILS"
], - "authorizedAt": "2021-06-10T09:55:22.359Z",
- "institutionConsentId": "a9582f8e-08be-4cca-9f01-1ad3be96532d"
}
}
Used to initiate the pre-authorisation process for any Institution
that contains the INITIATE_PRE_AUTHORISATION
feature to authenticate the user.
Feature: INITIATE_PRE_AUTHORISATION
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid> |
applicationUserId | string Conditional. The user-friendly reference to the |
forwardParameters | Array of strings Extra parameters to be forwarded in the redirect back to the client after the user authorisation flow has been completed. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
scope required | string Mandatory. Defines the scope of the pre-authorisation request. |
Created
Error Response
Berlin Group (AIS) Example Request
{- "applicationUserId": "string",
- "institutionId": "n26",
- "scope": "AIS"
}
Berlin Group Example (AIS) Response
{- "meta": {
- "tracingId": "8acb66e6a9e142e79acc3ccf6cc03e04"
}, - "data": {
- "id": "73064bb9-c84d-4242-897c-4150aacfa658",
- "userUuid": "e2578545-27a4-4edf-983f-5d33c2d7b559",
- "applicationUserId": "string",
- "institutionId": "n26",
- "state": "1575102ed5664761bce34927f0caa50f",
- "status": "AWAITING_PRE_AUTHORIZATION",
- "createdAt": "2021-05-11T13:03:43.619Z",
- "featureScope": [
- "INITIATE_PRE_AUTHORISATION"
],
}
}
Used to initiate the pre-authorisation process for payments for CBI Globe institutions that contain the INITIATE_ONETIME_PRE_AUTHORISATION_PAYMENTS
feature to authenticate the user.
Feature: INITIATE_ONETIME_PRE_AUTHORISATION_PAYMENTS
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
userUuid | string <uuid> |
applicationUserId | string Conditional. The user-friendly reference to the |
forwardParameters | Array of strings Extra parameters to be forwarded in the redirect back to the client after the user authorisation flow has been completed. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
scope required | string Mandatory. Defines the scope of the pre-authorisation request. |
required | object (PayeeDetails) Mandatory. Details of the beneficiary [person or business]. |
required | object (PayerDetails) Conditional. Details of the benefactor [person or business]. |
required | object (Amount Details) Mandatory. Monetary Amount. |
reference required | string Mandatory. The payment reference or description. Limited to a maximum of 18 characters long. |
Created
Error Response
CBI Globe (PIS) example request
{- "applicationUserId": "string",
- "institutionId": "n26",
- "scope": "PIS",
- "reference": "Bill Payment",
- "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "payee": {
- "name": "Jane Doe",
- "country": "BE",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "BE12345678901234"
}
]
}, - "payer": {
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}
}
Berlin Group Example (PIS) Response
{- "meta": {
- "tracingId": "ba79c56773de42129dbf8164b202276c"
}, - "data": {
- "id": "53ff00d0-91dd-417d-880b-cdd7c50090ed",
- "userUuid": "e2578545-27a4-4edf-983f-5d33c2d7b559",
- "applicationUserId": "string",
- "institutionId": "n26",
- "state": "4399535ee4de46238fce108a95669848",
- "status": "AWAITING_PRE_AUTHORIZATION",
- "createdAt": "2021-06-10T09:54:46.669Z",
- "featureScope": [
- "INITIATE_ONETIME_PRE_AUTHORISATION_PAYMENTS"
],
}
}
In order to access a user's Financial Data, you are required to request an Authorisation from the user to share the account information the bank has. Once a consent-token
is obtained, you can call the necessary Financial Data endpoint(s) to retrieve the user's data.
Returns all accounts and balances for the end user associated with the presented consent token.
Feature: ACCOUNTS
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts?raw=true' \ -H 'consent: string' \ -H 'psu-corporate-id: string' \ -H 'psu-id: string' \ -H 'psu-ip-address: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
OBIE Example Response
{- "meta": {
- "tracingId": "1139346006be4345a94fd8b3728844e3",
- "count": 1
}, - "data": [
- {
- "id": "700004000000000000000002",
- "type": "Personal - Current",
- "balance": -12.57,
- "currency": "GBP",
- "usageType": "PERSONAL",
- "accountType": "CURRENT",
- "nickname": "xxxx0006",
- "accountNames": [
- {
- "name": "Mr. Roberto Rastapopoulos & Ivan Sakharine"
}
], - "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "700001"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "70000002"
}
], - "accountBalances": [
- {
- "type": "EXPECTED",
- "dateTime": "2021-06-09T08:51:02.463Z",
- "balanceAmount": {
- "amount": -12.57,
- "currency": "GBP"
}, - "creditLineIncluded": false,
- "creditLines": [ ]
}
]
}
]
}
Returns the account and balance information for a user's specified account.
Feature: ACCOUNT
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}?raw=true' \ -H 'consent: string' \ -H 'psu-corporate-id: string' \ -H 'psu-id: string' \ -H 'psu-ip-address: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
OBIE Example Response
{- "meta": {
- "tracingId": "01191f59dcd54be2854a7e686702dbd6"
}, - "data": {
- "id": "700004000000000000000002",
- "type": "Personal - Current",
- "balance": -12.57,
- "currency": "GBP",
- "usageType": "PERSONAL",
- "accountType": "CURRENT",
- "nickname": "xxxx0006",
- "accountNames": [
- {
- "name": "Mr. Roberto Rastapopoulos & Ivan Sakharine"
}
], - "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "700001"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "70000002"
}
], - "accountBalances": [
- {
- "type": "EXPECTED",
- "dateTime": "2021-06-09T08:51:02.463Z",
- "balanceAmount": {
- "amount": -12.57,
- "currency": "GBP"
}, - "creditLineIncluded": false,
- "creditLines": [ ]
}
]
}
}
Returns the balance for the end user associated with the presented consent token.
Feature: ACCOUNT_BALANCES
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/balances?raw=true' \ -H 'consent: string' \ -H 'psu-corporate-id: string' \ -H 'psu-id: string' \ -H 'psu-ip-address: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example response
{- "meta": {
- "tracingId": "82e86ae9547a4f04b3773c1207e4b84d"
}, - "data": {
- "mainBalanceAmount": {
- "amount": -3079208604.11,
- "currency": "EUR"
}, - "balances": [
- {
- "type": "INTERIM_AVAILABLE",
- "balanceAmount": {
- "amount": -3079208604.11,
- "currency": "EUR"
}
}, - {
- "type": "AUTHORISED",
- "balanceAmount": {
- "amount": -3079208604.11,
- "currency": "EUR"
}
}
]
}
}
Returns all the beneficiaries of a user's account.
Feature: ACCOUNT_BENEFICIARIES
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/beneficiaries?raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
OBIE Example Response
{- "data": [
- {
- "id": "112",
- "trusted": true,
- "reference": "Rent",
- "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "123456"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}
]
}
}
]
}
Returns the list of direct debits for an account.
Feature: ACCOUNT_DIRECT_DEBITS
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/direct-debits?limit=0&raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
OBIE Example Response
{- "meta": {
- "tracingId": "c2dec674a3fb402e8543129565491244",
- "count": 2,
- "pagination": {
- "totalCount": 2,
- "self": {
- "limit": 1000
}
}
}, - "data": [
- {
- "id": "700009000000000000000076",
- "statusDetails": {
- "status": "INACTIVE"
}, - "payeeDetails": {
- "name": "EDF ENERGY"
}, - "reference": "671018097704",
- "previousPaymentAmount": {
- "amount": 145,
- "currency": "GBP"
}, - "previousPaymentDateTime": "2016-10-05T00:00:00Z"
}, - {
- "id": "700009000000000000000038",
- "statusDetails": {
- "status": "ACTIVE"
}, - "payeeDetails": {
- "name": "SANTANDER MORTGAGE"
}, - "reference": "40118272",
- "previousPaymentAmount": {
- "amount": 1000,
- "currency": "GBP"
}, - "previousPaymentDateTime": "2017-12-01T00:00:00Z"
}
], - "links": {
}
}
Returns the list of periodic payments (standing orders in the UK) for an account.
Feature: ACCOUNT_PERIODIC_PAYMENTS
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/periodic-payments?limit=0&raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
OBIE Example Response
{- "meta": {
- "tracingId": "51d039be096f492ca5184d4ea72b4caf",
- "count": 1,
- "pagination": {
- "totalCount": 1,
- "self": {
- "limit": 1000
}
}
}, - "data": [
- {
- "id": "95d29cb3-5ef4-4c92-885f-8ba971adc5d1",
- "statusDetails": {
- "status": "UNKNOWN"
}, - "payeeDetails": {
- "name": "xxxxx129",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE16700222000072880129"
}
]
}, - "reference": "544878_60c0809a",
- "firstPaymentAmount": {
- "amount": 1259,
- "currency": "GBP"
}, - "firstPaymentDateTime": "2021-07-10T23:00:00Z",
- "nextPaymentAmount": {
- "amount": 1259,
- "currency": "GBP"
}, - "nextPaymentDateTime": "2021-07-10T23:00:00Z",
- "finalPaymentAmount": {
- "amount": 1259,
- "currency": "GBP"
}, - "finalPaymentDateTime": "2022-04-11T23:00:00Z",
- "frequency": {
- "frequencyType": "MONTHLY",
- "intervalMonth": 1,
- "executionDay": 11
}
}
],
}
Returns the list of scheduled payments for an account.
Feature: ACCOUNT_SCHEDULED_PAYMENTS
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/scheduled-payments?limit=0&raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
OBIE Example Response
{- "meta": {
- "tracingId": "0de4ed83caf542f6bcaa30c62275191c",
- "count": 1,
- "pagination": {
- "totalCount": 1,
- "self": {
- "limit": 1000
}
}
}, - "data": [
- {
- "id": "6f62b428-c3a0-42eb-a838-ae41e52916e9",
- "payeeDetails": {
- "name": "Mr. Roberto Rastapopoulos & Ivan Sakharine & mits",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "70000002"
}, - {
- "type": "SORT_CODE",
- "identification": "700001"
}
]
}, - "reference": "f62ee3bad94d432d9786ba038131b5d7",
- "amountDetails": {
- "amount": 1,
- "currency": "GBP"
}, - "scheduledPaymentType": "EXECUTION",
- "scheduledPaymentDateTime": "2021-12-01T00:00:00+01:00"
}
],
}
Returns the list of statements for an account.
Feature: ACCOUNT_STATEMENTS
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/statements?from=string&before=string&limit=0&sort=date&offset=0&raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{- "meta": {
- "tracingId": "fd5c215acd034401a8eaa8aeec1eafc7",
- "count": 1,
- "pagination": {
- "totalCount": 1,
- "self": {
- "limit": 1000,
- "sort": "-date",
- "offset": 0
}
}
}, - "data": [
- {
- "id": "700014000000000000000002",
- "startDateTime": "2017-08-01T00:00:00Z",
- "endDateTime": "2017-08-31T23:59:59Z",
- "creationDateTime": "2017-09-01T00:00:00Z"
}
],
}
Returns a statement for an account.
Feature: ACCOUNT_STATEMENT
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/statements/{statementId}?raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{- "meta": {
- "tracingId": "8bacaae3025647efa1891157993e32fb"
}, - "data": {
- "id": "700014000000000000000002",
- "startDateTime": "2017-08-01T00:00:00Z",
- "endDateTime": "2017-08-31T23:59:59Z",
- "creationDateTime": "2017-09-01T00:00:00Z"
}
}
Returns a PDF file of a statement for an account.
Feature: ACCOUNT_STATEMENT_FILE
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/statements/{statementId}/file?raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
Error Response
{- "error": {
- "code": 401,
- "status": "UNAUTHORIZED",
- "message": "Full authentication is required to access this resource"
}
}
Returns the account transactions for an account.
Feature: ACCOUNT_TRANSACTIONS
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/transactions?with=string&from=string&before=string&limit=0&sort=date&offset=0&cursor=string&raw=true' \ -H 'consent: string' \ -H 'psu-corporate-id: string' \ -H 'psu-id: string' \ -H 'psu-ip-address: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{- "meta": {
- "tracingId": "488ce8243ee74a378be722ffffec8f7f",
- "count": 1,
- "pagination": {
- "totalCount": 1,
- "self": {
- "limit": 1000,
- "sort": "-date",
- "offset": 0
}
}
}, - "data": [
- {
- "id": "49d6e5c6-0130-46e3-884b-1b185432d9e0",
- "date": "2021-05-06T17:44:34.589Z",
- "bookingDateTime": "2021-05-06T17:44:34.589Z",
- "valueDateTime": "2021-05-06T17:44:34.589Z",
- "status": "BOOKED",
- "amount": -100.23,
- "currency": "GBP",
- "transactionAmount": {
- "amount": -100.23,
- "currency": "GBP"
}, - "reference": "0",
- "description": "Debit for Payment Id: sdp-1-57379a43-c4b8-49f5-bd7c-699189ee7a60",
- "transactionInformation": [
- "Debit for Payment Id: sdp-1-57379a43-c4b8-49f5-bd7c-699189ee7a60"
], - "isoBankTransactionCode": {
- "domainCode": {
- "code": "PMNT",
- "name": "Payments"
}, - "familyCode": {
- "code": "ICDT",
- "name": "Issued Credit Transfers"
}, - "subFamilyCode": {
- "code": "DMCT",
- "name": "Domestic Credit Transfer"
}
}, - "proprietaryBankTransactionCode": {
- "code": "PMT",
- "issuer": "modelo-sandbox"
}, - "balance": {
- "type": "CLOSING_AVAILABLE",
- "balanceAmount": {
- "amount": 426.53,
- "currency": "GBP"
}
}, - "enrichment": {
- "transactionHash": {
- "hash": "adad72d7b3069ab9e4a6cb2844e2e3e9.1"
}
}
}
],
}
Used to retrieve the list of categories returned by the Yapily Categorisation engine for a given locale.
See Data Enrichment for more information.
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/categories/{country}'
Example Response
{- "meta": {
- "tracingId": "a5b0fc4b8b8a4b7085f4412b2b64e969",
- "count": 21
}, - "data": [
- {
- "id": "06d10bcd-dbcc-4a61-b5a1-c119adc16adf",
- "label": "INCOME",
- "country": "GB",
- "subcategories": [ ]
}, - {
- "id": "1051a1ff-5552-4b53-ba43-eeeac96d710f",
- "label": "INCOME_OTHER",
- "country": "GB",
- "subcategories": [ ]
}, - {
- "id": "2f527678-a698-4c00-9880-3063b39f71df",
- "label": "INCOME_REFUNDS",
- "country": "GB",
- "subcategories": [ ]
}, - {
- "id": "3954ed5c-1663-4356-869e-241f305c8b4b",
- "label": "BILLS",
- "country": "GB",
- "subcategories": [
- {
- "id": "03e037d4-c950-4540-a298-36cce7eb9ce9",
- "label": "INTERNET / TV"
}, - {
- "id": "05ed46b2-dfa4-4cde-8900-692a899e1290",
- "label": "MOBILE PHONE"
}, - {
- "id": "06df5c74-3783-48d4-9825-f508a237d60f",
- "label": "SUBSCRIPTION"
}, - {
- "id": "11e189ab-3794-478b-8a30-1c1c7aae7af1",
- "label": "TV LICENCE"
}, - {
- "id": "1238e562-2a7b-4ef1-8e41-037491cefd53",
- "label": "UTILITY BILL"
}, - {
- "id": "129c7a08-2125-4b0f-87bb-253fca906eb7",
- "label": "OTHER"
}
]
}, - {
- "id": "5de14494-fec8-44c2-af9c-91656d2e8d1b",
- "label": "CHARITY AND GIFTS",
- "country": "GB",
- "subcategories": [
- {
- "id": "1655bc45-de79-4fd2-9b45-8bd9271a2520",
- "label": "DONATIONS"
}, - {
- "id": "1b9e1a46-5229-4488-a68c-19d7cb450c79",
- "label": "GIFTS"
}, - {
- "id": "1d09a62b-1f9c-418d-9f37-9ee5003d5abc",
- "label": "OTHER"
}
]
}, - {
- "id": "6edef913-2c1e-4935-9f23-4a71fe92124c",
- "label": "EATING OUT",
- "country": "GB",
- "subcategories": [
- {
- "id": "1e13a0f5-6892-4436-ba71-f11cd1a0b8fe",
- "label": "COFFEE"
}, - {
- "id": "1eb03b3e-e9ab-4d54-ae9a-e63778390794",
- "label": "DRINKS"
}, - {
- "id": "253e0e15-f260-44ee-a1cf-ac42afbc8a48",
- "label": "FAST FOOD"
}, - {
- "id": "25a39d3e-d2c5-47e5-9874-57d9d4edfaaa",
- "label": "RESTAURANT"
}, - {
- "id": "26594166-4e32-4a9b-8cbf-ea7ab86c19e6",
- "label": "TAKEAWAY / DELIVERY"
}, - {
- "id": "36949186-bb90-427a-840b-8d9c9ff5ca35",
- "label": "OTHER"
}
]
}, - {
- "id": "705dddcc-03f8-4a27-ac8b-a2256f950239",
- "label": "ENTERTAINMENT",
- "country": "GB",
- "subcategories": [
- {
- "id": "380694b8-efc4-4443-9c49-df81229f3d69",
- "label": "ART / MUSEUM"
}, - {
- "id": "380c0b10-1afd-4f4f-8fd5-7cac3392fb9a",
- "label": "CINEMA"
}, - {
- "id": "397b698d-4f46-4356-a283-2af934bf51a3",
- "label": "LIVE MUSIC"
}, - {
- "id": "39aed540-1702-4e50-9109-5808e5636146",
- "label": "LIVE SPORT"
}, - {
- "id": "44a99d0c-2718-4c95-8c2c-13c9802e2d20",
- "label": "THEATRE"
}, - {
- "id": "4a419ef8-f953-4866-881e-0ad61adf110c",
- "label": "NIGHTCLUB"
}, - {
- "id": "4c483465-980d-4274-81d5-32e2d61e8aed",
- "label": "ONLINE GAMBLING"
}, - {
- "id": "50bbec77-b23d-4ce2-bedb-a0e1ca2e34f4",
- "label": "LOTTERY"
}, - {
- "id": "5a3d65f9-a8ae-4eb8-bae0-973c7c4de372",
- "label": "BETTING SHOP"
}, - {
- "id": "5b8493cb-09f6-457a-a642-9a309ee1d424",
- "label": "OTHER"
}
]
}, - {
- "id": "75cdc4b8-dc29-409f-8f9b-a99341ea2e39",
- "label": "INVESTMENT AND SAVINGS",
- "country": "GB",
- "subcategories": [
- {
- "id": "5c8c11a1-ad38-4101-898e-9ceb1ee90d48",
- "label": "CREDIT CARD PAYMENT"
}, - {
- "id": "5f93b21e-7e63-4652-91a9-610026252b29",
- "label": "INVESTMENTS"
}, - {
- "id": "5fb0ba5d-71eb-42db-bd51-63637ef356df",
- "label": "SAVINGS"
}, - {
- "id": "5fe79b4e-8ab3-4cb4-b51e-bc5eb3263a0c",
- "label": "PENSION"
}, - {
- "id": "61eaee8c-eea4-4d9f-93f1-74f22f38b6ea",
- "label": "OTHER"
}
]
}, - {
- "id": "7bc5d291-8af1-4ad0-bf29-302f4e1c6995",
- "label": "GENERAL",
- "country": "GB",
- "subcategories": [
- {
- "id": "656abd3b-8a71-455f-ab28-6f4e3262da2c",
- "label": "OTHER"
}
]
}, - {
- "id": "84c9be40-4114-43ce-9e06-5f93c2719693",
- "label": "GROCERIES",
- "country": "GB",
- "subcategories": [
- {
- "id": "69f5d7b7-f1e6-498a-9318-23ba5916c7ef",
- "label": "SUPERMARKET"
}, - {
- "id": "6d4395bb-466c-419a-80b5-7428cec4f88f",
- "label": "ONLINE GROCERIES"
}, - {
- "id": "74a0185b-632d-4edd-832f-d32582b15e8d",
- "label": "OTHER"
}
]
}, - {
- "id": "8abdddb5-92c4-42e1-b380-12537f84b40e",
- "label": "PERSONAL CARE",
- "country": "GB",
- "subcategories": [
- {
- "id": "7702e7ec-32b9-4ce6-879e-20ac84e52293",
- "label": "BEAUTY PRODUCTS"
}, - {
- "id": "7affed3f-f9d0-4946-b2c0-70c79b0334ac",
- "label": "DOCTOR"
}, - {
- "id": "7f84092a-c67d-4cb3-99af-c7a4be5109db",
- "label": "GYM / EXERCISE"
}, - {
- "id": "7fcaceb6-9c4e-4395-b216-5ae41b3991d2",
- "label": "HAIRDRESSER"
}, - {
- "id": "83f7fb77-8b56-4f47-b531-6d06e245597d",
- "label": "PHARMACY"
}, - {
- "id": "8546fdde-8b73-4a58-9aa0-4781e4ca6340",
- "label": "SPA / BEAUTY TREATMENT"
}, - {
- "id": "85936cb0-aa0c-4c93-b0bc-cbf1672bd675",
- "label": "OTHER"
}
]
}, - {
- "id": "8b37bbd3-76e9-4937-a7fc-e9cf7d8232a3",
- "label": "HOME",
- "country": "GB",
- "subcategories": [
- {
- "id": "899cbae5-c556-4e2d-8cdd-9fef7fd4d820",
- "label": "RENT"
}, - {
- "id": "8af1b65f-62f2-4b56-a348-97e7390d2f62",
- "label": "MORTGAGE"
}, - {
- "id": "8cf40b23-e7a4-4ae3-88f0-4ab3b35a679b",
- "label": "SERVICE CHARGE"
}, - {
- "id": "8dfb3077-3e29-4a3b-b41c-964bf368071b",
- "label": "GARDEN"
}, - {
- "id": "922cd0ca-bd5f-44ab-aa40-6536f9d2abe5",
- "label": "COUNCIL TAX"
}, - {
- "id": "9d3ca620-4ae3-4296-8864-c0962b2f4539",
- "label": "HOME IMPROVEMENT"
}, - {
- "id": "a1bfe200-c1d7-4c0c-9d60-d0b83cd71f74",
- "label": "OTHER"
}
]
}, - {
- "id": "92aef8f2-18f8-464f-8915-e44dc5b97731",
- "label": "INSURANCE",
- "country": "GB",
- "subcategories": [
- {
- "id": "a72f6cbf-d894-4bfa-ac87-39f85012a7f8",
- "label": "HOME INSURANCE"
}, - {
- "id": "a7bc0f36-ee80-496c-a1c1-ac49c51c6d07",
- "label": "MOTOR INSURANCE"
}, - {
- "id": "a8a505af-7e73-4d6f-a146-51d2eb5d4db8",
- "label": "TRAVEL INSURANCE"
}, - {
- "id": "a9e1b431-6d75-41ac-9a23-44fb25e64b1a",
- "label": "HEALTH INSURANCE"
}, - {
- "id": "aa420049-2d7a-4f11-94d5-c76e45329a47",
- "label": "LIFE INSURANCE"
}, - {
- "id": "ab441944-859a-44db-93fc-0800266dd4f6",
- "label": "PET INSURANCE"
}, - {
- "id": "ab95ea13-8d0c-497d-8d8b-e06cde0eaf97",
- "label": "PHONE / GADGET INSURANCE"
}, - {
- "id": "aba53905-b630-4cf3-b1f8-698d124197a6",
- "label": "OTHER"
}
]
}, - {
- "id": "b0b56616-8cf6-4653-8512-d5eefe8400fe",
- "label": "OTHER",
- "country": "GB",
- "subcategories": [
- {
- "id": "ad5e46b2-f9ad-4ef2-96d7-a2817073beec",
- "label": "EDUCATION"
}, - {
- "id": "b18ec1a3-171c-405a-bd4f-c9fddcd6c594",
- "label": "ATM WITHDRAWAL"
}, - {
- "id": "b1d4abd8-1c2f-412a-9916-4167cc7d58d8",
- "label": "CREDIT CARD PAYMENT"
}, - {
- "id": "b4cd0587-1d2f-4378-a31c-8ddc0ce0dc03",
- "label": "TRANSFER"
}, - {
- "id": "b667ea18-8679-4608-91b6-cbd4488d3802",
- "label": "CARD TOPUP"
}, - {
- "id": "b6c611d7-d8cc-4d16-8e42-16cfa6dfd56e",
- "label": "OTHER"
}
]
}, - {
- "id": "b1f468dd-8f0c-4bbb-a720-f6c117187b15",
- "label": "SHOPPING",
- "country": "GB",
- "subcategories": [
- {
- "id": "b7181636-097c-4362-9f71-9da1559685f2",
- "label": "BOOKS"
}, - {
- "id": "becc8b91-f594-490b-aecf-50e12fb6ca84",
- "label": "CLOTHING"
}, - {
- "id": "bf41624e-5790-43d9-966d-25878cd79881",
- "label": "ELECTRONICS"
}, - {
- "id": "c8bab464-ade8-4ec2-9d83-d42a2aa7d088",
- "label": "GAMES"
}, - {
- "id": "c99e826c-302c-4abf-85b5-557d65184f63",
- "label": "HOBBIES"
}, - {
- "id": "cb09c4e8-00d2-41d7-a581-f73d0e3b0cb2",
- "label": "MUSIC"
}, - {
- "id": "cbe0734a-c10b-4901-bf7c-be4df9b1ed42",
- "label": "PETS"
}, - {
- "id": "d13b7872-0418-426c-9054-315a41ddcd21",
- "label": "SOFTWARE"
}, - {
- "id": "d17705fc-1a34-42a2-bc77-0511635f0d21",
- "label": "SPORTING ITEMS"
}, - {
- "id": "d2668855-296d-450f-b309-3f28c4f3fa5f",
- "label": "HOUSE ITEMS"
}, - {
- "id": "d4cf6c32-d94f-4488-9e74-46734cb34cc2",
- "label": "FILM / DVD"
}, - {
- "id": "d837fb3f-f614-410b-b9d9-3e89e92e683a",
- "label": "STATIONARY"
}, - {
- "id": "d8d74d91-7810-4995-8337-72c39dff05a2",
- "label": "OTHER"
}
]
}, - {
- "id": "b831661f-c8af-4eec-91d8-b09b53616394",
- "label": "TRANSPORT",
- "country": "GB",
- "subcategories": [
- {
- "id": "d9da6e16-7a9f-41ee-b727-a7d39f0e4c2c",
- "label": "PUBLIC TRANSPORT"
}, - {
- "id": "d9e7f133-d0d7-471a-be28-da3f61d453c2",
- "label": "PETROL / FUEL"
}, - {
- "id": "dbb9104d-e0e4-4e25-838a-083dc751c665",
- "label": "PARKING"
}, - {
- "id": "dcab2001-efc7-42be-a381-c7169ff806e6",
- "label": "TAXI"
}, - {
- "id": "dee109d5-0347-404e-81f2-cc736949e62d",
- "label": "OTHER"
}
]
}, - {
- "id": "baf7ee41-0a29-49f7-b5fd-af602935c2fe",
- "label": "TRAVEL AND HOLIDAY",
- "country": "GB",
- "subcategories": [
- {
- "id": "e1cc65b3-30ba-47fc-90aa-c7a1fb93ebdf",
- "label": "AIR TRAVEL"
}, - {
- "id": "e44e3d55-a843-4660-940b-b2756198992e",
- "label": "CAR RENTAL"
}, - {
- "id": "e76ee6e8-1cef-4986-b229-ef96af9f473d",
- "label": "HOTELS"
}, - {
- "id": "ed57cd0b-2abc-4af9-b478-75bbee149a5a",
- "label": "OTHER"
}
]
}, - {
- "id": "bc4de368-67f2-4bd6-ae09-ebfa1164e259",
- "label": "FEES AND CHARGES",
- "country": "GB",
- "subcategories": [
- {
- "id": "ed8d73e4-79ea-42a0-aab3-0c2d40594ba8",
- "label": "LATE FEE"
}, - {
- "id": "ee16362b-f67c-4f1a-8e6a-f2ed6f325df3",
- "label": "ATM FEE"
}, - {
- "id": "ef9652f1-67cf-40eb-8ef5-ecb96419c60c",
- "label": "SERVICE FEE"
}, - {
- "id": "f0d996d4-be7e-48f3-bb3b-48d10c287b75",
- "label": "OVERDRAFT CHARGE"
}, - {
- "id": "f16c80bb-4e77-43de-bb8e-3391d8c8d2f0",
- "label": "FOREIGN CURRENCY CHARGE"
}, - {
- "id": "f2a19ee6-d181-4454-98e4-1f8c5d83be82",
- "label": "OTHER"
}
]
}, - {
- "id": "c17a6985-a47c-463c-bbd0-934a156224e3",
- "label": "FINANCES",
- "country": "GB",
- "subcategories": [ ]
}, - {
- "id": "cdc636d5-2dc7-444a-a53c-edd81f449cdc",
- "label": "TRANSFERS",
- "country": "GB",
- "subcategories": [ ]
}, - {
- "id": "2a497caa-eea6-4e99-b460-57a26fffd0d7",
- "label": "UNKNOWN",
- "country": "GB",
- "subcategories": [ ]
}
]
}
Returns the identity information for an account.
Feature: IDENTITY
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/identity?raw=true' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{- "meta": {
- "tracingId": "e4de605bd760459aa7f82aa81856ec1e"
}, - "data": {
- "id": "700001000000000000000002",
- "fullName": "Mitsuhirato",
- "email": "mits@suntori.com",
- "phone": "+22-8937484901",
- "addresses": [
- {
- "addressLines": [ ],
- "city": "Hichikanzo",
- "postalCode": "JP102",
- "country": "TA"
}, - {
- "addressLines": [ ],
- "city": "St Albans",
- "postalCode": "AL1 3SF",
- "country": "GB"
}
]
}
}
Used to get the account transactions for an account in real time with cursor pagination
Feature: ACCOUNT_TRANSACTIONS
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Ok
Error Response
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/real-time/transactions?from=string&before=string&cursor=string&raw=true' \ -H 'consent: string' \ -H 'psu-corporate-id: string' \ -H 'psu-id: string' \ -H 'psu-ip-address: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
Example Response
{- "meta": {
- "tracingId": "488ce8243ee74a378be722ffffec8f7f",
- "count": 1
}, - "data": [
- {
- "id": "49d6e5c6-0130-46e3-884b-1b185432d9e0",
- "date": "2021-05-06T17:44:34.589Z",
- "bookingDateTime": "2021-05-06T17:44:34.589Z",
- "valueDateTime": "2021-05-06T17:44:34.589Z",
- "status": "BOOKED",
- "transactionAmount": {
- "amount": -100.23,
- "currency": "GBP"
}, - "reference": "0",
- "description": "Debit for Payment Id: sdp-1-57379a43-c4b8-49f5-bd7c-699189ee7a60",
- "transactionInformation": [
- "Debit for Payment Id: sdp-1-57379a43-c4b8-49f5-bd7c-699189ee7a60"
], - "isoBankTransactionCode": {
- "domainCode": {
- "code": "PMNT",
- "name": "Payments"
}, - "familyCode": {
- "code": "ICDT",
- "name": "Issued Credit Transfers"
}, - "subFamilyCode": {
- "code": "DMCT",
- "name": "Domestic Credit Transfer"
}
}, - "proprietaryBankTransactionCode": {
- "code": "PMT",
- "issuer": "modelo-sandbox"
}, - "balance": {
- "type": "CLOSING_AVAILABLE",
- "balanceAmount": {
- "amount": 426.53,
- "currency": "GBP"
}
}
}
], - "links": {
}
}
In order to make a Payment on behalf of a user, you are required to request an Authorisation from the user to authorise the user's account to make the payment from. Once a consent-token
is obtained, you can call the necessary Payments endpoint(s) to execute a payment.
Creates a bulk payment after obtaining the user's authorisation.
Feature: CREATE_BULK_PAYMENT
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
Created
Error Response
UK Bulk Payment Example Request
{- "idempotencyId": "1cc3e60d-5500-42be-aaeb-3c5e2f5ed048",
- "payments": [
- {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "d78fy48uh8f9odhde68dfi38di9",
- "reference": "payment1",
- "contextType": "BILL_IN_ARREARS",
- "purposeCode": "COMT",
- "amount": {
- "amount": 2,
- "currency": "GBP"
}, - "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
], - "accountType": "BUSINESS_SAVING"
}
}, - {
- "type": "DOMESTIC_PAYMENT",
- "paymentIdempotencyId": "4279gdy8t63dg73gd8gx87738dg",
- "reference": "payment2",
- "amount": {
- "amount": 5,
- "currency": "GBP"
}, - "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}
}
]
}
UK Bulk Payment Example Response
{- "meta": {
- "tracingId": "0cda48c70f3941148bbee775a65fa3d0"
}, - "data": {
- "id": "pv3-a1e2ecb0-270c-42e2-8ba5-005261b629d2",
- "institutionConsentId": "sdp-6-b06f9a82-c641-4aba-b76d-43e6bc052f75",
- "status": "COMPLETED",
- "statusDetails": {
- "status": "COMPLETED",
- "statusUpdateDate": "2021-06-09T13:53:28.67Z"
}, - "createdAt": "2021-06-09T13:53:28.67Z",
- "bulkAmountSum": 7
}
}
Returns the bulk file status of the bulk payment for given bulkPaymentId
OK
Required parameter missing or invalid
Authentication Error
Bulk payment not found for provided id
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/bulk-payments/{bulkPaymentId}' \ -H 'consent: string'
{- "meta": {
- "tracingId": "27b47dca-fb0f-4448-b470-1cd2d5516d0f"
}, - "data": {
- "id": "76ad88c7-6e99-4a16-a277-e428a73d1e86",
- "consentId": "5daeb980-5ff5-49db-b7a0-e93dd9c93533",
- "statusDetails": {
- "status": "COMPLETED",
- "updatedAt": "2024-07-25T18:14:52.672Z"
}, - "createdAt": "2024-07-25T18:14:52.672Z"
}
}
Creates a payment after obtaining the user's authorisation.
Features:
CREATE_DOMESTIC_PERIODIC_PAYMENT
CREATE_DOMESTIC_SCHEDULED_PAYMENT
CREATE_DOMESTIC_SINGLE_INSTANT_PAYMENT
CREATE_DOMESTIC_SINGLE_PAYMENT
CREATE_INTERNATIONAL_PERIODIC_PAYMENT
CREATE_INTERNATIONAL_SCHEDULED_PAYMENT
CREATE_INTERNATIONAL_SINGLE_PAYMENT
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string (User Id) Conditional. Represents the user's login ID for the |
psu-corporate-id | string (Corporate User Id) Conditional. Represents the user's login ID for the |
psu-ip-address | string (User IP Address) Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
paymentIdempotencyId required | string (Idempotency Id) Mandatory. A unique identifier that you must provide to identify the payment. This can be any alpha-numeric string but is limited to a maximum of 35 characters. |
object (Payer Details) Conditional. Details of the benefactor [person or business]. | |
reference | string (Payment Reference) Optional. The payment reference or description. Limited to a maximum of 18 characters long. |
contextType | string (Payment Code) Default: "OTHER" Optional. The payment context code. This defaults to |
purposeCode | string (Payment Purpose Code) Optional. The payment purpose code. |
type required | string (Payment Type) Mandatory. Used to specify which of the payment types to execute. |
required | object (Payee Details) Mandatory. Details of the beneficiary [person or business]. |
object (PeriodicPaymentRequest) Conditional. Used to specify properties to define a periodic payment.
| |
object (InternationalPaymentRequest) Conditional. Used to specify properties to define an international payment.
| |
required | object (Amount Details) Mandatory. Monetary Amount. |
paymentDateTime | string <date-time> (Payment Date) Conditional. Used to specify the date of the payment when the payment type is one of the following:
|
readRefundAccount | boolean (Read Refund Account) Optional. Used to request the payer details in the payment response when the |
Created
Error Response
EUR Domestic Single Payment Example Request
{- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}, - "amount": {
- "amount": 1,
- "currency": "EUR"
}, - "reference": "Bill Payment",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "address": {
- "country": "BE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "BE12345678901234"
}
]
}
}
EUR Domestic Single Payment Example Response
{- "meta": {
- "tracingId": "0f14e900011b445fa6b6c2c4272d7321"
}, - "data": {
- "id": "a9582f8e-08be-4cca-9f01-1ad3be96532d",
- "status": "COMPLETED",
- "statusDetails": {
- "status": "COMPLETED",
- "isoStatus": {
- "code": "ACCP",
- "name": "AcceptedCustomerProfile"
}
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "DE12345678901234567890"
}
]
}, - "payeeDetails": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "BE12345678901234"
}
]
}, - "reference": "Bill Payment",
- "amount": 1,
- "currency": "EUR",
- "amountDetails": {
- "amount": 1,
- "currency": "EUR"
}
}
}
Returns the details of a payment.
Most commonly used to check for payment status updates.
Feature: EXISTING_PAYMENTS_DETAILS
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string (User Id) Conditional. Represents the user's login ID for the |
psu-corporate-id | string (Corporate User Id) Conditional. Represents the user's login ID for the |
psu-ip-address | string (User IP Address) Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Ok
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/payments/{paymentId}/details?raw=true' \ -H 'consent: string' \ -H 'psu-corporate-id: string' \ -H 'psu-id: string' \ -H 'psu-ip-address: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
EUR Single Domestic Payment Example Response
{- "meta": {
- "tracingId": "590c99aecd2844c7a5c3ea00c55ce0ef"
}, - "data": {
- "payments": [
- {
- "id": "pv3-a6ac6528-e8c8-44eb-b6f9-8521963518dd",
- "institutionConsentId": "sdp-1-27a192bb-482f-4731-989b-e7271661248d",
- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "paymentLifecycleId": "3gaq9wj387aojd83dh7549824",
- "status": "COMPLETED",
- "statusDetails": {
- "status": "COMPLETED",
- "statusUpdateDate": "2021-06-10T11:26:54.887Z",
- "isoStatus": {
- "code": "ACSC",
- "name": "AcceptedSettlementCompleted"
}
}, - "payeeDetails": {
- "name": "Jane Doe",
- "address": {
- "country": "BE"
}, - "accountIdentifications": [
- {
- "type": "IBAN",
- "identification": "BE12345678901234"
}
]
}, - "reference": "Bill Payment",
- "amount": 1,
- "currency": "EUR",
- "amountDetails": {
- "amount": 1,
- "currency": "EUR"
}, - "scheduledPaymentType": "DOMESTIC_PAYMENT",
- "createdAt": "2021-06-10T11:26:54.887Z"
}
]
}
}
The Financial Profile endpoints assist in collating authorised consents for a user which can subsequently be used to classify user income streams across multiple accounts. For each income stream, the financial profile determines the frequency and score that describes how well the income stream fits to that schedule.
Used to add a consent to a Financial Profile
for a User
. The response is asynchronous, returned with pending status, while retrieval of financial data is commenced. There is a limit of 10,000 transactions for enrichment.
A successful response, returning a ApiResponseOfFinancialProfileAuthorisationResponse.
Bad Request. Returned if the userUuid is not a valid UUID.
Either authentication credentials were not supplied, or they were invalid.
Not Found. Returned if the userUuid is not found for the Application
.
curl -i -X POST \ -u <username>:<password> \ 'https://api.yapily.com/users/{userUuid}/profile/consents' \ -H 'consent: string'
{- "meta": {
- "tracingId": "string"
}, - "data": [
- {
- "id": "eb2ad083-a111-4143-8756-a3a3cef4031c",
- "status": "PENDING",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "referenceConsentId": "1e2e5167-8519-4c19-b016-8f2f0c6e38b6",
- "institutionId": "mock-sandbox",
- "createdAt": "28-07-2022 21:00:00",
- "expiresAt": "28-07-2022 21:05:00",
- "dataInsertedAt": "28-07-2022 21:00:30"
}
], - "links": {
- "property1": "string",
- "property2": "string"
}
}
Used to retrieve a specific ProfileConsent for a User.
A successful response, returning a ApiResponseOfFinancialProfileConsent.
Bad Request. Returned if the userUuid is not a valid UUID.
Either authentication credentials were not supplied, or they were invalid.
Not Found. Returned if the userUuid or ProfileConsent is not found for the Application
.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/users/{userUuid}/profile/consents/{profileConsentId}'
{- "meta": {
- "tracingId": "string"
}, - "data": {
- "id": "eb2ad083-a111-4143-8756-a3a3cef4031c",
- "status": "PENDING",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "referenceConsentId": "1e2e5167-8519-4c19-b016-8f2f0c6e38b6",
- "institutionId": "mock-sandbox",
- "createdAt": "28-07-2022 21:00:00",
- "expiresAt": "28-07-2022 21:05:00",
- "dataInsertedAt": "28-07-2022 21:00:30"
}, - "links": {
- "property1": "string",
- "property2": "string"
}
}
Used to delete a ProfileConsent
for a User
. This will remove the consent and all associated financial data from the 'Financial Profile'.
The ProfileConsent was deleted.
Bad Request. Returned if the userUuid is not a valid UUID.
Either authentication credentials were not supplied, or they were invalid.
Not Found. Returned if the userUuid or ProfileConsent is not found for the Application
.
curl -i -X DELETE \ -u <username>:<password> \ 'https://api.yapily.com/users/{userUuid}/profile/consents/{profileConsentId}'
{- "meta": {
- "tracingId": "string"
}, - "links": {
- "property1": "string",
- "property2": "string"
}
}
Used to retrieve a TransactionGroups
for a User
. Status will be PENDING
until all ProfileConsents are COMPLETED
.
A successful response, returning a ApiResponseOfFinancialProfile.
Bad Request. Returned if the userUuid is not a valid UUID.
Either authentication credentials were not supplied, or they were invalid.
Not Found. Returned if the userUuid is not found for the Application
.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/users/{userUuid}/profile/transaction-groups'
{- "meta": {
- "tracingId": "string"
}, - "data": {
- "status": "COMPLETED",
- "profileConsents": [
- {
- "id": "eb2ad083-a111-4143-8756-a3a3cef4031c",
- "status": "PENDING",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "referenceConsentId": "1e2e5167-8519-4c19-b016-8f2f0c6e38b6",
- "institutionId": "mock-sandbox",
- "createdAt": "28-07-2022 21:00:00",
- "expiresAt": "28-07-2022 21:05:00",
- "dataInsertedAt": "28-07-2022 21:00:30"
}
], - "enrichment": {
- "incomeStreams": [
- {
- "name": "Amazon Marketplace",
- "transactions": [
- {
- "transactionId": "c51e3bee-36fb-4c0a-8441-d6ba2056fe87",
- "transactionInformation": "Amazon Marketplace",
- "amount": 21.99,
- "institution": "starling",
- "bookingDateTime": "2020-04-24T00:30:19.951Z"
}
], - "transactionSchedule": {
- "frequency": "Daily",
- "detailedFrequency": "Daily",
- "detailedFrequencyParameter": 1
}, - "scheduleConsistencyScore": 0.44,
- "nextExpectedTransactionDate": "2019-10-04",
- "earliestTransactionDate": "2020-04-24",
- "mostRecentTransactionDate": "2019-10-03",
- "amountConsistencyScore": 0.74,
- "averageAmount": 19.708
}
], - "expenditureStreams": [
- {
- "name": "Amazon Marketplace",
- "transactions": [
- {
- "transactionId": "c51e3bee-36fb-4c0a-8441-d6ba2056fe87",
- "transactionInformation": "Amazon Marketplace",
- "amount": 21.99,
- "institution": "starling",
- "bookingDateTime": "2020-04-24T00:30:19.951Z"
}
], - "transactionSchedule": {
- "frequency": "Daily",
- "detailedFrequency": "Daily",
- "detailedFrequencyParameter": 1
}, - "scheduleConsistencyScore": 0.44,
- "nextExpectedTransactionDate": "2019-10-04",
- "earliestTransactionDate": "2020-04-24",
- "mostRecentTransactionDate": "2019-10-03",
- "amountConsistencyScore": 0.74,
- "averageAmount": 19.708
}
], - "recentlyTerminatedIncomeStreams": [
- {
- "name": "Amazon Marketplace",
- "transactions": [
- {
- "transactionId": "c51e3bee-36fb-4c0a-8441-d6ba2056fe87",
- "transactionInformation": "Amazon Marketplace",
- "amount": 21.99,
- "institution": "starling",
- "bookingDateTime": "2020-04-24T00:30:19.951Z"
}
], - "transactionSchedule": {
- "frequency": "Daily",
- "detailedFrequency": "Daily",
- "detailedFrequencyParameter": 1
}, - "scheduleConsistencyScore": 0.44,
- "nextExpectedTransactionDate": "2019-10-04",
- "earliestTransactionDate": "2020-04-24",
- "mostRecentTransactionDate": "2019-10-03",
- "amountConsistencyScore": 0.74,
- "averageAmount": 19.708,
- "missedTransactions": 3
}
], - "recentlyTerminatedExpenditureStreams": [
- {
- "name": "Amazon Marketplace",
- "transactions": [
- {
- "transactionId": "c51e3bee-36fb-4c0a-8441-d6ba2056fe87",
- "transactionInformation": "Amazon Marketplace",
- "amount": 21.99,
- "institution": "starling",
- "bookingDateTime": "2020-04-24T00:30:19.951Z"
}
], - "transactionSchedule": {
- "frequency": "Daily",
- "detailedFrequency": "Daily",
- "detailedFrequencyParameter": 1
}, - "scheduleConsistencyScore": 0.44,
- "nextExpectedTransactionDate": "2019-10-04",
- "earliestTransactionDate": "2020-04-24",
- "mostRecentTransactionDate": "2019-10-03",
- "amountConsistencyScore": 0.74,
- "averageAmount": 19.708,
- "missedTransactions": 3
}
]
}
}, - "links": {
- "property1": "string",
- "property2": "string"
}
}
Used to retrieve a Balance Prediction Profile
for a User
. Status will be PENDING
until all ProfileConsents are COMPLETED
.
A successful response, returning a Balance Prediction Profile.
Bad Request. Returned if the userUuid is not a valid UUID.
Either authentication credentials were not supplied, or they were invalid.
Not Found. Returned if the userUuid is not found for the Application
, or data not found for the userUuid.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/users/{userUuid}/profile/predicted-balances'
Balance Prediction Example Response
{- "status": "COMPLETED",
- "profileConsents": [
- {
- "id": "eb2ad083-a111-4143-8756-a3a3cef4031c",
- "status": "COMPLETED",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "referenceConsentId": "1e2e5167-8519-4c19-b016-8f2f0c6e38b6",
- "institutionId": "mock-sandbox"
}
], - "enrichedBalances": [
- {
- "accountIds": [
- "abc123",
- "xyz456"
], - "institutions": [
- "llyods",
- "monzo_ab"
], - "historic": [
- {
- "date": "2021-03-01",
- "balance": 20
}, - {
- "date": "2021-03-02",
- "balance": 60
}, - {
- "date": "2021-03-03",
- "balance": 0
}, - {
- "date": "2021-03-04",
- "balance": 0
}, - {
- "date": "2021-03-05",
- "balance": 100
}
], - "predicted": [
- {
- "date": "2021-03-24",
- "medianBalance": 28.48,
- "90percentileBalance": 49.26,
- "10percentileBalance": 5.96
}, - {
- "date": "2021-03-25",
- "medianBalance": 28.88,
- "90percentileBalance": 46.38,
- "10percentileBalance": -2.39
}, - {
- "date": "2021-03-26",
- "medianBalance": 22.07,
- "90percentileBalance": 41.48,
- "10percentileBalance": 0.82
}, - {
- "date": "2021-03-27",
- "medianBalance": 20.91,
- "90percentileBalance": 38.25,
- "10percentileBalance": -1.24
}, - {
- "date": "2021-03-28",
- "medianBalance": 14.99,
- "90percentileBalance": 35.98,
- "10percentileBalance": -14.64
}
]
}
]
}
The Notifications endpoints provide an interactive way for user to receive notifications according to different event-types. This feature is currently in private beta. Please reach out if you require access.
Used to subscribe to notifications relating to a specified event type.
Event subscription created successfully
Bad request for missing required properties
Unauthorized
Event subscription already exist for the application
{- "eventTypeId": "payment.status.completed",
}
{- "meta": {
- "tracingId": "string"
}, - "data": {
- "eventTypeId": "payment.status.completed",
- "applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "created": "28-07-2021 15:47:03",
}, - "links": {
- "property1": "string",
- "property2": "string"
}, - "forwardedData": [
- {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
], - "raw": [
- {
- "request": {
- "method": "string",
- "url": "string",
- "requestInstant": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "body": { },
- "bodyParameters": {
- "property1": "string",
- "property2": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z"
}, - "duration": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "resultCode": 0,
- "result": { }
}
]
}
Get all event subscriptions that your application is subscribed to
Event subscriptions for the application
Unauthorized
curl -i -X GET \ -u <username>:<password> \ https://api.yapily.com/notifications/event-subscriptions \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "meta": {
- "tracingId": "string",
- "count": 0,
- "pagination": {
- "totalCount": 0,
- "self": {
- "from": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z",
- "limit": 0,
- "sort": "date",
- "offset": 0,
- "cursor": "string"
}, - "next": {
- "from": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z",
- "limit": 0,
- "cursor": "string"
}
}
}, - "data": [
- {
- "eventTypeId": "payment.status.completed",
- "applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "created": "28-07-2021 15:47:03",
}
], - "links": {
- "property1": "string",
- "property2": "string"
}, - "forwardedData": [
- {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
], - "raw": [
- {
- "request": {
- "method": "string",
- "url": "string",
- "requestInstant": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "body": { },
- "bodyParameters": {
- "property1": "string",
- "property2": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z"
}, - "duration": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "resultCode": 0,
- "result": { }
}
], - "paging": {
- "apiCall": { },
- "data": [
- {
- "id": "string",
- "date": "2019-08-24T14:15:22Z",
- "bookingDateTime": "2019-08-24T14:15:22Z",
- "valueDateTime": "2019-08-24T14:15:22Z",
- "status": "BOOKED",
- "amount": 0,
- "currency": "string",
- "transactionAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "grossAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "currencyExchange": {
- "sourceCurrency": "string",
- "targetCurrency": "string",
- "unitCurrency": "string",
- "exchangeRate": 0
}, - "chargeDetails": {
- "chargeAmount": {
- "amount": 10,
- "currency": "GBP"
}
}, - "reference": "string",
- "statementReferences": [
- {
- "value": "string"
}
], - "description": "string",
- "transactionInformation": [
- "string"
], - "addressDetails": {
- "addressLine": "string"
}, - "isoBankTransactionCode": {
- "domainCode": {
- "code": "UNKNOWN",
- "name": "UNKNOWN"
}, - "familyCode": {
- "code": "UNKNOWN",
- "name": "UNKNOWN"
}, - "subFamilyCode": {
- "code": "UNKNOWN",
- "name": "UNKNOWN"
}
}, - "proprietaryBankTransactionCode": {
- "code": "string",
- "issuer": "string"
}, - "balance": {
- "type": "CLOSING_AVAILABLE",
- "balanceAmount": {
- "amount": 10,
- "currency": "GBP"
}
}, - "payeeDetails": {
- "name": "string",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "string"
}
]
}, - "payerDetails": {
- "name": "string",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "string"
}
]
}, - "merchant": {
- "merchantName": "string",
- "merchantCategoryCode": "string"
}, - "enrichment": {
- "categorisation": {
- "categories": [
- "string"
], - "source": "string"
}, - "transactionHash": {
- "hash": "string"
}, - "cleansedDescription": "string",
- "merchant": {
- "merchantName": "string",
- "parentGroup": "string"
}, - "location": "string",
- "paymentProcessor": "string",
- "correctedDate": "2019-08-24T14:15:22Z"
}, - "supplementaryData": { },
- "transactionMutability": "Mutable"
}
], - "nextCursorHash": "string",
- "nextLink": "string",
- "pagingMap": {
- "property1": {
- "from": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z",
- "limit": 0,
- "sort": "date",
- "offset": 0,
- "cursor": "string"
}, - "property2": {
- "from": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z",
- "limit": 0,
- "sort": "date",
- "offset": 0,
- "cursor": "string"
}
}, - "totalCount": 0
}
}
Used to get details of your subscription to a specified event type.
Event subscription data found
Unauthorized
Event subscription not found
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/notifications/event-subscriptions/{eventTypeId}' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "meta": {
- "tracingId": "string"
}, - "data": {
- "eventTypeId": "payment.status.completed",
- "applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "created": "28-07-2021 15:47:03",
}, - "links": {
- "property1": "string",
- "property2": "string"
}, - "forwardedData": [
- {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
], - "raw": [
- {
- "request": {
- "method": "string",
- "url": "string",
- "requestInstant": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "body": { },
- "bodyParameters": {
- "property1": "string",
- "property2": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z"
}, - "duration": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "resultCode": 0,
- "result": { }
}
]
}
Used to unsubscribe to notifications relating to a specified event type.
Event subscription deleted successfully
Unauthorized
Event subscription not found
curl -i -X DELETE \ -u <username>:<password> \ 'https://api.yapily.com/notifications/event-subscriptions/{eventTypeId}' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "meta": {
- "tracingId": "string"
}, - "data": {
- "eventTypeId": "payment.status.completed",
- "applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "created": "28-07-2021 15:47:03",
- "deleteStatus": "SUCCESS"
}, - "links": {
- "property1": "string",
- "property2": "string"
}, - "forwardedData": [
- {
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "url": "string"
}
], - "raw": [
- {
- "request": {
- "method": "string",
- "url": "string",
- "requestInstant": "2019-08-24T14:15:22Z",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "body": { },
- "bodyParameters": {
- "property1": "string",
- "property2": "string"
}, - "startTime": "2019-08-24T14:15:22Z",
- "startedAt": "2019-08-24T14:15:22Z"
}, - "duration": "string",
- "headers": {
- "property1": "string",
- "property2": "string"
}, - "resultCode": 0,
- "result": { }
}
]
}
Variable Recurring Payments enables transfer of money between accounts held by the same person or transfer of money for business payments.
In order to make Sweeping Variable Recurring Payments on behalf of a user, you are required to request an Consent from the user by calling the Sweeping Consent endpoint to authorise the user's account to make the payment. Once a consent-token
is obtained, you can call the Payments endpoint to execute the Sweeping Variable Recurring Payments transaction. Before executing the payment, you have the option to confirm availability of funds in the user's account by calling the Funds Confirmation endpoint.
See VRP Payments for more information.
Used to initiate the authorisation process and direct users to the login screen of their financial Institution in order to give their consent for Sweeping Variable Recurring Payments. The request would return an Authorization URL and an Identifier for the consent created at the Institution. First make sure that the payment feature you wish to execute is supported by the bank by checking the features array in GET Institution.
See Redirect Payment Flows for more information about this flow.
Features:
INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING
userId | string <uuid> This is the Yapily user identifier for the user returned by the create user step POST ../users |
applicationUserId | string A client's own user reference. If the client wants to work with their own unique references for individual PSUs then they can use the applicationUserId property to provide that value. Where Yapily does not already have a Yapily userId that matches the supplied applicationUserId, then a new Yapily userId is created automatically and linked to the applicationUserId value. Clients can then use either their own applicationUserId or the Yapily userId to reference the same user in future calls. |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
contextType | string (Payment Code) Default: "OTHER" Optional. The payment context code. This defaults to |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
required | object (SweepingControlParameters) Define the restrictions and limits for payment orders as part of Sweeping VRP consent |
required | object (InitiationDetails) Mandatory. The payment initiation object defining the details of the payment under the Variable Recurring Payment consent. |
object (ComplianceData) Conditional. Information needed to complete compliance checks. Mandatory for Yapily Connect customers. |
Created
Error Response
Error Response
UK Domestic Sweeping VRP Authorisation Example Request
{- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "controlParameters": {
- "psuAuthenticationMethods": [
- "SCA_NOT_REQUIRED"
], - "periodicLimits": [
- {
- "totalMaxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "DAILY",
- "alignment": "CONSENT"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "initiationDetails": {
- "reference": "Own Account Sweeping",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}, - "complianceData": {
- "payer": {
- "type": "INDIVIDUAL",
- "individual": {
- "name": "John Doe",
- "birthDate": "2000-08-12"
}
}
}
}
UK Domestic Sweeping VRP Authorisation Example Response
{- "meta": {
- "tracingId": "96169af01d394ad39658f17d53b49a5d"
}, - "data": {
- "id": "a2a9ec77-a479-4996-9896-4568e1968e7a",
- "userId": "5350782b-60f3-489e-aae5-a24d8d679a07",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AWAITING_AUTHORIZATION",
- "createdAt": "2021-06-09T13:48:25.138Z",
- "featureScope": [
- "EXISTING_PAYMENTS_DETAILS",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING",
- "VARIABLE_RECURRING_PAYMENT_FUNDS_CONFIRMATION",
- "INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING"
], - "state": "80052c03007f41d589f64377eef4d620",
- "institutionConsentId": "sdp-6-25ff5bd8-d01c-422d-aa9e-8e68808bc899",
- "controlParameters": {
- "psuAuthenticationMethods": [
- "SCA_NOT_REQUIRED"
], - "periodicLimits": [
- {
- "totalMaxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "DAILY",
- "alignment": "CONSENT"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "initiationDetails": {
- "reference": "Own Account Sweeping",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}
}
}
Used to initiate the authorisation process and direct users to the login screen of their financial Institution in order to give their consent for Non-Sweeping Variable Recurring Payments. The request would return an Authorization URL and an Identifier for the consent created at the Institution. First make sure that the payment feature you wish to execute is supported by the bank by checking the features array in GET Institution.
See Redirect Payment Flows for more information about this flow.
Features:
INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_NONSWEEPING
userId | string <uuid> This is the Yapily user identifier for the user returned by the create user step POST ../users |
applicationUserId | string A client's own user reference. If the client wants to work with their own unique references for individual PSUs then they can use the applicationUserId property to provide that value. Where Yapily does not already have a Yapily userId that matches the supplied applicationUserId, then a new Yapily userId is created automatically and linked to the applicationUserId value. Clients can then use either their own applicationUserId or the Yapily userId to reference the same user in future calls. |
forwardParameters | Array of strings Extra parameters the TPP may want to get forwarded in the callback request after the PSU redirect. |
contextType | string (Payment Code) Optional. The payment context code. Allowed values are [BILL_IN_ADVANCE, BILL_IN_ARREARS, ECOMMERCE_MERCHANT, FACE_TO_FACE_POS, TRANSFER_TO_SELF,TRANSFER_TO_THIRD_PARTY, PISP_PAYEE ]. |
institutionId required | string Mandatory. The reference to the |
callback | string Optional. The server to redirect the user to after the user complete the authorisation at the |
object (RedirectRequest) Optional. The server to redirect the user to after the user complete the authorisation at the | |
oneTimeToken | boolean Conditional. Used to receive a |
required | object (NonSweepingControlParameters) Define the restrictions and limits for payment orders as part of Non-Sweeping VRP consent |
required | object (InitiationDetails) Mandatory. The payment initiation object defining the details of the payment under the Variable Recurring Payment consent. |
object (ComplianceData) Conditional. Information needed to complete compliance checks. Mandatory for Yapily Connect customers. |
Created
Error Response
Error Response
UK Domestic Non-Sweeping VRP Authorisation Example Request
{- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "controlParameters": {
- "psuAuthenticationMethods": [
- "SCA_NOT_REQUIRED"
], - "periodicLimits": [
- {
- "totalMaxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "DAILY",
- "alignment": "CONSENT",
- "maxNumberOfPayments": 1
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}, - "maxCumulativeAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "maxCumulativeNumberOfPayments": 10,
- "recurringPaymentCategory": "ONGOING"
}, - "initiationDetails": {
- "reference": "Bill Payment",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "Thames Water",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}, - "complianceData": {
- "payer": {
- "type": "BUSINESS",
- "business": {
- "name": "Company LTD",
- "registrationNumber": "COM123NO",
- "registeredAddress": {
- "addressLine1": "123 Queens Street",
- "addressLine2": "Unit 13",
- "townName": "York",
- "postCode": "12345",
- "country": "GB"
}, - "tradingAddress": {
- "addressLine1": "123 Queens Street",
- "addressLine2": "Unit 13",
- "townName": "York",
- "postCode": "12345",
- "country": "GB"
}
}
}
}
}
UK Domestic Non-Sweeping VRP Authorisation Example Response
{- "meta": {
- "tracingId": "96169af01d394ad39658f17d53b49a5d"
}, - "data": {
- "id": "a2a9ec77-a479-4996-9896-4568e1968e7a",
- "userId": "5350782b-60f3-489e-aae5-a24d8d679a07",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AWAITING_AUTHORIZATION",
- "createdAt": "2021-06-09T13:48:25.138Z",
- "featureScope": [
- "EXISTING_PAYMENTS_DETAILS",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_NONSWEEPING",
- "VARIABLE_RECURRING_PAYMENT_FUNDS_CONFIRMATION",
- "INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_NONSWEEPING"
], - "state": "80052c03007f41d589f64377eef4d620",
- "institutionConsentId": "sdp-6-25ff5bd8-d01c-422d-aa9e-8e68808bc899",
- "controlParameters": {
- "psuAuthenticationMethods": [
- "SCA_NOT_REQUIRED"
], - "periodicLimits": [
- {
- "totalMaxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "DAILY",
- "alignment": "CONSENT",
- "maxNumberOfPayments": 1
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}, - "maxCumulativeAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "maxCumulativeNumberOfPayments": 10,
- "recurringPaymentCategory": "ONGOING"
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "initiationDetails": {
- "reference": "Bill Payment",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "Thames Water",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}
}
}
Creates a Variable Recurring Payment transaction after obtaining the user's authorisation.
Features:
CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING
CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_NONSWEEPING
Created
Error Response
Error Response
UK Domestic VRP Payment Example Request
{- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "psuAuthenticationMethod": "SCA_NOT_REQUIRED",
- "paymentAmount": {
- "amount": 10,
- "currency": "GBP"
}
}
UK Domestic VRP Payment Example Response
{- "meta": {
- "tracingId": "0f14e900011b445fa6b6c2c4272d7321"
}, - "data": {
- "id": "a9582f8e-08be-4cca-9f01-1ad3be96532d",
- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "institutionConsentId": "PF23232222DD",
- "status": "COMPLETED",
- "statusDetails": {
- "status": "COMPLETED",
- "isoStatus": {
- "code": "ACCP",
- "name": "AcceptedCustomerProfile"
}
}, - "initiationDetails": {
- "reference": "Own Account Sweeping",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}, - "submissionDetails": {
- "reference": "Own Account Sweeping",
- "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}, - "paymentAmount": {
- "amount": 10,
- "currency": "GBP"
}
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "refundAccount": {
- "accountIdentifications": [
- {
- "identification": "400400",
- "type": "SORT_CODE"
}, - {
- "identification": "99999999",
- "type": "ACCOUNT_NUMBER"
}
], - "name": "Refund Account"
}, - "expectedSettlementTime": "2022-03-02T12:00:00.000Z",
- "expectedExecutionTime": "2022-03-02T12:00:00.000Z"
}
}
Get Sweeping Variable Recurring Payments consent details using the consent Id
Ok
Error Response
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/variable-recurring-payments/sweeping/consents/{consentId}'
Get Sweeping Variable Recurring Payments Consent Example Response
{- "meta": {
- "tracingId": "679e7bb6cd45416a9a9a8d004c5315da"
}, - "data": {
- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "userId": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-08T10:59:35.138Z",
- "featureScope": [
- "EXISTING_PAYMENTS_DETAILS",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING",
- "VARIABLE_RECURRING_PAYMENT_FUNDS_CONFIRMATION",
- "INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_SWEEPING"
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "state": "a09f8ff9c1284444aa635267e05f76e1",
- "authorizedAt": "2021-06-08T10:59:53.288Z",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a",
- "controlParameters": {
- "psuAuthenticationMethods": [
- "SCA_NOT_REQUIRED"
], - "periodicLimits": [
- {
- "totalMaxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "DAILY",
- "alignment": "CONSENT"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "initiationDetails": {
- "reference": "Own Account Sweeping",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}
}
}
Get Non-Sweeping Variable Recurring Payments consent details using the consent Id
Ok
Error Response
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/variable-recurring-payments/non-sweeping/consents/{consentId}'
Get Non-Sweeping Variable Recurring Payments Consent Example Response
{- "meta": {
- "tracingId": "679e7bb6cd45416a9a9a8d004c5315da"
}, - "data": {
- "id": "56a42244-414a-4b52-8c4f-4ad2a50e82fe",
- "userId": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionId": "modelo-sandbox",
- "status": "AUTHORIZED",
- "createdAt": "2021-06-08T10:59:35.138Z",
- "featureScope": [
- "EXISTING_PAYMENTS_DETAILS",
- "EXISTING_PAYMENT_INITIATION_DETAILS",
- "CREATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_NONSWEEPING",
- "VARIABLE_RECURRING_PAYMENT_FUNDS_CONFIRMATION",
- "INITIATE_DOMESTIC_VARIABLE_RECURRING_PAYMENT_NONSWEEPING"
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "state": "a09f8ff9c1284444aa635267e05f76e1",
- "authorizedAt": "2021-06-08T10:59:53.288Z",
- "institutionConsentId": "aac-605d48f2-2a0e-4594-81a9-996524fa3b2a",
- "controlParameters": {
- "psuAuthenticationMethods": [
- "SCA_NOT_REQUIRED"
], - "periodicLimits": [
- {
- "totalMaxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "DAILY",
- "alignment": "CONSENT",
- "maxNumberOfPayments": 10
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}, - "maxCumulativeAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "maxCumulativeNumberOfPayments": 10
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "initiationDetails": {
- "reference": "Bill Payment",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "Thames Water",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}
}
}
Confirms whether there are available funds on the Payer account to execute a Variable Recurring Payment after obtaining the user's authorisation.
Features:
VARIABLE_RECURRING_PAYMENT_FUNDS_CONFIRMATION
Created
Error Response
Error Response
UK Domestic VRP Funds Confirmation Example Request
{- "reference": "Own Account Sweeping",
- "paymentAmount": {
- "amount": 10,
- "currency": "GBP"
}
}
UK Domestic VRP Funds Confirmation Example Response
{- "meta": {
- "tracingId": "0f14e900011b445fa6b6c2c4272d7321"
}, - "data": {
- "id": "a9582f8e-08be-4cca-9f01-1ad3be96532d",
- "fundsAvailable": {
- "fundsAvailable": true,
- "fundsAvailableAt": "2021-06-08T10:59:35.138Z"
}, - "reference": "Own Account Sweeping",
- "paymentAmount": {
- "amount": 10,
- "currency": "GBP"
}
}
}
Get Variable Recurring Payment details using the Payment Id
Ok
Error Response
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/variable-recurring-payments/payments/{paymentId}/details' \ -H 'consent: string'
Get Variable Recurring Payment Details Example Response
{- "meta": {
- "tracingId": "679e7bb6cd45416a9a9a8d004c5315da"
}, - "data": {
- "id": "a9582f8e-08be-4cca-9f01-1ad3be96532d",
- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "institutionConsentId": "PF23232222DD",
- "status": "COMPLETED",
- "statusDetails": {
- "status": "COMPLETED",
- "isoStatus": {
- "code": "ACCP",
- "name": "AcceptedCustomerProfile"
}
}, - "initiationDetails": {
- "reference": "Own Account Sweeping",
- "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}
}, - "submissionDetails": {
- "reference": "Own Account Sweeping",
- "payee": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}, - {
- "type": "SORT_CODE",
- "identification": "123456"
}
]
}, - "paymentAmount": {
- "amount": 10,
- "currency": "GBP"
}
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}, - {
- "type": "SORT_CODE",
- "identification": "654321"
}
]
}, - "refundAccount": {
- "accountIdentifications": [
- {
- "identification": "400400",
- "type": "SORT_CODE"
}, - {
- "identification": "99999999",
- "type": "ACCOUNT_NUMBER"
}
], - "name": "Refund Account"
}, - "expectedSettlementTime": "2022-03-02T12:00:00.000Z",
- "expectedExecutionTime": "2022-03-02T12:00:00.000Z"
}
}
Used to initiate a payment request using Yapily Hosted Pages.
Created
Bad Request
Unauthorized. Credentials are missing or invalid
Unexpected Error
Error Response
Create Hosted payment request
{- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "paymentRequestDetails": {
- "paymentIdempotencyId": "4289457hd38djoa783jw9qag3",
- "amountDetails": {
- "amountToPay": 10,
- "currency": "GBP"
}, - "reference": "Test Payment",
- "contextType": "OTHER",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "123456"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}
]
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "121212"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}
]
}
}
}
Create Hosted Payment Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "paymentRequestId": "eb39f8ae-aeff-4ffa-a23d-d4a5b3eff406",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "applicationId": "64949de6-6510-4d70-9500-d4aa094c506c",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "paymentRequestDetails": {
- "paymentIdempotencyId": "4289457hd38djoa783jw9qag3",
- "amountDetails": {
- "amountToPay": 1,
- "currency": "GBP"
}, - "reference": "Test Payment",
- "contextType": "OTHER",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "123456"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}
]
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "121212"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}
]
}
}, - "authToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "createdAt": "2021-06-10T11:26:54.887Z",
- "authorisationExpiresAt": "2021-06-10T11:36:54.887Z",
- "status": "ACTIVE"
}
}
Used to created a long lived payment request for Pay By Link
Created
Bad Request
Unauthorized. Credentials are missing or invalid
Unexpected Error
Error Response
Create Hosted payment request
{- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "paymentRequestDetails": {
- "amountDetails": {
- "amountToPay": 1,
- "currency": "GBP"
}, - "reference": "Test Payment",
- "contextType": "OTHER",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "123456"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}
]
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "121212"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}
]
}
}
}
Create Hosted Payment Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "paymentRequestId": "eb39f8ae-aeff-4ffa-a23d-d4a5b3eff406",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "applicationId": "64949de6-6510-4d70-9500-d4aa094c506c",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "paymentRequestDetails": {
- "amountDetails": {
- "amountToPay": 10,
- "currency": "GBP"
}, - "reference": "Test Payment",
- "contextType": "OTHER",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "123456"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}
]
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "121212"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}
]
}
}, - "authToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
- "createdAt": "2021-06-10T11:26:54.887Z",
- "authorisationExpiresAt": "2021-06-10T11:36:54.887Z",
- "status": "ACTIVE"
}
}
Used to get details of a payment request
Ok
Unauthorized
Not Found
Unexpected Error
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/hosted/payment-requests/{paymentRequestId}'
Get Hosted payment request Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "paymentRequestId": "eb39f8ae-aeff-4ffa-a23d-d4a5b3eff406",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "applicationId": "64949de6-6510-4d70-9500-d4aa094c506c",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "paymentRequestDetails": {
- "amountDetails": {
- "amountToPay": 1,
- "currency": "GBP"
}, - "reference": "Test Payment",
- "contextType": "OTHER",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "123456"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "12345678"
}
]
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "121212"
}, - {
- "type": "ACCOUNT_NUMBER",
- "identification": "87654321"
}
]
}
}, - "createdAt": "2021-06-10T11:26:54.887Z",
- "authorisationExpiresAt": "2021-06-10T11:36:54.887Z",
- "status": "ACTIVE",
- "payments": [
- {
- "paymentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "institutionIdentifiers": {
- "institutionId": "string",
- "institutionCountryCode": "GB"
}, - "userIdentifiers": {
- "psuId": "string",
- "psuCorporateId": "string",
- "psuIpAddress": "string"
}, - "phases": [
- {
- "phaseName": "INITIATED",
- "phaseCreatedAt": "2021-06-10T11:26:54.887Z"
}, - {
- "phaseName": "INSTITUTION_SUBMITTED",
- "phaseCreatedAt": "2021-06-10T11:26:55.123Z"
}, - {
- "phaseName": "INPUT_CAPTURED",
- "phaseCreatedAt": "2021-06-10T11:27:05.123Z"
}, - {
- "phaseName": "VALIDATION_COMPLETED",
- "phaseCreatedAt": "2021-06-10T11:27:05.223Z"
}, - {
- "phaseName": "AUTHORISATION_CREATED",
- "phaseCreatedAt": "2021-06-10T11:27:06.637Z"
}, - {
- "phaseName": "AUTHORISED",
- "phaseCreatedAt": "2021-06-10T11:27:10.637Z"
}, - {
- "phaseName": "SUBMITTED",
- "phaseCreatedAt": "2021-06-10T11:27:10.654Z"
}, - {
- "phaseName": "ACCEPTED",
- "phaseCreatedAt": "2021-06-10T11:27:11.867Z"
}, - {
- "phaseName": "SETTLEMENT_COMPLETED",
- "phaseCreatedAt": "2021-06-10T11:27:13.887Z"
}
], - "paymentStatus": "COMPLETED",
- "statusDetails": [
- {
- "status": "PENDING",
- "statusUpdateDate": "2021-06-10T11:27:11.867Z",
- "isoStatus": {
- "code": "PDNG",
- "name": "Pending"
}
}, - {
- "status": "COMPLETED",
- "statusUpdateDate": "2021-06-10T11:27:13.887Z",
- "isoStatus": {
- "code": "ACSC",
- "name": "AcceptedSettlementCompleted"
}
}
], - "institutionPaymentId": "string",
- "paymentLifecycleId": "string",
- "paymentIdempotencyId": "04ab4536gaerfc0e1f93c4f4",
- "reference": "Bill payment",
- "contextType": "OTHER",
- "type": "DOMESTIC_PAYMENT",
- "payee": {
- "name": "Jane Doe",
- "accountIdentifications": [
- {
- "identification": "401016",
- "type": "SORT_CODE"
}, - {
- "identification": "71518920",
- "type": "ACCOUNT_NUMBER"
}
], - "address": {
- "country": "GB"
}, - "merchantId": "24589303",
- "merchantCategoryCode": "5551"
}, - "payer": {
- "name": "John Doe",
- "accountIdentifications": [
- {
- "type": "SORT_CODE",
- "identification": "401016"
}
], - "address": {
- "country": "GB"
}
}, - "amount": {
- "amount": 10,
- "currency": "GBP"
}
}
]
}
}
Used to initiate a VRP consent / mandate request through Yapily Hosted Pages
Created
Bad Request
Unauthorized. Credentials are missing or invalid
Unexpected Error
Create Hosted VRP Consent Request
{- "applicationUserId": "45cf7ffe-6350-11ee-8c99-0242ac120002",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "vrpSetup": {
- "payee": {
- "name": "Merchant Doe",
- "accountIdentifications": [
- {
- "identification": "401016",
- "type": "SORT_CODE"
}, - {
- "identification": "71518920",
- "type": "ACCOUNT_NUMBER"
}
]
}, - "reference": "Test Payment",
- "limits": {
- "periodicLimits": [
- {
- "maxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CALENDAR"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "validFrom": "2023-10-04T16:41:17.870Z",
- "validTo": "2024-10-04T16:41:17.870Z",
- "recurringPaymentCategory": "ONGOING",
- "risk": {
- "contextType": "ECOMMERCE_MERCHANT"
}
}
}
Create Hosted VRP Consent Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "id": "ad4bfe58-6352-11ee-8c99-0242ac120002",
- "applicationUserId": "45cf7ffe-6350-11ee-8c99-0242ac120002",
- "applicationId": "ea4cdf01ee-278f-4e3e-8b30-695515aa4cdf01d64",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "vrpSetup": {
- "payee": {
- "name": "Merchant Doe",
- "accountIdentifications": [
- {
- "identification": "401016",
- "type": "SORT_CODE"
}, - {
- "identification": "71518920",
- "type": "ACCOUNT_NUMBER"
}
]
}, - "reference": "Test Payment",
- "limits": {
- "periodicLimits": [
- {
- "maxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CALENDAR"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "validFrom": "2023-10-04T16:41:17.870Z",
- "validTo": "2024-10-04T16:41:17.870Z",
- "risk": {
- "contextType": "ECOMMERCE_MERCHANT"
}
}, - "authToken": "eyJraWQiOiIwNmViZTQ1Yy1OiJFUzI1NiJ9.eyJhdWQiOiJwcm9kdWN0aW9uIiwic3ViIjoiZTU1MTVhZWUtMjc4Zi00ZTNlLThiMzAtNjlhNGNkZjAxZDY0Iiwib3JnIjoiYTUwZmEwNWUtNWIwYy00MGIxLTk0NWUtOTcxM2JkOGQzODk4IiwiY29uc2VudFJlcXVlc3RJZCI6IjdkMmMzZjU5LTU3NDgtNDhlNS1hODdjLWVkZmRkODJiMzQxZCIsImlzcyI6Imhvc3RlZC12cjgwMDE2NCwiaWF0IjoxNzA2Nzk5NTY0LCJqdGkiOiJjMTFkNTBkNy0wMjkxLTRhNTktYmFhNy1jZDhhYWIzMmYzOWIifQ.xa38HzD6phhFiR069E9nMrzvQ9GCmNZMQ",
- "createdAt": "2024-02-01T14:59:25.007193Z"
}
}
Used to get all VRP consent requests initiated through Yapily Hosted Pages
Ok
Bad Request
Unauthorized. Credentials are missing or invalid
Unexpected Error
curl -i -X GET \ -u <username>:<password> \ https://api.yapily.com/hosted/vrp/consent-requests \ -H 'sub-application: string'
Get Hosted VRP Consents Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": [
- {
- "id": "ad4bfe58-6352-11ee-8c99-0242ac120002",
- "applicationId": "45cf7ffe-6350-11ee-8c99-0242ac120002",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "vrpSetup": {
- "limits": {
- "periodicLimits": [
- {
- "maxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CALENDAR"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "recurringPaymentCategory": "ONGOING",
- "risk": {
- "contextType": "ECOMMERCE_MERCHANT"
}
}, - "updatedAt": "2023-10-05T07:56:44.552Z",
- "consentStatus": "AUTHORIZED"
}
]
}
Used to get details of a VRP Consent Request
Ok
Unauthorized
Not Found
Unexpected Error
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/hosted/vrp/consent-requests/{consentRequestId}' \ -H 'sub-application: string'
Get Hosted VRP Consent Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "id": "ad4bfe58-6352-11ee-8c99-0242ac120002",
- "applicationUserId": "45cf7ffe-6350-11ee-8c99-0242ac120002",
- "applicationId": "ea4cdf01ee-278f-4e3e-8b30-695515aa4cdf01d64",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "vrpSetup": {
- "payer": {
- "accountIdentifications": [
- {
- "type": "MASKED_ACCOUNT_NUMBER",
- "identification": "*****493"
}
]
}, - "payee": {
- "name": "Merchant Doe",
- "accountIdentifications": [
- {
- "identification": "401016",
- "type": "SORT_CODE"
}, - {
- "identification": "71518920",
- "type": "ACCOUNT_NUMBER"
}
]
}, - "reference": "Test Payment",
- "limits": {
- "periodicLimits": [
- {
- "maxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CALENDAR"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "validFrom": "2023-10-04T16:41:17.870Z",
- "validTo": "2024-10-04T16:41:17.870Z",
- "recurringPaymentCategory": "ONGOING",
- "risk": {
- "contextType": "ECOMMERCE_MERCHANT"
}
}, - "createdAt": "2023-10-05T07:56:44.552Z",
- "authorisationExpiresAt": "2023-10-05T07:56:44.552Z",
- "consentStatus": "AUTHORIZED",
- "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg",
- "phases": [
- {
- "phaseName": "INITIATED",
- "phaseCreatedAt": "2023-05-10T07:56:54.887Z"
}, - {
- "phaseName": "INPUT_CAPTURED",
- "phaseCreatedAt": "2023-05-10T07:57:05.123Z"
}, - {
- "phaseName": "VALIDATION_COMPLETED",
- "phaseCreatedAt": "2023-05-10T07:57:05.223Z"
}, - {
- "phaseName": "AUTHORISATION_CREATED",
- "phaseCreatedAt": "2023-05-10T07:57:06.637Z"
}, - {
- "phaseName": "AUTHORISED",
- "phaseCreatedAt": "2023-05-10T07:57:10.637Z"
}, - {
- "phaseName": "SUBMITTED",
- "phaseCreatedAt": "2023-05-10T07:57:10.654Z"
}, - {
- "phaseName": "ACCEPTED",
- "phaseCreatedAt": "2023-05-10T07:57:11.867Z"
}
]
}
}
Revoke Hosted VRP Consent Request
Ok
Unauthorized
Not Found
Unexpected Error
curl -i -X POST \ -u <username>:<password> \ 'https://api.yapily.com/hosted/vrp/consent-requests/{consentRequestId}/revoke' \ -H 'sub-application: string'
Revoke Hosted VRP Consent Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "id": "ad4bfe58-6352-11ee-8c99-0242ac120002",
- "applicationUserId": "45cf7ffe-6350-11ee-8c99-0242ac120002",
- "applicationId": "ea4cdf01ee-278f-4e3e-8b30-695515aa4cdf01d64",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "vrpSetup": {
- "payee": {
- "name": "Merchant Doe",
- "accountIdentifications": [
- {
- "identification": "401016",
- "type": "SORT_CODE"
}, - {
- "identification": "71518920",
- "type": "ACCOUNT_NUMBER"
}
]
}, - "reference": "Test Payment",
- "limits": {
- "periodicLimits": [
- {
- "maxAmount": {
- "amount": 100,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CALENDAR"
}
], - "maxAmountPerPayment": {
- "amount": 10,
- "currency": "GBP"
}
}, - "validFrom": "2023-10-04T16:41:17.870Z",
- "validTo": "2024-10-04T16:41:17.870Z",
- "risk": {
- "contextType": "ECOMMERCE_MERCHANT"
}
}, - "createdAt": "2023-10-05T07:56:44.552Z",
- "authorisationExpiresAt": "2023-10-05T07:56:44.552Z",
- "consentStatus": "REVOKED",
- "phases": [
- {
- "phaseName": "INITIATED",
- "phaseCreatedAt": "2023-05-10T07:56:54.887Z"
}, - {
- "phaseName": "INPUT_CAPTURED",
- "phaseCreatedAt": "2023-05-10T07:57:05.123Z"
}, - {
- "phaseName": "VALIDATION_COMPLETED",
- "phaseCreatedAt": "2023-05-10T07:57:05.223Z"
}, - {
- "phaseName": "AUTHORISATION_CREATED",
- "phaseCreatedAt": "2023-05-10T07:57:06.637Z"
}, - {
- "phaseName": "AUTHORISED",
- "phaseCreatedAt": "2023-05-10T07:57:10.637Z"
}, - {
- "phaseName": "SUBMITTED",
- "phaseCreatedAt": "2023-05-10T07:57:10.654Z"
}, - {
- "phaseName": "ACCEPTED",
- "phaseCreatedAt": "2023-05-10T07:57:11.867Z"
}, - {
- "phaseName": "REVOKED",
- "phaseCreatedAt": "2023-05-11T09:57:11.867Z"
}
]
}
}
Creates a Variable Recurring Payment
Created
Error Response
Error Response
Create Hosted VRP Payment Request
{- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "amount": {
- "amount": 10,
- "currency": "GBP"
}
}
Created Hosted VRP Payment Response
{- "meta": {
- "tracingId": "d80a638a-635e-11ee-8c99-0242ac120002"
}, - "data": {
- "id": "string",
- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "amount": {
- "amount": 10,
- "currency": "GBP"
}, - "reference": "Test Payment",
- "payee": {
- "name": "Merchant Doe",
- "accountIdentifications": [
- {
- "identification": "401016",
- "type": "SORT_CODE"
}, - {
- "identification": "71518920",
- "type": "ACCOUNT_NUMBER"
}
]
}, - "refundAccount": {
- "name": "string",
- "accountIdentifications": [
- {
- "type": "MASKED_ACCOUNT_NUMBER",
- "identification": "*****493"
}
]
}, - "paymentLifecycleId": "234g87t58tgeuo848wudjew489",
- "institutionPaymentId": "35a4bd02-635e-11ee-8c99-0242ac120002",
- "statusDetails": {
- "status": "PENDING",
- "statusUpdateDate": "2023-10-05T09:00:36.360Z",
- "isoStatus": {
- "code": "PDNG",
- "name": "Pending"
}
}
}
}
Used to get details of a VRP Payment
Ok
Unauthorized
Not Found
Unexpected Error
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/hosted/vrp/consent-requests/{consentRequestId}/payments/{paymentId}' \ -H 'sub-application: string'
Get Hosted VRP Payment Response
{- "meta": {
- "tracingId": "d80a638a-635e-11ee-8c99-0242ac120002"
}, - "data": {
- "id": "string",
- "paymentIdempotencyId": "234g87t58tgeuo848wudjew489",
- "amount": {
- "amount": 10,
- "currency": "GBP"
}, - "reference": "Test Payment",
- "payee": {
- "name": "Merchant Doe",
- "accountIdentifications": [
- {
- "identification": "401016",
- "type": "SORT_CODE"
}, - {
- "identification": "71518920",
- "type": "ACCOUNT_NUMBER"
}
]
}, - "refundAccount": {
- "name": "string",
- "accountIdentifications": [
- {
- "type": "MASKED_ACCOUNT_NUMBER",
- "identification": "*****493"
}
]
}, - "paymentLifecycleId": "234g87t58tgeuo848wudjew489",
- "institutionPaymentId": "35a4bd02-635e-11ee-8c99-0242ac120002",
- "statusDetails": {
- "status": "COMPLETED",
- "statusUpdateDate": "2023-10-05T09:00:36.360Z",
- "isoStatus": {
- "code": "ACSC",
- "name": "AcceptedSettlementCompleted"
}
}
}
}
Confirms whether there are available funds on the Payer account to execute a Variable Recurring Payment after obtaining the user's authorisation.
Features:
VARIABLE_RECURRING_PAYMENT_FUNDS_CONFIRMATION
Created
Error Response
Error Response
Create Hosted VRP Fund Confirmation Request
{- "reference": "Own Account Sweeping",
- "paymentAmount": {
- "amount": 10,
- "currency": "GBP"
}
}
Created Hosted VRP Fund Confirmation Response
{- "meta": {
- "tracingId": "0f14e900011b445fa6b6c2c4272d7321"
}, - "data": {
- "id": "a9582f8e-08be-4cca-9f01-1ad3be96532d",
- "fundsAvailable": {
- "fundsAvailable": true,
- "fundsAvailableAt": "2021-06-08T10:59:35.138Z"
}, - "reference": "Own Account Sweeping",
- "paymentAmount": {
- "amount": 10,
- "currency": "GBP"
}
}
}
Used to initiate a consent request using Yapily Hosted Pages.
Created
Bad Request
Unauthorized. Credentials are missing or invalid
Unexpected Error
Error Response
Create Hosted Consent Request
{- "userId": "ca412fdf-5a30-43a2-88b7-5964a24a8e55",
- "applicationUserId": "string",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "authorisationExpiresAt": "2021-06-10T11:36:54.887Z",
- "oneTimeToken": false,
- "accountRequest": {
- "transactionFrom": "2023-07-01T00:00:00.000Z",
- "transactionTo": "2023-08-01T00:00:00.000Z",
- "expiresAt": "2023-11-01T00:00:00.000Z",
- "featureScope": [
- "ACCOUNTS",
- "ACCOUNT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_TRANSACTIONS",
- "IDENTITY"
]
}
}
Create Hosted Consent Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "consentRequestId": "507e515f-c22d-4bab-9801-606c94e7f749",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "applicationId": "64949de6-6510-4d70-9500-d4aa094c506c",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "accountRequestDetails": {
- "featureScope": [
- "ACCOUNTS",
- "ACCOUNT",
- "ACCOUNT_BALANCES",
- "ACCOUNT_TRANSACTIONS",
- "IDENTITY"
]
}, - "createdAt": "2024-09-13T11:14:04.766Z",
- "authorisationExpiresAt": "2024-09-13T11:24:04.000Z",
- "status": "AWAITING_AUTHORIZATION"
}
}
Used to get details of a hosted consent request
Ok
Unauthorized
Not Found
Unexpected Error
Error Response
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/hosted/consent-requests/{consentRequestId}'
Get Hosted Consent Request Response
{- "meta": {
- "tracingId": "2dbfd85b4f2940c6a206e96dd90e52d0"
}, - "data": {
- "consentRequestId": "507e515f-c22d-4bab-9801-606c94e7f749",
- "userId": "3ddf5dd0-aa48-4d0f-baa7-fa057e9e911d",
- "applicationUserId": "string",
- "applicationId": "64949de6-6510-4d70-9500-d4aa094c506c",
- "institutionIdentifiers": {
- "institutionId": "modelo-sandbox",
- "institutionCountryCode": "GB"
}, - "userSettings": {
- "language": "en",
- "location": "GB"
}, - "createdAt": "2024-09-13T11:14:04.766Z",
- "authorisationExpiresAt": "2024-10-10T11:36:54.887Z",
- "status": "AUTHORIZED",
- "phases": [
- {
- "phaseName": "INITIATED",
- "phaseCreatedAt": "2024-09-11T16:19:59.707Z"
}, - {
- "phaseName": "INSTITUTION_SUBMITTED",
- "phaseCreatedAt": "2024-09-11T16:20:19.097Z"
}, - {
- "phaseName": "AUTHORISATION_INITIATED",
- "phaseCreatedAt": "2024-09-11T16:20:47.077Z"
}, - {
- "phaseName": "AUTHORISATION_CREATED",
- "phaseCreatedAt": "2024-09-11T16:20:48.212Z"
}, - {
- "phaseName": "CONSENT_POLLING_STARTED",
- "phaseCreatedAt": "2024-09-11T16:20:57.654Z"
}, - {
- "phaseName": "CONSENT_POLLING_ENDED",
- "phaseCreatedAt": "2024-09-11T16:20:58.288Z"
}, - {
- "phaseName": "AUTHORISED",
- "phaseCreatedAt": "2024-09-11T16:20:58.288Z"
}, - {
- "phaseName": "FINISHED",
- "phaseCreatedAt": "2024-09-11T16:20:58.288Z"
}
], - "consentToken": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJJTlNUSVRVVElPTiI6Im1vZGVsby1zYW5kYm94IiwiQ09OU0VOVCI6IjU2YTQyMjQ0LTQxNGEtNGI1Mi04YzRmLTRhZDJhNTBlODJmZSIsIkFQUExJQ0FUSU9OX1VTRVJfSUQiOiJtb2ZlLTIiLCJVU0VSIjoiY2E0MTJmZGYtNWEzMC00M2EyLTg4YjctNTk2NGEyNGE4ZTU1In0.gorwpnUjSr5dzQJLR32M2geWOj7yK9xMsZmq27ssY9xP_xGmWfUL_aqVHYyQ4r5KWw6Xb6RjvO839st8chJLtg"
}
}
The constraints endpoints can be used to retrieve institution specific data requirements and rules that will apply when performing other operations.
Retrieve institution specific constraints for payment authorisation and submission requests
Ok
Bad Request.
Either authentication credentials were not supplied, or they were invalid.
Not Found.
Unexpected Error
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/institutions/constraints/payments?institutionIds=string&institutionCountryCode=string&paymentType=DOMESTIC_PAYMENT&endpointPath=string&endpointMethod=POST'
{- "meta": {
- "tracingId": "661471ddb4344113a2d185b861cb3dcf"
}, - "data": [
- {
- "institutionId": "mock-sandbox",
- "institutionCountryCode": "GB",
- "endpointPath": "/payments",
- "endpointMethod": "POST",
- "paymentType": "DOMESTIC_PAYMENT",
- "request": {
- "headers": {
- "title": "Header",
- "type": "object",
- "properties": {
- "psuID": {
- "title": "PSU Id",
- "type": "string",
- "description": ""
}
}
}, - "body": {
- "title": "Payment Request",
- "required": [
- "payee",
- "amount",
- "paymentIdempotencyId",
- "type"
], - "type": "object",
- "properties": {
- "paymentIdempotencyId": {
- "title": "Payment Idempotency Id",
- "pattern": "^.{1,35}$",
- "type": "string",
- "description": "Id for the payment"
}, - "type": {
- "enum": [
- "DOMESTIC_PAYMENT"
], - "title": "Payment Type",
- "type": "string",
- "description": "type of the payment"
}, - "contextType": {
- "default": "OTHER",
- "enum": [
- "BILL",
- "GOODS",
- "SERVICES",
- "OTHER",
- "PERSON_TO_PERSON"
], - "title": "Context Type",
- "type": "string",
- "description": "__Optional__. The payment context code. This defaults to `OTHER` if not specified."
}, - "reference": {
- "title": "Reference",
- "pattern": "^.{1,18}$",
- "type": "string",
- "description": "__Mandatory__. The payment reference or description. Limited to a maximum of 18 characters long.",
- "example": "Bill payment"
}, - "payee": {
- "title": "Payee",
- "required": [
- "accountIdentifications",
- "name"
], - "type": "object",
- "properties": {
- "name": {
- "title": "Name",
- "pattern": "^.{1,18}$",
- "type": "string",
- "description": "__Mandatory__. The account holder name of the beneficiary.",
- "example": "Jane Doe"
}, - "accountIdentifications": {
- "title": "Account Identifications",
- "type": "array",
- "items": {
- "required": [
- "identification",
- "type"
], - "type": "object",
- "properties": {
- "type": {
- "title": "Account Identification Type",
- "type": "string",
- "description": "__Mandatory__. Used to describe the format of the account.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on when to specify each type."
}, - "identification": {
- "title": "Account Identification",
- "type": "string",
- "description": "__Mandatory__. The value associated with the account identification type.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on the format of the values."
}
}
}, - "description": "__Mandatory__. The account identifications that identify the `Payee` bank account."
}, - "address": {
- "title": "Address",
- "type": "object",
- "properties": {
- "addressLines": {
- "title": "Address Lines",
- "type": "array",
- "items": {
- "title": "Address Line",
- "type": "string"
}, - "description": "__Optional__. The address line of the address"
}, - "streetName": {
- "title": "Street Name",
- "type": "string",
- "description": "__Optional__. The street name of the address"
}, - "buildingNumber": {
- "title": "Building Number",
- "type": "string",
- "description": "__Optional__. The building number of the address"
}, - "postCode": {
- "title": "Postcode",
- "type": "string",
- "description": "__Optional__. The post code of the address"
}, - "townName": {
- "title": "Town",
- "type": "string",
- "description": "__Optional__. The town name of the address"
}, - "county": {
- "title": "County",
- "type": "array",
- "items": {
- "type": "string"
}, - "description": "__Optional__. The list of counties for the address"
}, - "country": {
- "title": "Country",
- "type": "string",
- "description": "__Conditional__. The 2-letter country code for the address. <br><br>An `Institution` may require you to specify the `country` when used in the context of the `Payee` to be able to make a payment"
}, - "department": {
- "title": "Department",
- "type": "string",
- "description": "__Optional__. The department for the address"
}, - "subDepartment": {
- "title": "Sub-department",
- "type": "string",
- "description": "__Optional__. The sub-department for the address"
}, - "addressType": {
- "enum": [
- "BUSINESS",
- "CORRESPONDENCE",
- "DELIVERY_TO",
- "MAIL_TO",
- "PO_BOX",
- "POSTAL",
- "RESIDENTIAL",
- "STATEMENT",
- "UNKNOWN"
], - "title": "Address Type",
- "type": "string",
- "description": "__Optional__. The type of address"
}
}, - "description": "__Conditional__. The address of the `Payee` or `Payer`."
}
}, - "description": "__Mandatory__. Details of the beneficiary [person or business]."
}, - "payer": {
- "title": "Payer",
- "required": [
- "accountIdentifications"
], - "type": "object",
- "properties": {
- "accountIdentifications": {
- "title": "Account Identifications",
- "type": "array",
- "items": {
- "required": [
- "identification",
- "type"
], - "type": "object",
- "properties": {
- "type": {
- "enum": [
- "IBAN"
], - "title": "Account Identification Type",
- "type": "string",
- "description": "__Mandatory__. Should be IBAN only."
}, - "identification": {
- "title": "Account Identification",
- "pattern": "DE\\d{20}",
- "type": "string",
- "description": "__Mandatory__. The IBAN value associated with the account identity"
}
}
}, - "description": "__Mandatory__. The account identifications that identify the `Payer` bank account."
}, - "address": {
- "title": "Address",
- "type": "object",
- "properties": {
- "addressLines": {
- "title": "Address Lines",
- "type": "array",
- "items": {
- "title": "Address Line",
- "type": "string"
}, - "description": "__Optional__. The address line of the address"
}, - "streetName": {
- "title": "Street Name",
- "type": "string",
- "description": "__Optional__. The street name of the address"
}, - "buildingNumber": {
- "title": "Building Number",
- "type": "string",
- "description": "__Optional__. The building number of the address"
}, - "postCode": {
- "title": "Postcode",
- "type": "string",
- "description": "__Optional__. The post code of the address"
}, - "townName": {
- "title": "Town",
- "type": "string",
- "description": "__Optional__. The town name of the address"
}, - "county": {
- "title": "County",
- "type": "array",
- "items": {
- "type": "string"
}, - "description": "__Optional__. The list of counties for the address"
}, - "country": {
- "title": "Country",
- "type": "string",
- "description": "__Conditional__. The 2-letter country code for the address. <br><br>An `Institution` may require you to specify the `country` when used in the context of the `Payee` to be able to make a payment"
}, - "department": {
- "title": "Department",
- "type": "string",
- "description": "__Optional__. The department for the address"
}, - "subDepartment": {
- "title": "Sub-department",
- "type": "string",
- "description": "__Optional__. The sub-department for the address"
}, - "addressType": {
- "enum": [
- "BUSINESS",
- "CORRESPONDENCE",
- "DELIVERY_TO",
- "MAIL_TO",
- "PO_BOX",
- "POSTAL",
- "RESIDENTIAL",
- "STATEMENT",
- "UNKNOWN"
], - "title": "Address Type",
- "type": "string",
- "description": "__Optional__. The type of address"
}
}, - "description": "__Conditional__. The address of the `Payee` or `Payer`."
}
}
}, - "amount": {
- "title": "Amount",
- "required": [
- "amount",
- "currency"
], - "type": "object",
- "properties": {
- "amount": {
- "title": "Amount",
- "minimum": 0,
- "type": "number",
- "description": "__Mandatory__. The monetary value"
}, - "currency": {
- "title": "Currency",
- "pattern": "^[A-Z]{3,3}$",
- "type": "string",
- "description": "__Mandatory__. The [ISO 4217](https://www.xe.com/iso4217.php) currency code"
}
}, - "description": "__Mandatory__. Monetary Amount."
}, - "paymentDateTime": {
- "type": "string",
- "description": "__Optional__, If present date should be greater than or equal to current date",
- "format": "date-time"
}
}, - "description": "Domestic payment request schema"
}
}
}
]
}
Get Data Constraints Rules against an Institution for Account Authorisation requests
Ok
Bad Request.
Either authentication credentials were not supplied, or they were invalid.
Not Found.
Unexpected Error
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/institutions/constraints/data?institutionIds=string&institutionCountryCode=string&endpointPath=string&endpointMethod=POST'
{- "meta": {
- "tracingId": "a43049c1dbc04d6f8c8e2dfdc523217a"
}, - "data": [
- {
- "institutionId": "mock-sandbox",
- "institutionCountryCode": "GB",
- "endpointPath": "/account-auth-requests",
- "endpointMethod": "POST",
- "request": {
- "headers": {
- "title": "Header",
- "type": "object",
- "properties": {
- "psuID": {
- "title": "PSU Id",
- "type": "string",
- "description": "__Mandatory__. The psu id"
}
}
}, - "body": {
- "required": [
- "institutionId"
], - "type": "object",
- "properties": {
- "userUuid": {
- "title": "User UUID",
- "type": "string",
- "format": "uuid"
}, - "institutionId": {
- "title": "Institution Identifier",
- "type": "string",
- "description": "__Mandatory__. The reference to the `Institution` which identifies which institution the authorisation request is sent to.",
- "example": "yapily-mock"
}, - "oneTimeToken": {
- "title": "One Time Token",
- "type": "boolean",
- "description": "__Conditional__. Used to receive a `oneTimeToken` rather than a `consentToken` at the `callback` for additional security. This can only be used when the `callback` is set. <br><br>See [Using a callback with an OTT (Optional)](https://docs.yapily.com/pages/knowledge/yapily-concepts/callback_url/#using-a-callback-with-an-ott-optional) for more information.",
- "example": false
}, - "callback": {
- "title": "Callback",
- "type": "string",
- "description": "__Optional__. The server to redirect the user to after the user complete the authorisation at the `Institution`. <br><br>See [Using a callback (Optional)](https://docs.yapily.com/pages/knowledge/yapily-concepts/callback_url/#using-a-callback-optional) for more information.",
}, - "accountRequest": {
- "title": "Account Request",
- "type": "object",
- "properties": {
- "transactionFrom": {
- "title": "Transaction From Date",
- "type": "string",
- "description": "__Optional__. Used to specify the lower bound on when to pull transaction. This should be declared when accessing transaction older than 90 days for banks in the [CBI Globe](https://docs.yapily.com/pages/knowledge/open-banking/cbi_globe/).",
- "format": "date-time"
}, - "transactionTo": {
- "title": "Transaction To Date",
- "type": "string",
- "description": "__Optional__. When performing a request using the consent, this is the latest date of transaction records that can be retrieved.",
- "format": "date-time"
}, - "expiresAt": {
- "title": "Expires At",
- "type": "string",
- "description": "__Optional__. Used to set a hard date for when the user's associated `Consent` will expire.<br><br>**Note**: If this supported by the bank, specifying this is property is opting out of having a long-lived consent that can be perpetually re-authorised by the user. This will add an `expiresAt` field on the `Consent` object which will render it unusable after this date.<br><br>**Note**: This is not supported by every `Institution`. In such case, the request will not fail but the property will be ignored and the created `Consent` will not have an expiry date.",
- "format": "date-time"
}, - "accountIdentifiers": {
- "title": "Account Info",
- "required": [
- "accountIdentification"
], - "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "__Conditional__. Unique identifier of the account.",
- "example": "500000000000000000000001"
}, - "accountIdentification": {
- "title": "Account Identifications",
- "required": [
- "identification",
- "type"
], - "type": "object",
- "properties": {
- "type": {
- "enum": [
- "SORT_CODE",
- "ACCOUNT_NUMBER",
- "IBAN",
- "BBAN",
- "BIC",
- "PAN",
- "MASKED_PAN",
- "MSISDN",
- "BSB",
- "NCC",
- "ABA",
- "ABA_WIRE",
- "ABA_ACH",
- "EMAIL",
- "ROLL_NUMBER",
- "BLZ",
- "IFS",
- "CLABE",
- "CTN",
- "BRANCH_CODE",
- "VIRTUAL_ACCOUNT_ID"
], - "title": "Account Identification Type",
- "type": "string",
- "description": "__Mandatory__. Used to describe the format of the account.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on when to specify each type.",
- "example": "SORT_CODE"
}, - "identification": {
- "title": "Account Identification",
- "type": "string",
- "description": "__Mandatory__. The value associated with the account identification type.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on the format of the values.",
- "example": "401016"
}
}
}
}, - "description": "__Conditional__. Used to create a request for the balance of the account specified. Once the user authorises the request, only the balance can be obtained by executing [GET Account Balances](./#get-account-balances).<br><br> This can be specified in conjunction with `accountIdentifiersForTransaction` to generate a `Consent` that can both access the accounts balance and transactions."
}, - "accountIdentifiersForTransaction": {
- "type": "array",
- "items": {
- "required": [
- "accountIdentification"
], - "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "__Conditional__. Unique identifier of the account.",
- "example": "500000000000000000000001"
}, - "accountIdentification": {
- "title": "Account Identifications",
- "required": [
- "identification",
- "type"
], - "type": "object",
- "properties": {
- "type": {
- "enum": [
- "SORT_CODE",
- "ACCOUNT_NUMBER",
- "IBAN",
- "BBAN",
- "BIC",
- "PAN",
- "MASKED_PAN",
- "MSISDN",
- "BSB",
- "NCC",
- "ABA",
- "ABA_WIRE",
- "ABA_ACH",
- "EMAIL",
- "ROLL_NUMBER",
- "BLZ",
- "IFS",
- "CLABE",
- "CTN",
- "BRANCH_CODE",
- "VIRTUAL_ACCOUNT_ID"
], - "title": "Account Identification Type",
- "type": "string",
- "description": "__Mandatory__. Used to describe the format of the account.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on when to specify each type.",
- "example": "SORT_CODE"
}, - "identification": {
- "title": "Account Identification",
- "type": "string",
- "description": "__Mandatory__. The value associated with the account identification type.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on the format of the values.",
- "example": "401016"
}
}
}
}
}, - "description": "__Conditional__. Used to create a request for the transactions of the account specified. Once the user authorises the request, only the transactions can be obtained by executing [GET Account Transactions](./#get-account-transactions). <br><br>This can be specified in conjunction with `accountIdentifiersForBalance` to generate a `Consent` that can both access the accounts balance and transactions."
}, - "accountIdentifiersForBalance": {
- "type": "array",
- "items": {
- "required": [
- "accountIdentification"
], - "type": "object",
- "properties": {
- "accountId": {
- "type": "string",
- "description": "__Conditional__. Unique identifier of the account.",
- "example": "500000000000000000000001"
}, - "accountIdentification": {
- "title": "Account Identifications",
- "required": [
- "identification",
- "type"
], - "type": "object",
- "properties": {
- "type": {
- "enum": [
- "SORT_CODE",
- "ACCOUNT_NUMBER",
- "IBAN",
- "BBAN",
- "BIC",
- "PAN",
- "MASKED_PAN",
- "MSISDN",
- "BSB",
- "NCC",
- "ABA",
- "ABA_WIRE",
- "ABA_ACH",
- "EMAIL",
- "ROLL_NUMBER",
- "BLZ",
- "IFS",
- "CLABE",
- "CTN",
- "BRANCH_CODE",
- "VIRTUAL_ACCOUNT_ID"
], - "title": "Account Identification Type",
- "type": "string",
- "description": "__Mandatory__. Used to describe the format of the account.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on when to specify each type.",
- "example": "SORT_CODE"
}, - "identification": {
- "title": "Account Identification",
- "type": "string",
- "description": "__Mandatory__. The value associated with the account identification type.<br><br> See [Account Identification Combinations](https://docs.yapily.com/pages/key-concepts/payments/payment-execution/intro-to-payment-execution/#account-identifications-combinations) for more information on the format of the values.",
- "example": "401016"
}
}
}
}
}, - "description": "__Conditional__. Used to create a request for the transactions of the account specified. Once the user authorises the request, only the transactions can be obtained by executing [GET Account Transactions](./#get-account-transactions). <br><br>This can be specified in conjunction with `accountIdentifiersForBalance` to generate a `Consent` that can both access the accounts balance and transactions."
}, - "featureScope": {
- "title": "Feature Scope",
- "type": "array",
- "items": {
- "type": "string"
}, - "description": "Used to describe what functions are supported by the associated `Institution`"
}
}, - "description": "Account authorisation request schema"
}
}, - "description": "The request body containing an `AccountAuthorisationRequest` json payload"
}
}
}
]
}
Application Management endpoints help with creating and managing client sub-applications.
Creates a sub-application under the given root application id provided in the authentication token. The sub-application can use the root's credentials to call the API
The sub-application to create
Sub-application was successfully created
There are validation errors
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
Application with given root id not found.
An unexpected error occurred.
{- "name": "Merchant Uno",
- "merchantCategoryCode": 7995,
- "ppcUserGroup": "WHOLESALE_FI_FI",
- "isContractPresent": true
}
{- "meta": {
- "tracingId": "0c2d0973bdd24224a65e5d0f7d1b6154"
}, - "data": {
- "id": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "name": "Merchant Uno",
- "merchantCategoryCode": 7995,
- "ppcUserGroup": "WHOLESALE_FI_FI",
- "isContractPresent": true,
- "rootApplicationId": "eb25e1ee-f6af-4131-92fe-748e177bf950"
}
}
Retrieves sub-applications for the root application provided in the authentication token. If a sub-application is provided in the authentication token, it will return an empty list.
object |
The sub-applications that are returned as part of the search results.
There are validation errors
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/applications?applicationIds=497f6eca-6276-4993-bfeb-53cbbbba6f08&limit=1000&offset=0&sort=name'
{- "meta": {
- "tracingId": "0c2d0973bdd24224a65e5d0f7d1b6154",
- "count": 1,
- "pagination": {
- "offset": 0,
- "limit": 1,
- "totalCount": 1
}
}, - "data": [
- {
- "id": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "name": "Merchant Uno",
- "merchantCategoryCode": 7995,
- "ppcUserGroup": "WHOLESALE_FI_FI",
- "isContractPresent": true,
- "rootApplicationId": "eb25e1ee-f6af-4131-92fe-748e177bf950"
}
]
}
Retrieves an application by the id provided in the path
Application was successfully fetched
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
Application with given id not found.
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/applications/{applicationId}'
{- "meta": {
- "tracingId": "0c2d0973bdd24224a65e5d0f7d1b6154"
}, - "data": {
- "id": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "name": "Merchant Uno",
- "merchantCategoryCode": 7995,
- "ppcUserGroup": "WHOLESALE_FI_FI",
- "isContractPresent": true,
- "rootApplicationId": "eb25e1ee-f6af-4131-92fe-748e177bf950"
}
}
Updates the application properties for the application with the given ID in the path
The application to update
Application was successfully updated
There are validation errors
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
An unexpected error occurred.
{- "name": "Merchant Uno",
- "merchantCategoryCode": 7995,
- "ppcUserGroup": "WHOLESALE_FI_FI",
- "isContractPresent": true
}
{- "meta": {
- "tracingId": "0c2d0973bdd24224a65e5d0f7d1b6154"
}, - "data": {
- "id": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
- "name": "Merchant Uno",
- "merchantCategoryCode": 7995,
- "ppcUserGroup": "WHOLESALE_FI_FI",
- "isContractPresent": true,
- "rootApplicationId": "eb25e1ee-f6af-4131-92fe-748e177bf950"
}
}
Deletes the application with the given ID in the path
Application was successfully deleted
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
Application with given id not found.
An unexpected error occurred.
curl -i -X DELETE \ -u <username>:<password> \ 'https://api.yapily.com/applications/{applicationId}'
Error Response
{- "error": {
- "code": 401,
- "status": "UNAUTHORIZED",
- "message": "Full authentication is required to access this resource"
}
}
Create application vrp configuration
The vrp configuration to create
Application vrp configuration was successfully created
There are validation errors
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
VRP Configuration with given application id not found.
An unexpected error occurred.
{- "maximumIndividualAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "maximumCumulativeAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "maximumCumulativeNumberOfPayments": 0,
- "periodicLimits": [
- {
- "maximumAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CONSENT"
}
], - "recurringPaymentCategory": "ONGOING"
}
{- "name-is-mandatory": {
- "value": {
- "errors": [
- {
- "fieldName": "name",
- "error": "MANDATORY"
}
]
}
}
}
Update application vrp configuration
The vrp configuration to create
Application vrp configuration was successfully updated
There are validation errors
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
VRP Configuration with given application id not found.
An unexpected error occurred.
{- "maximumIndividualAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "maximumCumulativeAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "maximumCumulativeNumberOfPayments": 0,
- "periodicLimits": [
- {
- "maximumAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CONSENT"
}
], - "recurringPaymentCategory": "ONGOING"
}
{- "name-is-mandatory": {
- "value": {
- "errors": [
- {
- "fieldName": "name",
- "error": "MANDATORY"
}
]
}
}
}
Get application vrp configuration
Application vrp configuration was successfully fetched
There are validation errors
Either authentication credentials were not supplied, or they were invalid.
Forbidden from accessing the requested Application.
VRP Configuration with given application id not found.
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/applications/{applicationId}/vrp'
{- "maximumIndividualAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "maximumCumulativeAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "maximumCumulativeNumberOfPayments": 0,
- "periodicLimits": [
- {
- "maximumAmount": {
- "amount": 10,
- "currency": "GBP"
}, - "frequency": "MONTHLY",
- "alignment": "CONSENT"
}
], - "recurringPaymentCategory": "ONGOING"
}
Trigger categorisation for a specified set of transactions
consent required | string Mandatory. The Example: {consentToken} |
psu-id | string Conditional. Represents the user's login ID for the |
psu-corporate-id | string Conditional. Represents the user's login ID for the |
psu-ip-address | string Conditional. The IP address of the PSU. |
sub-application | string <uuid> The sub-application ID to which event type is being subscribed to |
Created
There are validation errors
Authentication Error
An unexpected error occurred.
{- "countryCode": "GB",
- "categorisationType": "consumer",
- "from": "2019-08-24T14:15:22Z",
- "before": "2019-08-24T14:15:22Z"
}
{- "meta": {
- "tracingId": "string"
}, - "data": {
- "categorisationId": "b835bb6a-766d-42bf-8c0c-93921937925a"
}
}
Retrieve a set of categorised transactions using a provided categorisation ID (Note: A categorisation ID will only be valid for 30 mins after a transactions.categorisation.successful wedhook has be received)
OK
There are validation errors
Authentication Error
Webhook id not found
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/accounts/{accountId}/transactions/categorisation/{categorisationId}?limit=100&page=1' \ -H 'consent: string' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "meta": {
- "tracingId": "string",
- "count": 1
}, - "data": {
- "transactions": [
- {
- "id": "string",
- "date": "string",
- "bookingDateTime": "2019-08-24T14:15:22Z",
- "valueDateTime": "2019-08-24T14:15:22Z",
- "status": "string",
- "amount": 0,
- "currency": "string",
- "transactionAmount": {
- "amount": 0,
- "currency": "string"
}, - "reference": "string",
- "description": "string",
- "transactionInformation": [
- "string"
], - "proprietaryBankTransactionCode": {
- "code": "string",
- "issuer": "string"
}, - "isoBankTransactionCode": {
- "domainCode": {
- "code": "string",
- "name": "string"
}, - "familyCode": {
- "code": "string",
- "name": "string"
}, - "subFamilyCode": {
- "code": "string",
- "name": "string"
}
}, - "balance": {
- "type": "string",
- "balanceAmount": {
- "amount": 0,
- "currency": "string"
}
}, - "enrichment": {
- "categorisation": {
- "categories": [
- "string"
]
}, - "recurrence": "string",
- "transactionHash": {
- "hash": "string"
}, - "merchant": {
- "id": "string",
- "name": "string"
}, - "paymentProcessor": "string"
}, - "hash": "string"
}
]
}, - "links": {
}
}
Returns the list of categories that can be returned for a specific account type (consumer or business)
OK
There are validation errors
Authentication Error
Webhook id not found
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ 'https://api.yapily.com/transactions/categorisation/categories/{accountType}' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "meta": {
- "tracingId": "string"
}, - "data": {
- "labels": [
- "ATM/bank deposit",
- "Benefits",
- "ATM/bank withdrawal",
- "App stores"
]
}
}
Webhook endpoints enable our customers to register webhooks to receive notifications for various webhook events categories for their application. Once registered successfully, customers should receive notifications for those events registered.
Retrieve a comprehensive list of event categories that can be registered for webhook notifications in your application. These event categories can be used to subscribe a webhook to specific events, enabling your application to receive real-time notifications when these events occur.
Successful response
There are validation errors
Authentication Error
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ https://api.yapily.com/webhook/events/categories
{- "metadata": {
- "tracingId": "f2425b79-974d-43f8-a5a2-ec771b2d9297\n"
}, - "data": {
- "categories": [
- {
- "name": "payment.state.success",
- "description": "An event sent when payment reaches a terminal successful status"
}, - {
- "name": "payment.state.failed",
- "description": "An event sent when payment reaches a terminal failed status"
}
]
}
}
Register a webhook to one or multiple event categories to receive real-time notifications when specific events occur in your application.
webhook details including the secret
There are validation errors
Authentication Error
Maximum number of registered webhooks has been reached
An unexpected error occurred.
{- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "categories": [
- "string"
], - "callbackUrl": {
- "main": {
- "url": "string"
}, - "backup": {
- "url": "string"
}
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
{- "metadata": {
- "tracingId": "816adf37-9d61-41e2-8279-f24098475fac"
}, - "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "categories": [
- "string"
], - "callbackUrl": {
- "main": {
- "url": "string"
}, - "backup": {
- "url": "string"
}
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "active",
- "webhookSecret": "string"
}
}
Retrieve the list of registered webhooks for your application
retrieve all registered webhook
There are validation errors
Authentication Error
An unexpected error occurred.
curl -i -X GET \ -u <username>:<password> \ https://api.yapily.com/webhook/events \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "metadata": {
- "tracingId": "816adf37-9d61-41e2-8279-f24098475fac"
}, - "data": {
- "active": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "categories": [
- "string"
], - "callbackUrl": {
- "main": {
- "url": "string"
}, - "backup": {
- "url": "string"
}
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "active"
}
]
}
}
Delete a webhook event for a specified webhook ID, unregistering it from receiving any further notifications for the subscribed event categories in your application.
delete webhook succeeded
There are validation errors
Authentication Error
Webhook id not found
An unexpected error occurred.
curl -i -X DELETE \ -u <username>:<password> \ 'https://api.yapily.com/webhook/events/{webhook_id}' \ -H 'sub-application: 497f6eca-6276-4993-bfeb-53cbbbba6f08'
{- "metadata": {
- "tracingId": "816adf37-9d61-41e2-8279-f24098475fac"
}, - "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "categories": [
- "string"
], - "callbackUrl": {
- "main": {
- "url": "string"
}, - "backup": {
- "url": "string"
}
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}
}
}
Reset webhook secret for a webhook that is already registered to your application
webhook details including the secret
There are validation errors
Authentication Error
Webhook id not found
An unexpected error occurred.
{- "delay": 86400
}
{- "metadata": {
- "tracingId": "816adf37-9d61-41e2-8279-f24098475fac"
}, - "data": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "applicationId": "97ab27fa-30e2-43e3-92a3-160e80f4c0d5",
- "categories": [
- "string"
], - "callbackUrl": {
- "main": {
- "url": "string"
}, - "backup": {
- "url": "string"
}
}, - "metadata": {
- "property1": "string",
- "property2": "string"
}, - "status": "active",
- "webhookSecret": "string"
}
}