An outbound Instant Payment is set to Accepted status
Trigger: A positive confirmation message received from the CSM in response to an outbound SCT Inst instruction.
Tip: Webhooks may be updated from time to time and it is important to consider the Versioning and Backward Compatibility guidelines when developing your solution. We recommend that your handler ignores new fields it is not expecting; any new fields that may be added will provide new information, which may be safely ignored.
Webhook Message Details
This Webhook has a single event type: InstantCreditTransferAccept
Webhook Event Message Details
The following table describes the details of the Webhook notification:
Parent | Parameter | Type | Mandatory/Optional | Description |
---|---|---|---|---|
root | eventTimestamp | number | Mandatory | The Unix epoch timestamp |
root | eventType | string | Mandatory | InstantCreditTransferAccept |
root | resourceTechnicalId | number | Mandatory | Technical identifier |
root | resourceReference | string | optional | The Instant Payment Transaction ID |
root | resourceReferenceType | string | optional | Set to TransactionId' |
root | resourceUri | string | Mandatory | This is the URI of the resource for RESTful API querying. Use this URI to Retrieve Instant Payment. |
root | resourceType | string | Mandatory | This is the type of the resource to which the URI is related. In this case it is an 'InstantCreditTransfer' resource. |
root | reasonCode | string | optional | Always null for Accepted Instant Payments. |
root | resourceOwner | string | Mandatory | This is the identifier of the merchant resource to which this notification is linked. |
root | resourceRemittanceInformation | string | optional | Remittance information related to the transaction. |
JSON Sample
The following is an example of an Accepted Instant Payment
event JSON:
Headers:
POST | http://example.com/webhooks |
Content-Type: | application/json;charset=UTF-8 |
X-Signature: | 123ab01d030dee864fb44cc65a3be52ae591f46cde8d14d3e72fbc3790e4a304 |
Content-Length: | 261 |
X-Request-Id: | dc645679-71a5-498d-bb29-ec027948c7c1 |
JSON Request Body
{
"eventTimestamp":1529515534903,
"eventType":"InstantCreditTransferAccept",
"resourceTechnicalId":50,
"resourceReference":"TxID001",
"resourceReferenceType":"TransactionId",
"resourceUri":"/instantpayments/wqj29nnmxn",
"resourceType":"InstantCreditTransfer",
"reasonCode":null,
"resourceOwner": "tc47abc73",
"resourceRemittanceInformation": null
}