Better Payment 0.11.1 API
    Preparing search index...

    Interface RefundRequest

    Refund request

    interface RefundRequest {
        conversationId?: string;
        currency: string;
        ip: string;
        paymentId: string;
        paymentTransactionId?: string;
        price: string;
    }
    Index
    conversationId?: string
    currency: string
    ip: string
    paymentId: string

    The paymentId returned by the payment (iyzico); the order id for other providers

    paymentTransactionId?: string

    iyzico only: refund one basket item by its paymentTransactionId (from itemTransactions) instead of the payment as a whole.

    price: string