The API call tracks new payments, specifically tailored for fintech solutions. It captures key payment details, ensuring accurate tracking of customer transactions.
This API triggers the "Payment Processed" event, allowing you to automate follow-up actions such as initiating workflows, sending notifications, or rewarding customers with badges.
The event includes all properties provided in the payload.
Request body
Example request
{
"customerId": "cust456",
"email": "john.doe@example.com",
"mobile": "+1234567890",
"paymentId": "6253e03b",
"paymentDate": "2024-09-21T16:53:28.190Z",
"totalPaid": 100,
"totalAmount": 120,
"totalDiscount": 20,
"totalProcessingFees": 10,
"totalTax": 10,
"paymentDetails": [
{
"serviceId": "s_1234",
"serviceName": "Vodafone Topup",
"serviceProvider": "Vodafone",
"amount": 100,
"tax": 10,
"discount": 20,
"tags": [
"Telecom",
"Topup"
],
"category": [
"Telecom Topup"
],
"extra": {}
}
],
"redemption": {
"pointsHoldReference": "HOLD123",
"couponsLockReference": "LOCK123",
"couponCodes": [
"DISCOUNT10"
]
},
"extra": {
"billingAddress": "Jane Smith, Acme Corp, 456 Elm St, Springfield, IL 62704, USA, Tax ID: US987654321",
"paymentStatus": "Pending"
},
"channel": "web",
"cashbackConfigurations": {
"returnWindow": 7
}
}Response
Payment tracked
Example response
{
"customerId": "cust_123456789",
"redeemedPoints": 1000,
"rewardedPoints": 101,
"paymentDetails": [
{
"serviceId": "service_123",
"decimalPoints": 91.25,
"points": 91
}
]
}Changes
Changed in 4 of the 38 revisions of this API.15
- ○
the endpoint scheme security
apiKey AND secretKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
apiKeywas removed from the APIapi-security-removed
- ○
the endpoint scheme security
secretKeywas removed from the APIapi-security-removed
- ○
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 38 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲