HomeGuidesAPIsReleasesDownloadsDeveloperEvents
Log In
Guides
These docs are for v2024.02.01. Click to read the latest docs for v2024.08.01.

Commercial account payment

Payment source Credit/Debit card or Direct Debit

{
	"eventId": "GUID",
	"eventType": "SERVICE_COMMERCIAL_ACCOUNT_PAYMENT",
	"tenantId": "GUID",
	"eventDate": "YYYY-MM-DD HH:MM:SS",
	"data": {
		"accountIdentifier": "GUID",
		"accountBalance": {
			"amount": 0,
			"currencyCode": "string"
		},
		"taxInclusive": true,
		"company": {
			"companyIdentifier": "string",
			"companyName": "string",
			"companyType": "string"
		},
		"invoices": [
			"array"
		],
		"paymentIdentifier": "number",
		"paymentDateTime": "YYYY-MM-DD HH:MM:SS",
		"paymentAmount": {
			"amount": 0,
			"currencyCode": "string"
		},
		"paymentSource": "string",
    "pspReference": "XXXXXXXXXXXXXXXXXX"
	},
	"sourceId": "GUID",
	"sourceName": "PW_SYSTEM",
	"sourceType": "USER",
	"entityId": "GUID",
	"entityType": "COMPANY",
	"entityOperation": "O",
	"auditMessage": "Account payment"
}