Computop API calls

Edit on GitHub

Authorization Call:

  • Authorize money.
  • There is no partial authorization. Please make one API call to make authorization for all items in the order.
  • It is not possible to Authorize a higher amount than in the ORDER.

Inquire Call:

Status inquiries within Paygate give detailed information about the amounts that are actually authorized, captured or credited. Especially before executing reversals via the interface reverse.aspx it is recommended to check the transaction status with inquire.aspx because Reverse.aspx re-verses not only authorizations but ALWAYS THE LAST TRANSACTION STEP.

Reverse Call:

  • Reverse.aspx does not only reverse authorizations, but also any LAST TRANSACTION STAGE! If the last transaction was a capture, Reverse.aspx initiates the reverse, e.g. a credit. Therefore, the utmost caution is urged. Use it at your own risk. We recommend checking the transaction status with Inquire.aspx before using Reverse.aspx.
  • Use it just after “Inquire” call if it returns the previous action as “Authorization”.

Capture Call:

  • Capture money.
  • Shipment price is captured with the first capture request.
  • Please contact the helpdesk, if you want to capture amounts < 100 (the smallest currency unit).
  • It is not possible to capture a higher amount than in the ORDER or Auth.

Refund Call:

  • Refund money.
  • The merchant has the chance to refund more money to the customer than captured.
  • Shipment price will be refunded with the last possible refund request. If You do not need to refund shipment price:
    • Create Pyz\Zed\Computop\ComputopConfig.
    • Extend it from original SprykerEco\Zed\Computop\ComputopConfig.
    • Update isRefundShipmentPriceEnabled method (set up “false”).