rejectAgreementPaymentRequest
inline suspend fun MarketplaceAgreementClient.rejectAgreementPaymentRequest(crossinline block: RejectAgreementPaymentRequestRequest.Builder.() -> Unit): RejectAgreementPaymentRequestResponse
Allows buyers (acceptors) to reject a payment request that is in PENDING_APPROVAL status. Once rejected, the payment request transitions to REJECTED status and cannot be accepted. Buyers can optionally provide a reason for the rejection.
Only payment requests in PENDING_APPROVAL status can be rejected. A ConflictException is thrown if the payment request is in any other status.