Overview

Namespaces

  • Ingenico
    • Connect
      • Sdk
        • Domain
          • Capture
            • Definitions
          • Definitions
          • Dispute
            • Definitions
          • Errors
            • Definitions
          • File
            • Definitions
          • Hostedcheckout
            • Definitions
          • Hostedmandatemanagement
            • Definitions
          • Installments
            • Definitions
          • Mandates
            • Definitions
          • MetaData
          • Payment
            • Definitions
          • Payout
            • Definitions
          • Product
            • Definitions
          • Refund
            • Definitions
          • Riskassessments
            • Definitions
          • Services
            • Definitions
          • Sessions
            • Definitions
          • Token
            • Definitions
          • Webhooks
        • Merchant
          • Disputes
          • Payments
          • Payouts
          • Productgroups
          • Products
          • Refunds
          • Services
          • Tokens
        • Webhooks

Classes

  • Captures
  • Disputes
  • Files
  • Hostedcheckouts
  • Hostedmandatemanagements
  • Installments
  • Mandates
  • Payments
  • Payouts
  • Productgroups
  • Products
  • Refunds
  • Riskassessments
  • Services
  • Sessions
  • Tokens
  • Overview
  • Namespace
  • Class
  • Deprecated

Class Refunds

Refunds client.

Ingenico\Connect\Sdk\Resource
Extended by Ingenico\Connect\Sdk\Merchant\Refunds
Namespace: Ingenico\Connect\Sdk\Merchant
Located at Ingenico/Connect/Sdk/Merchant/Refunds.php
Methods summary
public Ingenico\Connect\Sdk\Domain\Refund\FindRefundsResponse
# find( Ingenico\Connect\Sdk\Merchant\Refunds\FindRefundsParams $query, Ingenico\Connect\Sdk\CallContext $callContext = null )

Resource /{merchantId}/refunds - Find refunds

Resource /{merchantId}/refunds - Find refunds

Parameters

$query
$callContext

Returns

Ingenico\Connect\Sdk\Domain\Refund\FindRefundsResponse

Throws

Ingenico\Connect\Sdk\ValidationException
Ingenico\Connect\Sdk\AuthorizationException
Ingenico\Connect\Sdk\IdempotenceException
Ingenico\Connect\Sdk\ReferenceException
Ingenico\Connect\Sdk\GlobalCollectException
Ingenico\Connect\Sdk\ApiException
Ingenico\Connect\Sdk\InvalidResponseException

Link

Find refunds
public Ingenico\Connect\Sdk\Domain\Refund\RefundResponse
# get( string $refundId, Ingenico\Connect\Sdk\CallContext $callContext = null )

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

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

Parameters

$refundId
$callContext

Returns

Ingenico\Connect\Sdk\Domain\Refund\RefundResponse

Throws

Ingenico\Connect\Sdk\ValidationException
Ingenico\Connect\Sdk\AuthorizationException
Ingenico\Connect\Sdk\IdempotenceException
Ingenico\Connect\Sdk\ReferenceException
Ingenico\Connect\Sdk\GlobalCollectException
Ingenico\Connect\Sdk\ApiException
Ingenico\Connect\Sdk\InvalidResponseException

Link

Get refund
public null
# approve( string $refundId, Ingenico\Connect\Sdk\Domain\Refund\ApproveRefundRequest $body, Ingenico\Connect\Sdk\CallContext $callContext = null )

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

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

Parameters

$refundId
$body
$callContext

Returns

null

Throws

Ingenico\Connect\Sdk\ValidationException
Ingenico\Connect\Sdk\AuthorizationException
Ingenico\Connect\Sdk\IdempotenceException
Ingenico\Connect\Sdk\ReferenceException
Ingenico\Connect\Sdk\GlobalCollectException
Ingenico\Connect\Sdk\ApiException
Ingenico\Connect\Sdk\InvalidResponseException

Link

Approve refund
public null
# cancel( string $refundId, Ingenico\Connect\Sdk\CallContext $callContext = null )

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

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

Parameters

$refundId
$callContext

Returns

null

Throws

Ingenico\Connect\Sdk\ValidationException
Ingenico\Connect\Sdk\AuthorizationException
Ingenico\Connect\Sdk\IdempotenceException
Ingenico\Connect\Sdk\ReferenceException
Ingenico\Connect\Sdk\GlobalCollectException
Ingenico\Connect\Sdk\ApiException
Ingenico\Connect\Sdk\InvalidResponseException

Link

Cancel refund
public null
# cancelapproval( string $refundId, Ingenico\Connect\Sdk\CallContext $callContext = null )

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

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

Parameters

$refundId
$callContext

Returns

null

Throws

Ingenico\Connect\Sdk\ValidationException
Ingenico\Connect\Sdk\AuthorizationException
Ingenico\Connect\Sdk\IdempotenceException
Ingenico\Connect\Sdk\ReferenceException
Ingenico\Connect\Sdk\GlobalCollectException
Ingenico\Connect\Sdk\ApiException
Ingenico\Connect\Sdk\InvalidResponseException

Link

Undo approve refund
Methods inherited from Ingenico\Connect\Sdk\Resource
__construct(), getClientMetaInfo(), getCommunicator(), instantiateUri()
Properties inherited from Ingenico\Connect\Sdk\Resource
$context
Ingenico Connect PHP SDK API documentation generated by ApiGen