Refund

Refund a previously captured payment. A refund can be performed on the following transactions:

  • Purchase / Sale
  • Capture
Body Params
string
required

Unique reference number generated by P3 from a previous purchase or capture transaction.

string

Deprecated. Unique reference number generated by P3 from a previous successful Payment or Capture request. Use transactionReferenceNo instead.

merchant
object
required

Information about the merchant performing the request for the cardholder.

amount
object
required
string
required
length ≤ 512

Short description of the reason why the transaction is being refunded.

trace
object

Values supplied by the transaction originator / terminal that can be used for reconciliation of transactions

Headers
string
required
length between 12 and 36

A reference number sent by the API caller to tag the transaction in P3.

string

An id that marks the transmission/re-transmission for idempotency checks and identifies this transmission separately from other reference numbers

number

A geographic coordinate that specifies the east–west position of a point on the Earth's surface

number

A geographic coordinate that specifies the north-south position of a point on the Earth's surface

Responses

202

message and code in response body for more information

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json