For the complete documentation index, see llms.txt. This page is also available as Markdown.

Process a Refund

Process a refund to a settled charge

post: https://easypay5.com/APIcardProcNumber/v1.0.0/CardSale/ApplyCredit

Use this call to process a refund to a settled charge. You will need the Transaction ID and the amount to be refunded.

{
  "TxID": 56,
  "CreditAmount": 5
}
{
  "Transaction_ApplyCreditResult": {
    "ErrCode": 0,
    "ErrMsg": "",
    "FunctionOk": true,
    "RespMsg": "Successful Credit Pending Transaction ID : 000057",
    "TxApproved": true,
    "TxID": 57
  }
}

SessKey string required

A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.

Example: A1842D663E9A4A72XXXXXXXX303541303234373138


Content-Type string required

Example: application/json


Accept string required

Example: application/json

TxID integer optional

Transaction ID of the charge to be refunded

Example: 56


CreditAmount number ยท float optional

Amount to be refunded

Example: 5

Last updated

Was this helpful?