🚧 This project is currently in active development. A sandbox environment will be made available soon for testing and exploration. Stay tuned!
curl --location -g --request POST 'https://sandbox-payments-{{account-name}}.datmanpay.com/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",
"refund_split_fee": [
{
"partner_merchant_id": 567891234,
"refund_amount": 1.00
}
]
}'{
"outcome": "success"
}