Initiate a refund for a completed payment
POST /v2/rtp/{payId}/refund
Request
/v2/rtp/{payId}/refundAuthorization: Bearer {access_token}
Content-Type: application/jsonPath Parameters
Parameter
Type
Required
Description
Request Body Parameters
Parameter
Type
Required
Description
Example Request
POST /v2/rtp/123e4567-e89b-12d3-a456-426614174000/refund HTTP/1.1
Host: api.maibmerchants.md
Authorization: Bearer {access_token}
Content-Type: application/json
{
"reason": "Refund reason"
}Response
Response Parameters
Field
Type
Description
Example Successful Response
Notes & Best Practices
Last updated