Acme webhook examples
The examples below have been pretty-formatted for readability. The actual webhook body may be sent in a more compact form.
Transactions
Credit transaction landed in bank account:
{
"id": "wbh_0F2J4CZ4D9FZD",
"createdAt": "2024-02-08T06:43:29.522388699Z",
"mode": "LIVE",
"event": "transactions.created",
"object": {
"id": "txn_0F2J4EEQ3SWZG",
"dataSource": "ICN",
"transactionType": "PAYNOW",
"bankReference": "20240208UOVBSGSGBRT8728204",
"description": "Invoice 123",
"customerReference": "Invoice 123",
"remittanceInformation": null,
"additionalInformation": null,
"amount": 420,
"currency": "SGD",
"direction": "CREDIT",
"counterparty": {
"name": "JOHN DOE",
"bank": "UOVBSGSGXXX",
"bankAccountNumber": ""
},
"bankAccount": {
"id": "intacc_0F2J4N1CTNB5R",
"bank": "DBSSSGSGXXX",
"bankAccountNumber": "1000420001"
},
"virtualAccountNumber": null,
"transactionDate": "2024-02-08",
"statementId": null,
"createdAt": "2024-02-08T06:43:29.518610893Z",
"updatedAt": "2024-02-08T06:43:29.518610893Z"
}
}
Intraday statement received with one or more new transactions:
{
"id": "wbh_0FBVBN8KS1547",
"createdAt": "2024-02-08T06:43:29.522388699Z",
"mode": "LIVE",
"event": "transactions.created",
"objects": [
{
"id": "txn_0FBVBQARMXEPX",
"dataSource": "CAMT052",
"transactionType": "MEPS",
"bankReference": "20240208UOVBSGSGBRT8728204",
"description": "Invoice 123",
"customerReference": "Invoice 123",
"remittanceInformation": null,
"additionalInformation": null,
"amount": 420,
"currency": "SGD",
"direction": "CREDIT",
"counterparty": {
"name": "JOHN DOE",
"bank": "UOVBSGSGXXX",
"bankAccountNumber": ""
},
"bankAccount": {
"id": "intacc_0F2J4N1CTNB5R",
"bank": "DBSSSGSGXXX",
"bankAccountNumber": "1000420001"
},
"virtualAccountNumber": null,
"transactionDate": "2024-02-08",
"statementId": null,
"createdAt": "2024-02-08T06:43:29.518610893Z",
"updatedAt": "2024-02-08T06:43:29.518610893Z"
},
{
"id": "txn_0FBVC0JQC4EKE",
"dataSource": "CAMT052",
"transactionType": "GIRO",
"bankReference": "20240208UOVBSGSGBRT8728204",
"description": "Gym Feb 2024",
"customerReference": "Gym FEB 2024",
"remittanceInformation": null,
"additionalInformation": null,
"amount": 420,
"currency": "SGD",
"direction": "DEBIT",
"counterparty": {
"name": "STRONG GYM",
"bank": "UOVBSGSGXXX",
"bankAccountNumber": ""
},
"bankAccount": {
"id": "intacc_0F2J4N1CTNB5R",
"bank": "DBSSSGSGXXX",
"bankAccountNumber": "1000420001"
},
"virtualAccountNumber": null,
"transactionDate": "2024-02-08",
"statementId": null,
"createdAt": "2024-02-08T06:43:29.518610893Z",
"updatedAt": "2024-02-08T06:43:29.518610893Z"
}
]
}
Statements
End-of-day statement has been processed and the transactions reported in it are now available at /v1/transactions:
{
"id": "wbh_0F2J574HWE0T3",
"createdAt": "2024-02-08T01:30:24.145087173Z",
"mode": "LIVE",
"event": "statements.created",
"object": {
"id": "stmt_0F2J5860EFDGS",
"statementDate": "2024-02-07",
"type": "CAMT.053",
"bankAccount": {
"id": "intacc_0F2J4N1CTNB5R",
"bank": "DBSSSGSGXXX",
"bankAccountNumber": "1000420001"
},
"createdAt": "2024-02-08T01:30:24.135764249Z",
"updatedAt": "2024-02-08T01:30:24.135764323Z"
}
}
Hosted Payments
Successful Hosted Payment:
{
"id": "wbh_0F2J5NXQ0SFT8",
"createdAt": "2024-02-08T06:51:58.806639732Z",
"mode": "LIVE",
"event": "hosted-payments.succeeded",
"object": {
"id": "hpymt_0F2J5PYEZJ09V",
"status": "SUCCEEDED",
"resultCode": null,
"amount": 1250,
"currency": "SGD",
"channel": "APP_ANDROID",
"method": "PAYNOW",
"returnUrl": "rocketshop://paid/12340001",
"redirectUrl": "https://api.tryacme.com/redirection/hosted-payments/hpymt_0F2J5PYEZJ09V/submit",
"referenceId": "12340001",
"tokenization": false,
"hostedPaymentMethodId": null,
"customerProxy": null,
"createdAt": "2024-02-08T06:51:27.967830Z",
"updatedAt": "2024-02-08T06:51:58.800309301Z"
}
}
Hosted Refunds
Successful Hosted Refund:
{
"id": "wbh_0F2J601GAHE4B",
"createdAt": "2024-02-08T06:44:36.366190544Z",
"mode": "LIVE",
"event": "hosted-refunds.succeeded",
"object": {
"id": "hrfnd_0F2J614SGZHVP",
"status": "SUCCEEDED",
"amount": 420,
"currency": "SGD",
"hostedPaymentId": "hpymt_0F2J633MQT94K",
"referenceId": "12340005",
"createdAt": "2024-02-08T06:44:34.233697504Z",
"updatedAt": "2024-02-08T06:44:36.353554901Z"
}
}
Direct Debit Authorizations
Successful Direct Debit Authorization:
{
"id": "wbh_0F2J6ARSYY9JC",
"createdAt": "2024-02-07T13:06:58.325593865Z",
"mode": "LIVE",
"event": "direct-debit-authorizations.succeeded",
"object": {
"id": "dda_0F2J6BRASA16R",
"billReferenceNumber": "ROCKETCUST123",
"payerSwiftBic": "DBSSSGSGXXX",
"payerSegment": "RETAIL",
"payerName": "JOHN DOE",
"payerBankAccountNumber": "9999429999",
"status": "SUCCEEDED",
"failureReason": null,
"startDate": "2024-02-07",
"maxAmount": 100000,
"maxAmountCurrency": "SGD",
"endDate": null,
"authorizeUrl": "https://egiro.rocketbank.com/create?ref=123001"
"cancelUrl": null,
"returnUrl": "https://rocketshop.com/egiro-return",
"cancelReturnUrl": null,
"createdAt": "2024-02-07T13:03:36.065141Z",
"updatedAt": "2024-02-07T13:06:58.318189595Z"
}
}
Direct Debit Payments
Successful Direct Debit Payment:
{
"id": "wbh_0F2J756ANHF1T",
"createdAt": "2024-01-31T05:49:56.143613113Z",
"mode": "LIVE",
"event": "direct-debit-payments.succeeded",
"object": {
"id": "dpymt_0F2J767QNWY48",
"type": "FAST",
"amount": 1250,
"currency": "SGD",
"directDebitAuthorizationId": "dda_0F2J7879XXDP1",
"customerReference": "FEBSUBFEE",
"status": "SUCCEEDED",
"createdAt": "2024-01-31T05:49:54.557605921Z",
"updatedAt": "2024-01-31T05:49:56.135109989Z"
}
}
Payments
info
For failed payments the event is payments.failed
, the contents (Payment object) are the same.
Successful payment (single):
{
"id":"wbh_0G4A8SKQ2W7T1",
"createdAt":"2024-05-23T03:41:28.376879734Z",
"mode":"LIVE",
"event":"payments.succeeded",
"object":{
"id":"pymt_0G4A8SE26W65V",
"type":"FAST",
"amount":11000,
"currency":"SGD",
"customerReference":"XYZ",
"senderAccountId":"intacc_0CQ74R1XD8Y0Y",
"receiver":{
"name":"Undisclosed",
"bank":"DBSSSGSGXXX",
"bankAccountNumber":"123456789"
},
"status":"COMPLETED",
"resultCode":null,
"createdAt":"2024-05-23T03:41:26.929745640Z",
"updatedAt":"2024-05-23T03:41:26.929745640Z"
}
}
Successful payment (multiple):
{
"id":"wbh_0GFWFKQTD0HV0",
"createdAt":"2024-06-28T02:21:00.243432Z",
"mode":"LIVE",
"event":"payments.succeeded",
"objects":[
{
"id":"pymt_0GFWFD7V50HNZ",
"type":"FAST",
"amount":19912,
"currency":"SGD",
"customerReference":"CR0FWY9XQNZQ1N2",
"senderAccountId":"intacc_0GFWFD7T10GA9",
"receiver":{
"name":"RECEIVING PARTY",
"bank":"OCBCSGSGXXX",
"bankAccountNumber":"000000001"
},
"paymentDetails":"",
"senderAccountCurrency":"SGD",
"status":"COMPLETED",
"resultCode":null,
"createdAt":"2024-06-28T02:20:07.001927Z",
"updatedAt":"2024-06-28T02:21:00.238644Z"
},
{
"id":"pymt_0GFWFD7V90GQW",
"type":"FAST",
"amount":100,
"currency":"SGD",
"customerReference":"CR0FWY9XQNZQ1N3",
"senderAccountId":"intacc_0GFWFD7T10GA9",
"receiver":{
"name":"OTHER PARTY",
"bank":"UOVBSGSGXXX",
"bankAccountNumber":"000000002"
},
"paymentDetails":"",
"senderAccountCurrency":"SGD",
"status":"COMPLETED",
"resultCode":null,
"createdAt":"2024-06-28T02:20:07.002568Z",
"updatedAt":"2024-06-28T02:21:00.241949Z"
}
]
}
Batch Payments
info
For rejected batches the event is payment-batches.rejected
, the contents (Batch Payment object) are the same.
Batch payment submitted:
{
"id":"wbh_0GFWFD8Z10K4X",
"createdAt":"2024-06-28T02:20:07.288188Z",
"mode":"LIVE",
"event":"payment-batches.submitted",
"object":{
"id":"bpmt_0GFWFD7V10GX9",
"type":"FAST",
"paymentDate":"2024-04-30",
"senderAccountId":"intacc_0GFWFD7T10GA9",
"senderAccountCurrency":"SGD",
"currency":"SGD",
"status":"SUBMITTED",
"createdAt":"2024-06-28T02:20:06.995Z",
"updatedAt":"2024-06-28T02:20:07.288097Z"
}
}