Swiped Refund

A Refund will issue a credit back to a customers credit card account.

This request can use encrypted values (encrypted_number and encrypted_csc) that were encrypted by the PayTrace Client-Side Encryption JavaScript Library.

Request

Response

POST: /v1/transactions/refund/swiped

REQUEST:

{
  "amount": 4,
  "swipe": "%B4012881888818888^Demo/Customer^2412101001020001000000701000000?;4012881888818888=24121010010270100001?"
}

With Client-Side Encrypted Data

{
  "amount": 5,
  "encrypted_swipe": "nELVjn9xI5m/CDSThOgMSvaXuBjCg+J4fuTLbQRlVXtwRd4toMgcdHEv9SFUCXw/BmTRbN/Vb431eoW6JawR983M2TbpjEd7qgmE87Y6C2A/sjoQWfU6WQGXJI08TRZXxFtds6ksYqRckthKT89Ym8q6AuXX4UR1CH/jsA20TKGpEolA/XHfXMS72nNLMcNti0+m5W6oPik50m7qSZJl0xFxXNsgN8mrKzMGhkQHsnPGSKjN30jkAa2ne8rYfQuoZQ/M9FEZzQWUX7JlKcrlWufO54jtuSC+DeGR+6pCzUqXctaGeKhIC12BfGVGNcRQMtHVZadGqXyR708fjeJdqg=="
}

Field types: R – Required, O – Optional, C - Conditional

RESPONSE:

{
  "success": true,
  "response_code": 106,
  "status_message": "Your transaction was successfully refunded.",
  "transaction_id": 79226724,
  "external_transaction_id": ""
}