curl --request GET \
--url https://api.yapily.com/notifications/event-subscriptions \
--header 'Authorization: Basic <encoded-value>'{
"meta": {
"tracingId": "<string>",
"count": 123,
"pagination": {
"totalCount": 123,
"self": {
"from": "2023-11-07T05:31:56Z",
"before": "2023-11-07T05:31:56Z",
"limit": 123,
"sort": "date",
"offset": 123,
"cursor": "<string>"
},
"next": {
"from": "2023-11-07T05:31:56Z",
"before": "2023-11-07T05:31:56Z",
"limit": 123,
"cursor": "<string>"
}
}
},
"data": [
{
"eventTypeId": "payment.status.completed",
"applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
"created": "28-07-2021 15:47:03",
"notification": {
"type": "WEBHOOK",
"url": "https://httpbin.com/new_endpoint"
}
}
],
"links": {},
"forwardedData": [
{
"headers": {},
"url": "<string>"
}
],
"raw": [
{
"request": {
"method": "<string>",
"url": "<string>",
"requestInstant": "2023-11-07T05:31:56Z",
"headers": {},
"body": {},
"bodyParameters": {},
"startTime": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z"
},
"duration": "<string>",
"headers": {},
"resultCode": 123,
"result": {}
}
],
"paging": {
"apiCall": {},
"data": [
{
"id": "<string>",
"date": "2023-11-07T05:31:56Z",
"bookingDateTime": "2023-11-07T05:31:56Z",
"valueDateTime": "2023-11-07T05:31:56Z",
"status": "BOOKED",
"amount": 123,
"currency": "<string>",
"transactionAmount": {
"amount": 10,
"currency": "GBP"
},
"grossAmount": {
"amount": 10,
"currency": "GBP"
},
"currencyExchange": {
"sourceCurrency": "<string>",
"targetCurrency": "<string>",
"unitCurrency": "<string>",
"exchangeRate": 123
},
"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": "2023-11-07T05:31:56Z"
},
"supplementaryData": {},
"transactionMutability": "Mutable"
}
],
"nextCursorHash": "<string>",
"nextLink": "<string>",
"pagingMap": {},
"totalCount": 123
}
}Get all event subscriptions that your application is subscribed to
curl --request GET \
--url https://api.yapily.com/notifications/event-subscriptions \
--header 'Authorization: Basic <encoded-value>'{
"meta": {
"tracingId": "<string>",
"count": 123,
"pagination": {
"totalCount": 123,
"self": {
"from": "2023-11-07T05:31:56Z",
"before": "2023-11-07T05:31:56Z",
"limit": 123,
"sort": "date",
"offset": 123,
"cursor": "<string>"
},
"next": {
"from": "2023-11-07T05:31:56Z",
"before": "2023-11-07T05:31:56Z",
"limit": 123,
"cursor": "<string>"
}
}
},
"data": [
{
"eventTypeId": "payment.status.completed",
"applicationId": "2698db90-6635-4f76-b673-5ce8e2aeda0e",
"created": "28-07-2021 15:47:03",
"notification": {
"type": "WEBHOOK",
"url": "https://httpbin.com/new_endpoint"
}
}
],
"links": {},
"forwardedData": [
{
"headers": {},
"url": "<string>"
}
],
"raw": [
{
"request": {
"method": "<string>",
"url": "<string>",
"requestInstant": "2023-11-07T05:31:56Z",
"headers": {},
"body": {},
"bodyParameters": {},
"startTime": "2023-11-07T05:31:56Z",
"startedAt": "2023-11-07T05:31:56Z"
},
"duration": "<string>",
"headers": {},
"resultCode": 123,
"result": {}
}
],
"paging": {
"apiCall": {},
"data": [
{
"id": "<string>",
"date": "2023-11-07T05:31:56Z",
"bookingDateTime": "2023-11-07T05:31:56Z",
"valueDateTime": "2023-11-07T05:31:56Z",
"status": "BOOKED",
"amount": 123,
"currency": "<string>",
"transactionAmount": {
"amount": 10,
"currency": "GBP"
},
"grossAmount": {
"amount": 10,
"currency": "GBP"
},
"currencyExchange": {
"sourceCurrency": "<string>",
"targetCurrency": "<string>",
"unitCurrency": "<string>",
"exchangeRate": 123
},
"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": "2023-11-07T05:31:56Z"
},
"supplementaryData": {},
"transactionMutability": "Mutable"
}
],
"nextCursorHash": "<string>",
"nextLink": "<string>",
"pagingMap": {},
"totalCount": 123
}
}Use HTTP Basic Authentication with your Application ID as username and Application Secret as password. Manage credentials in the Yapily Console. See Authentication for details.
The sub-application ID for which all event subscriptions will be returned
Event subscriptions for the application
Was this page helpful?