Received data
After a transaction is completed, detailed data will be sent, including information about the payment, the customer, and the purchased products. This data will enable you to integrate transaction information into your website and personalize the customer experience.
The data will be received as follows:
{
"status": "succeeded",
"amount": 20.5,
"currency": "eur",
"date": 1682598124,
"payment_method_details": "card",
"charge_description": "subscription",
"uelz_plan_id": "clcolhkdw0038yyjabublst8z",
"uelz_charge_id": "clcolhkdw0038yyjabublsf5k",
"uelz_purchase_id": "clcolhkdw0038yyjabublse9s",
"external_product_id": "0012-ABC",
"external_customer_id": "xtrjko98",
"service_name": "My Service",
"plan_name": "My Plan",
"plan_description": "My Plan description",
"customer": {
"address": {
"city": "Valencia",
"state": "Valencia",
"address": "Edificio Angels, Sc Puerto, 13",
"country": "ES",
"postal_code": "46024"
},
"dni": "50130508Z",
"email": "[email protected]",
"prefix": "+34",
"phone": "611167788",
"external_customer_id": "xtrjko98"
}
}
Attributes | Description |
---|---|
status string | Payment status. It can be successful, failed, or pending. |
amount number | The payment amount in euros. |
currency string | The currency of the payment. |
date number | The payment date. |
payment_method_details string | Details of the payment method used. |
charge_description string | Type of charge: subscription or one-time payment |
uelz_plan_id string | The identification of the plan used to create the payment. This is the plan ID in UelzPay. |
uelz_charge_id string | The charge ID in UelzPay. |
uelz_purchase_id string | The purchase ID in UelzPay. |
external_product_id string | The identification of the plan used to create the payment. This is the plan ID in your system. |
external_customer_id string | The customer ID in your system. |
service_name string | Name of the service. |
plan_name string | Name of the plan. |
plan_description string | Description of the plan. |
customer object | Customer data. |
Updated 9 months ago