API Documentation
Webhooks
Webhook Events
This page documents the various webhook events that can be triggered by the Payrix platform. Webhooks are used to notify your application when specific events occur.
Table of Contents
Payment Success
Event: payment.success
Description
This event is triggered when a payment is successfully processed.
Payload Example
Explanation
sales_id
: Unique identifier for the sale.merchant_id
: Unique identifier for the merchant.merchant_customer_id
: Identifier for the merchant’s customer.amount
: Total amount of the payment.net_amount
: Amount received after fees.fee_percentage
: Percentage of the fee applied.payment_currency
: Type of currency used for payment.created_date
: Date and time when the payment was created.
Merchant Onboarding
Event: merchant.onboarding
Description
This event is triggered when a merchant completes the onboarding process.
Payload Example
Explanation
merchant_key
: Unique key assigned to the merchant.businessname
: Name of the merchant’s business.website
: Merchant’s website URL.phonenumber
: Merchant’s contact phone number.email
: Merchant’s contact email.first_name
: First name of the merchant contact.last_name
: Last name of the merchant contact.public_key
: Public key associated with the merchant.merchant_guid
: Unique identifier for the merchant.
Merchant Approval
Event: merchant.approval
Description
This event is triggered when a merchant’s application is approved.
Payload Example
Explanation
merchant_key
: Unique key assigned to the merchant.businessname
: Name of the merchant’s business.email
: Merchant’s contact email.public_key
: Public key associated with the merchant.