requestToPayDeliveryNotification

@POST(value = "/{productType}/{apiVersion}/requesttopay/{referenceId}/deliverynotification")
abstract suspend fun requestToPayDeliveryNotification(@Path(value = "productType") productType: String, @Path(value = "apiVersion") apiVersion: String, @Path(value = "referenceId") referenceId: String, @Body notifications: Notifications, @Header(value = "notificationMessage") notificationMessage: String, @Header(value = "Ocp-Apim-Subscription-Key") productSubscriptionKey: String): Response<ERROR CLASS: Symbol not found for ResponseBody>

Makes a request to send a request-to-pay delivery notification.

Return

A Response whose body contains the result of the notification request as a ResponseBody.

Parameters

productType
apiVersion

The app Version (e.g., v1_0 or v2_0).

referenceId

The request-to-pay reference ID (UUID V4).

notifications

The notification message.

notificationMessage

The message to be sent to the user.

productSubscriptionKey

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