⚡Events
Push a transaction
Header parameters
api-keystring · uuidRequired
Body
transactionType*enumOptional
order_success, order_recurring or order_refund
transactionId*stringOptional
Must be unique to prevent duplicate entries
parentId*stringOptional
Required for order_recurring and order_refund. Value must match original order_success transactionId
description*stringOptional
Description for the transaction, if not available use product id or name
transactionAmount*integer · int32Optional
Multiply by 100 (no decimals)
productIdstringOptional
ID available in the Products dashboard
customerNamestringOptional
customerFirstNamestringOptional
customerLastNamestringOptional
customerEmailstringOptional
customerPhoneNumberstringOptional
customerIpAddressstringOptional
customerCountrystringOptional
2 letter code according to ISO 3166-1 alpha-2
customerSessionIdstringOptional
Check the Javascript SDK docs on how to get the Session ID
Responses
200
success
400
bad request
403
unauthorized
502
internal server error
post
POST /transaction/v1 HTTP/1.1
Host: connect.weberlo.com
api-key: 123e4567-e89b-12d3-a456-426614174000
Content-Type: application/json
Accept: */*
Content-Length: 338
{
"transactionType*": null,
"transactionId*": "text",
"parentId*": "text",
"description*": "text",
"transactionAmount*": 1,
"productId": "text",
"customerName": "text",
"customerFirstName": "text",
"customerLastName": "text",
"customerEmail": "text",
"customerPhoneNumber": "text",
"customerIpAddress": "text",
"customerCountry": "text",
"customerSessionId": "text"
}
No content
Last updated