Example address to which the POST request should be sent
https://api.axepta.pl/v1/merchant/6yt3gjtm9p7b8h9xsdqz/payment/925767db-962a-49ee-916e-783de9b62a73/refund
Request payload
{
"type": "refund",
"serviceId": "000eec9b-7248-4dae-98f2-56aab6a53927",
"amount": 100
}
Payload parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
type |
string | ✔️ | Transaction type. Allowed values: refund. |
serviceId |
string(36) | ✔️ | store identifier as UUID v4. |
amount |
integer(1-999999999) | ✔️ | Transaction amount in the smallest currency unit, e.g. grosz. |