Event Triggered
- A user acts on a pending payment request (e.g., approves it).
- The system completes processing of a payment.
Possible Status Values
| Status | Description |
|---|---|
Processing | The payment request is being processed as normal. |
Queued | A fallback state for when transactions aren’t being processed in real time. The request will be paid as soon as the system can process it. |
InReview | The request is under review, typically for additional checks or compliance. |
Scheduled | SynchPay processes future-dated payment requests once per day at 11AM PT. This status means that it will be processed during the batch of the date indicated on the payment request. |
Paid | The payment has been approved and successfully processed. |
Canceled | The request was canceled before completion. |
Denied | The request was rejected by the system or user. |
Failed | The payment processing failed due to technical or banking issues. |
Webhook Payload
Payload Fields
| Field | Type | Description |
|---|---|---|
Live | bool | It’s true when coming from production environment |
Event | string | The event name: always PAYMENT_STATUS_CHANGED |
Data.PaymentId | string | Unique identifier of the payment request. |
Data.RegistrationId | string | ID of the user associated with the request. |
Data.Amount | string | Amount of the payment in cents as integer (e.g., 5000 = $50.00). |
Data.Currency | string | ISO currency code (e.g., "USD"). |
Data.Status | string | Current status of the payment (see Possible Status Values above). |
Data.Timestamp | string | ISO timestamp indicating when the event occurred. |
Data.AccountNumberMasked | string | The last four digits of the bank account used in the payment request with an asterisk pre-pended. |