Step 3: Bulk Job Result Notification
Once the job has been processed, the the results will be posted to the notification URL provided in the create bulk payment requests create call. The result will contain the job identifier, the job status as well as the compressed json data results. The compressed json data will contain the original data passed in the create call with additional fields for the results of each record.
Url | notifyUrl (provided in the create bulk payment requests API call) | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Method | POST | |||||||||||||||||||||
URL Params | N/A | |||||||||||||||||||||
Data Params |
|
|||||||||||||||||||||
Result Notification Example |
|
Status Types
Error | The bulk payment request job had encountered an error or the request data was not in the required format. |
Complete | The bulk payment request job had completed successfully. |
CompleteWithErrors | The bulk payment request job had completed but there were errors processing certain records. |
Notification Hash Check
Follow these steps to generate the hash check:
- Concatenate the notification variables (excluding Hash) in the order they appear in the notification fields table above.
Null values can be ignored - Append your private key to the concatenated string. Your private key can be found in merchant details section of the merchant admin site.
- Convert the concatenated string to lowercase.
- Generate a SHA512 hash of the lowercase concatenated string.
- Compare generated hash to the Hash value received.
Hash Example
Here is an example of how a hash to verify the request should be generated using the steps above and the values below.
jobId | b2d9ba84-a451-4f03-aae4-8cd3c90154fe |
jobReference | UniqueMerchantReference |
status | Complete |
compressedData | GZIP compressed json result data |
error | null |
- b2d9ba84-a451-4f03-aae4-8cd3c90154feUniqueMerchantReferenceCompleteGZIP compressed json result data
- b2d9ba84-a451-4f03-aae4-8cd3c90154feUniqueMerchantReferenceCompleteGZIP compressed json result data215114531AFF7134A94C88CEEA48E
- b2d9ba84-a451-4f03-aae4-8cd3c90154feuniquemerchantreferencecompletegzip compressed json result data215114531aff7134a94c88ceea48e
- d9a3546df25eb4dad9daa2da01ab74801d3292a9d50720071380d48732d79af3fe0197b8d0c5b1f6090cc7092cde4a98c1257ac77b00030dc4c15ae8479e3ebb
Updated about 1 year ago