refund

@POST(value = "/disbursement/{apiVersion}/refund")
abstract suspend fun refund(@Body momoTransaction: MomoTransaction, @Path(value = "apiVersion") apiVersion: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String, @Header(value = "X-Target-Environment") environment: String, @Header(value = "X-Reference-Id") uuid: String): Response<Unit>

Makes a request to refund a specific user

Return

Unit -- Returns the Transfer Status

Parameters

momoTransaction

-- This is the Transfer Payload MomoTransaction

apiVersion

-- The app Version (v1_0 or v2_0)

productSubscriptionKey

-- The Product subscription Key (Ocp-Apim-Subscription-Key)

environment

-- The API environment (X-Target-Environment)