Notify

Tip

Notifications are only supported for ACH transactions. Once there is a status update for ACH transaction, GrubPay will send a notification to your provided endpoint.

Content-Type: application/json;charset=UTF-8

Request

https://example.com/notify

Method:

POST

namerequiredtypesampledescription
payOrderIdyStringPC20221119011952089577758119assigned by GrubPay
mchIdyStringassigned by GrubPay
mchOrderNoyStringmerchant order number
originalOrderIdnStringoriginal pay order id if payType="refund"
amountyInt100in cents
currencyyStringUSD
payTypeyStringpay or refund
refundableyInt100in cents
statusyInt2,92 = success, 9 = fail
recurringIdyIntrecurring payment id this transaction belongs to (0 if non-recurring)
paySuccTimeyString2021-04-07 19:44:51
authNumyString
transNumyString
signyStringC380BEC2BFD727A4B6845133519F3AD6Sign algorithm

Response

Once notified, it is the client's responsibility to respond with "SUCCESS" to stop receiving further notifications for a transaction

Last Updated:
Contributors: Grant, Grant Yao, grant