Process a modification on a previously-initiated cloud device transaction. Supported operations include captures, refunds, incremental authorisations, and voids.
Modification request for a previously initiated cloud device transaction.
A unique identifier assigned by PXP to represent a merchant entity, such as a store, hotel, or website, within the payment processing system.
The unique identifier for the site associated with the transaction, as assigned by PXP. This could represent a physical location, website, or any other distinct entity where the transaction occurs.
A unique transaction reference assigned by you. Must be unique per transaction.
The date and time when you initiated the transaction, in ISO 8601 format.
The operation to apply.
- Production environmenthttps://api-services.pxp.io/api/v1/cloud-device/{merchantPointOfSaleId}/transactions/{systemTransactionId}/modifications
- Sandbox environmenthttps://api-services.test.pxp.io/api/v1/cloud-device/{merchantPointOfSaleId}/transactions/{systemTransactionId}/modifications
curl -i -X POST \
https://api-services.pxp.io/api/v1/cloud-device/POS-001/transactions/1ed768bb-e88a-4636-91ae-67927ccbb02b/modifications \
-H 'Authorization: YOUR_API_KEY_HERE' \
-H 'Content-Type: application/json' \
-d '{
"merchant": "MERCHANT-1",
"site": "SITE-1",
"merchantTransactionId": "TXN-001-CAPTURE",
"merchantTransactionDate": "2025-01-27T09:00:00.000Z",
"operation": "Capture",
"amounts": {
"currencyCode": "EUR",
"transaction": 30.32
}
}'Successful response
The current state of the transaction.
Key value pair for various state data. Learn more about how this works.
{ "code": "CRD000", "message": "Approved" }
The authorisation approval code returned by the issuer or authorising entity.
The date and time when you initiated the transaction, in ISO 8601 format.
A unique transaction reference assigned by you. Must be unique per transaction.
A unique identifier generated by PXP for each transaction. It serves as a reference for tracking and querying transactions within the PXP system. This ID is crucial for performing modifications or querying transaction details.
A unique identifier assigned by the financial service provider for the transaction. It facilitates tracking, reconciliation, and support processes.
Details about the payment method used for the transaction, including masked card data, scheme, gateway token, verification results, EMV data, and the provider response.
Details about the transaction amounts, including the transaction value, currency, and optional gratuity.
{ "state": "Captured", "stateData": { "code": "CRD000", "message": "Approved" }, "approvalCode": "A123456", "merchantTransactionId": "TXN-001-CAPTURE", "systemTransactionId": "1ed768bb-e88a-4636-91ae-67927ccbb02b", "merchantTransactionDate": "2025-01-27T09:00:00.000Z", "providerTransactionId": "PROV-98765", "fundingData": { "maskedPrimaryAccountNumber": "************1234", "cardScheme": "Visa", "expiryMonth": "12", "expiryYear": "2025", "gatewayTokenId": "1ed768bb-e88a-4636-91ae-67927ccbb03a", "providerResponse": { … } }, "amounts": { "transaction": 30.32, "currencyCode": "EUR" } }