Payments
Learn how to get payment transactions to your server via webhooks
This webhook service keeps you informed about any successful payment transaction including one-time and subscription based payments.
Setup the Endpoint URL
Webhook events are sent to your server via HTTP POST
. You configure the endpoint URL through Developer Tools / Webhooks menu under your project.
Events Format
Webhook events are serialized in JSON. The body of a POST
request to your server will contain the serialized event.
Fields
queue | Webhook type and history. |
parameters | Details about the webhook. |
status | Contains the transaction types, possible values :
|
transaction_id | Unique transaction ID. |
package_id | ID of the package purchased. |
credit_card | Credit card used in the transaction. |
provider_name | Payment provider information where the transaction took place. |
provider_transaction_id | Transaction ID of relevant payment provider. |
currency | Currency used in the transaction. |
create_date | Transaction start date. |
subscriber_id | Subscriber ID associated with the transaction. |
custom_parameters | If the subscriber has custom parameters, they are sent in this field. |
original_purchase_date | Subscriptions original start date. |
expire_date | Expiration date if it is a subscription purchase. |
purchase_date | Transaction completion date. |
payment_type |
Contains the type of payment, possible values :
|
quantity | The number of items purchased. |
price | Transaction amount. |
package_price | Standard package price. |
Last updated