Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • RefundsClient

Index

Methods

  • Resource /{merchantId}/refunds/{refundId}/approve - Approve refund

    Parameters

    • merchantId: string
    • refundId: string
    • postData: ApproveRefundRequest
    • paymentContext: null | PaymentContext
    • cb: SdkCallback

      The callback for the response. If the call was successfull, the response body type will be null. If the call was not successful, the response body type will be ErrorResponse.

    Returns void

  • Resource /{merchantId}/refunds/{refundId}/cancel - Cancel refund

    Parameters

    • merchantId: string
    • refundId: string
    • paymentContext: null | PaymentContext
    • cb: SdkCallback

      The callback for the response. If the call was successfull, the response body type will be null. If the call was not successful, the response body type will be ErrorResponse.

    Returns void

  • Resource /{merchantId}/refunds/{refundId}/cancelapproval - Undo approve refund

    Parameters

    • merchantId: string
    • refundId: string
    • paymentContext: null | PaymentContext
    • cb: SdkCallback

      The callback for the response. If the call was successfull, the response body type will be null. If the call was not successful, the response body type will be ErrorResponse.

    Returns void

  • Resource /{merchantId}/refunds/{refundId} - Get refund

    Parameters

    • merchantId: string
    • refundId: string
    • paymentContext: null | PaymentContext
    • cb: SdkCallback

      The callback for the response. If the call was successfull, the response body type will be RefundResponse. If the call was not successful, the response body type will be ErrorResponse.

    Returns void