Chargeback Data Submission API Reference
Introduction
The Chargeback Data Submission API allows our customers to provide feedback to Dyneti about transactions that resulted in chargebacks. The fields we collect are detailed below.
No OpenAPI specification URL provided
- Python
- Node
- Curl
import requests
endpoint = 'https://api.dyneti.com/chargebacks'
apiKey = 'example_0123456789u0ALMrmV2RXa7YZMdZjAOoTxjM3EbVnRz6SQ5TFzY1'
data = {
"scanData": [
{"id": "c225c647-bd58-4bdb-a3b7-8888c8028c8e", "chargedBack": true},
{"id": "f4a82b93-c173-42e9-8d2f-2e9ab12d4391"}
],
"timestamp": 1724353229,
"userId": "your-user-123456",
"amount": 2799,
"currency": "USD",
"notes": "Customer disputed transaction due to merchandise not received"
}
response = requests.post(
endpoint,
json=data,
headers={
"Content-Type": "application/json",
"X-API-KEY": apiKey
}
)
const axios = require('axios');
const endpoint = 'https://api.dyneti.com/chargebacks';
const apiKey = 'example_0123456789u0ALMrmV2RXa7YZMdZjAOoTxjM3EbVnRz6SQ5TFzY1';
const data = {
scanData: [
{id: 'c225c647-bd58-4bdb-a3b7-8888c8028c8e', 'chargedBack': true},
{id: 'f4a82b93-c173-42e9-8d2f-2e9ab12d4391'}
],
timestamp: 1724353229,
userId: 'user-123456',
amount: 2799,
currency: 'USD',
notes: 'Customer disputed transaction due to merchandise not received'
};
axios.post(endpoint, data, {
headers: {
'Content-Type': 'application/json',
'X-API-KEY': apiKey
}
})
.then(response => {
console.log(response.data);
})
.catch(error => {
console.error(error);
});
curl -X POST \
-H "Content-Type: application/json" \
-H "X-API-KEY: example_0123456789u0ALMrmV2RXa7YZMdZjAOoTxjM3EbVnRz6SQ5TFzY1" \
-d '{
"scanData": [
{"id": "c225c647-bd58-4bdb-a3b7-8888c8028c8e", "chargedBack": true},
{"id": "f4a82b93-c173-42e9-8d2f-2e9ab12d4391"}
],
"timestamp": 1724353229,
"userId": "user-123456",
"amount": 2799,
"currency": "USD",
"notes": "Customer disputed transaction due to merchandise not received"
}' \
"https://api.dyneti.com/chargebacks"