New Transaction
The New Transaction API notifies the subscriber with transaction details when a new transaction is created by the subscriber.
The response for this callback notification from the subscriber should be 200 for a successfull delivery of notification. If the response is other than 200, it is meant as failed status of notification. Hence, the notification is sent for ‘n’ number of times till getting the response as 200. If still the response is not 200, the subscription for this event will be cancelled.
Example
Payload Parameters
Body
{
"source": "PL",
"eventId": "EVT1358243",
"eventName": "Transaction.NEW",
"payload": {
"transactionType": "PG_DEPOSIT",
"referenceID": "PGDEPOSITREF0000004952",
"postedDate": "2022-07-02T21:00:01Z",
"status": "COMPLETED",
"instructedAmount": 1360,
"instructedCurrency": "USD",
"credit": true,
"avalBalance": 1079284,
"customerID": "100000001283309",
"debtorAccount": {
"reference": "txnpgdep315",
"settlementAccountNumber": "100548596389492",
"settlementAccountName": "PLCBW1EFTCOLLECTIONS"
},
"creditorAccount": {
"accountNumber": "200872238634465",
"holderName": "Trent Boult",
"customerAccountName": "Wallet Account 1",
"customerAccountType": "WALLET",
"holderId": "112567846",
"holderIdType": "SSN"
},
"transactionNumber": "QA00000004568034",
"eftBatchID": "",
"eftBatchStatus": "",
"errorMsg": "",
"errorCode": ""
},
"signature": "{{Signature}}"
}
Response: 200
{
//The response for this callback notification from the subscriber should be 200 for a successfull delivery of notification. If the response is other than 200, it is meant as failed status of notification. Hence, the notification is sent for ‘n’ number of times till getting the response as 200. If still the response is not 200, the subscription for this event will be cancelled.
}