Skip to main content

Event: Commission Calculated

Schema definition

The event is dispatched when the commission has been calculated, and it includes additional data related to the commission and financial costs.

Loading ....

Examples

{
"tenant": "GEOPAGOS",
"date": "2022-09-05T14:48:08Z",
"type": "SALE",
"status": "APPROVED",
"applicationKey": "UALA_SDK"
"commission": {
"availabilityDate": "2023-12-23T14:30:00Z",
"financialCostPercentage": 2.5,
"financialCostAmount": 10.0,
"financialCostTaxPercentage": 1.0,
"financialCostTaxAmount": 5.0,
"originalAmount": 500.0,
"commissionPercentage": 5.0,
"commissionAmount": 25.0,
"commissionTaxPercentage": 2.0,
"commissionTaxAmount": 5.0,
"balanceAmount": 457.0,
"secondsToAvailable": 10000
},
"merchant": {
"id": "0001231",
"identification": {
"type": "CUIT",
"number": "2222222222222"
},
"address": {
"line1": "",
"line2": "",
"city": "",
"state": "",
"country": "",
"postalCode": ""
},
"mcc": 780,
"email": "",
"legalName": "Test",
"tradeName": "Test",
"phoneNumber": ""
},
"billing": {
"currency": "ARS",
"items": [
{
"unitAmount": 200,
"description": "",
"quantity": 1
}
],
"taxes": [],
"totals": {
"gross": 200,
"net": 200,
"taxes": 0
}
},
"paymentMethod": {
"schema": "",
"type": "CARD",
"pan": "424242******4242",
"holder": {
"name": "test",
"surname": "test",
"identification": {
"type": "DNI",
"number": ""
},
"email": "usuario@dominio.com"
}
},
"paymentPlan": {
"installments": 1,
"instantPayment": true,
"installmentAlias": "test-1",
"agreementAlias": "test-1"
},
"tracking": {
"latitude": 0,
"longitude": 0,
"ip": "",
"userAgent": "",
"refNumber": "trao9gultbhmkzyhynld",
"paymentIntent": "",
"origin": "app_payment_link"
},
"entryMode": {
"source": "ECOMMERCE"
},
"processorResult": {
"date": "2022-09-05T14:48:08Z",
"authorizationCode": "566867513"
},
"userUuid": "16cafd4f-e12e-43d1-9b04-2e10105c3250"
}