Refunds

API Endpoint

The example below you can send the data as Query String Parameters, Form-Data or WWW Form URL Encoded attributes.

POST https://api.openpath.io/api/transact.php

type=refund
username=TZSdpU2VhaWcTZZ7
password=hsStGpREZVrG2M3Fkdqxwy4h
customer_vault_id=payment_eck3Nc3ACdP73H7Xr3TayT3hRA9WX7P49MWNhqeq7A449Pc2
amount=19.95

Name

Attribute

Description

Type

type

The type of transaction to be processed. REQUIRED
Values: refund

Username

username

This is the API Login ID from your Site Path. REQUIRED

Password

password

This is the Transaction Key from your Site Path. REQUIRED

Transaction ID

transactionid

The original Transaction ID to Refund against. REQUIRED

Amount

amount

The amount to refund the consumer. If no amount is supplied, then the Refund will be for the full amount. optional