secure

Void or cancel un-finished authorized transaction. Only transaction that not settled/captured yet can be voided.

post/void

Request

  • Base URL
    https://core.demo-paco.2c2p.com/api/2.0/Payment
  • URL
    https://core.demo-paco.2c2p.com/api/2.0/Payment/void
  • Auth
    API key in header apiKey

Request body application/jose

officeIdstring paco-CODE

Office ID

orderNostring

Order No. (a.k.a Transaction Invoice No.)

paymentIdstring uuid

Internal payment ID (UUID). Can be used as alternative to orderNo. At least one of orderNo or paymentId must be provided.

productDescriptionstring

Product Description (a.k.a. PNR)

issuerApprovalCodestring

Issuer approval code that obtained from authorization

Example request

{
  "apiRequest": {
    "requestMessageID": "e952828c-6d19-4a08-92e4-1bc47e1945a2",
    "requestDateTime": "2023-08-29T09:12:34.001Z",
    "language": "en-US"
  },
  "orderNo": "684105191128073630",
  "productDescription": "URRT55",
  "issuerApprovalCode": "657300"
}

Response

Result of void transaction

Changes

No recorded changes to this operation across all 1 revision of this API.