Payment Status Updated Event
Payload
Unique identifier for the payment. This is the same as the payment_id in the Create a Payment
operation.
Timestamp of the event in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
Unique identifier for the payment. This is the same as the payment_id in the Create a Payment
operation.
Timestamp of the event in ISO 8601 format (YYYY-MM-DDTHH:MM:SSZ).
Sent when the status of a payment changes at various stages of the payment journey.
Once you have subscribed to the “PAYMENT STATUS” event type, Redpin will call your designated API endpoint with the payload described below when there is an update to one of your payment’s statuses.
Status Flow Diagram:
Status to Schema Mapping:
Note: If you receive a status not listed here, log the event and contact support. Your integration should be resilient to new statuses.
Note: All top-level fields (
event_id
,payment_id
,status
,customer_id
,event_timestamp
,data
) are always present in every event.
Difference between PAYOUT_CREDITED and PAYMENT_COMPLETED:
If a payment has only one recipient, then PAYOUT_CREDITED is functionally equivalent to PAYMENT_COMPLETED, and both events will be delivered.
If a payment has multiple recipients, PAYOUT_CREDITED will be delivered each time the amount for a recipient is credited to their account. PAYMENT_COMPLETED will be delivered only when all recipients have been credited with their expected amounts.
Example Payloads:
AWAITING_FUNDS
RECEIVED_FUNDS
FX_COMPLETED
PAYOUT_INITIATED
PAYOUT_CREDITED
CANCELLED
PROCESSING
REFUNDED
PAYMENT_COMPLETED
BOUNCED_BACK
The structure of the data
object varies depending on the payment status.
See the documentation below for the specific data object schema associated with each status value.
Clarification: This status means the payment transfer to the recipient has been initiated by Redpin, but the funds may not yet have reached the recipient’s account.
Clarification: This status means the payment has been successfully credited to the recipient’s account. This is a confirmation that the funds have reached the recipient.