Payment Status Update
Changed onPrimer notifies you with a PAYMENT.STATUS webhook when a payment's status has been updated. This is especially useful for asyncronous processor Connections, which do not respond with an upfront authorization.
The webhook events will arrive in the order that the payment status changes, for example you should expect a status of PENDING, then AUTHORIZED, then SETTLED (depending on how your workflow is set up).
The webhook body contains the full payment object.
Request
- Base URLhttps://api.sandbox.primer.io
- URLhttps://api.sandbox.primer.io/payment-status
- Authnone declared. Required headers: X-Signature-Primary, X-Signature-Secondary
Headers
An HMAC signature generated using the webhook payload and a shared signing secret. This is then converted to a base64 encoded string.
A secondary signature that is added when you have rotated your secret within the past 24 hours.
Request body
Example request
{
"signedAt": "1689221338",
"version": "2.4",
"payment": {
"transactions": [
{
"reason": "Item returned."
}
],
"riskData": {
"fraudChecks": {
"source": "FRAUD_PROVIDER"
},
"cvvCheck": {
"source": "PROCESSOR"
},
"avsCheck": {
"source": "PROCESSOR"
}
}
}
}Response
Return a 200 status to indicate that the data was received successfully
Changes
- info
added the new
XCGenum value to the request property/////// - info
added the new
XCGenum value to the request property//// - info
added the new
ZWGenum value to the request property/////// - info
added the new
ZWGenum value to the request property////
- info
- info
added the new optional request property
//////
- info