Skip to main content
Version: 1.0.0

Refund request

Refund request

Request Body
  • merchant_key uuid required

    Key for Merchant identification

  • payment_id uuid required

    Possible values: <= 255 characters

    Payment ID (public)

  • hash string required

    Special signature to validate your request to Payment Platform Addition in Signature section Must be SHA1 of MD5 encoded string

  • amount float

    Amount to refund. It is required for particular refund. If amount is not specified the full order amount is settled by default.

Responses

OK


Schema
  • payment_id uuid

    Possible values: <= 255 characters

    Payment ID (public)

  • result string
POST /api/v1/payment/refund

Request

Base URL
https://checkout.dineropay.com
Body
{
"merchant_key": "xxxxx-xxxxx-xxxxx",
"payment_id": "63c781cc-de3d-11eb-a1f1-0242ac130006",
"amount": "0.19",
"hash": "{{operation_hash}}"
}
curl -L -X POST 'https://checkout.dineropay.com/api/v1/payment/refund' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
--data-raw '{
"merchant_key": "xxxxx-xxxxx-xxxxx",
"payment_id": "63c781cc-de3d-11eb-a1f1-0242ac130006",
"amount": "0.19",
"hash": "{{operation_hash}}"
}'