payment_request.received
Sent to a business when another iSmartPay account asks it for money. The payer answers the request in iSmartPay, or the requester cancels it, or it expires. A developer console business cannot approve or decline yet, so for it this event is notice only. An API key cannot approve. Sent once per request. An endpoint created before this event existed only receives it, and it only appears in GET /v1/events, after the endpoint is created or edited in the console. Answer with any 2xx within 10 seconds. Anything else, a timeout or a redirect is retried up to 6 times over about a day.
payment_request.receivedWebhookWebhook-IdstringrequiredThe event id. The same event can arrive more than once; use this to ignore repeats.
Webhook-TimestampstringrequiredUnix seconds when this attempt was signed. Reject a delivery older than 5 minutes.
Webhook-Signaturestringrequiredv1, then a comma, then the base64 HMAC-SHA256 of "{Webhook-Id}.{Webhook-Timestamp}.{raw body}" keyed with your endpoint's signing secret. Compare in constant time.
application/jsonidstringrequiredThe event id, the same as the Webhook-Id header.
typestringrequiredcreatedAtstring<date-time>requiredWhen the change happened.
dataPaymentRequestReceivedrequiredThe request that was sent to you.
Show propertiesHide properties
requestIdstringrequirediSmartPay's id for the request.
referencestringrequiredThe reference the requester chose.
requesterNamestringrequiredWho is asking: a person's full name, or for a business its display name, which is its @handle when it set none.
requesterKindstringrequiredWhether the requester is a customer or a business.
consumerbusinessamountstringrequiredWhat is being asked for. A decimal string in major units.
currencystringrequirednotestringThe requester's note, when they sent one.
expiresAtstring<date-time>requiredWhen the request expires if nobody answers.
Received. Any 2xx stops retries.