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 | The payment amount in euros. |
currency | The currency of the payment. |
date | The payment date. |
payment_method_details | Details of the payment method used. |
charge_description | Type of charge: subscription or one-time payment |
uelz_plan_id | The identification of the plan used to create the payment. This is the plan ID in UelzPay. |
uelz_charge_id | The charge ID in UelzPay. |
uelz_purchase_id | The purchase ID in UelzPay. |
external_product_id | The identification of the plan used to create the payment. This is the plan ID in your system. |
external_customer_id | The customer ID in your system. |
service_name | Name of the service. |
plan_name | Name of the plan. |
plan_description | Description of the plan. |
customer | Customer data. |
Updated 18 days ago