This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Retrieves transaction info by ID.
You can only call this method when authenticated as a Wix app or Wix user identity.
Transaction ID.
Wix Payments account ID.
Transaction information.
Retrieve all transaction data by ID
curl -X GET \
https://www.wixapis.com/payments/v3/transactions/4f68983f-9b70-438e-8130-4fff0b97cf48?accountId=6f82b2ce-2a15-4bd7-84b5-392c74b3719c \
-H 'Authorization: <AUTH>' \
{
"transaction": {
"id": "4f68983f-9b70-438e-8130-4fff0b97cf48",
"currency": "USD",
"capturableAmount": "0",
"refundableAmount": "0",
"providerTransactionId": "pi_1H83lWAaXaGogcA7gt5WsjjP",
"metadata": {
"metadataKey": "metadataValue"
},
"authorization": {
"amount": "200",
"status": "SUCCEEDED",
"networkReference": {
"networkTransactionId": "WvTnyhZlYER07Ate"
},
"authCode": "123456"
},
"captures": [
{
"id": "4f68983f-9b70-438e-8130-4fff0b97cf48",
"amount": "200",
"status": "SUCCEEDED",
"metadata": {}
}
],
"refunds": [
{
"id": "1dd0bfdc-bf5d-47cb-8d9b-bc2c6d6591d6",
"amount": "200",
"reason": "BUYER_REQUEST",
"status": "SUCCEEDED",
"providerRefundId": "re_1H83mOAaXaGogcA7QYx89USb",
"metadata": {}
}
],
"disputes": [],
"voids": [],
"accountId": "6f82b2ce-2a15-4bd7-84b5-392c74b3719c",
"paymentMethod": {
"typeId": "creditCard"
}
}
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.