🚧 This project is currently in active development. A sandbox environment will be made available soon for testing and exploration. Stay tuned!
| Environment | Base URL |
|---|---|
| Sandbox | https://ws2-payments.datmanpay.com |
| Production | http://payments.datmanpay.com |
curl --location --request POST '/api2.php?action=refund' \
--header 'api_token: {{API_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_id": "12345678",
"amount": "213.39",
"merchant_id": "63123098",
"reason": "store close",
"destination": "CARD",
"requested_by": "Client-01"
}'{
"outcome": "success"
}