cancelAgreementPaymentRequest
inline suspend fun MarketplaceAgreementClient.cancelAgreementPaymentRequest(crossinline block: CancelAgreementPaymentRequestRequest.Builder.() -> Unit): CancelAgreementPaymentRequestResponse
Allows sellers (proposers) to cancel a payment request that is in PENDING_APPROVAL status. Once cancelled, the payment request transitions to CANCELLED status and can no longer be accepted or rejected by the buyer.
Only payment requests in PENDING_APPROVAL status can be cancelled. A ConflictException is thrown if the payment request is in any other status.