transaction

Process a register: registers a customer's payment instrument for future use (Debit or Preauthorize)

Changed on
post/transaction/{apiKey}/register

Request

Path parameters

apiKeystring required

API Key of Connector

Request body

merchantTransactionIdstring required
additionalId1string
additionalId2string
extraDataExtraData
pspPassthroughDataPspPassthroughData
merchantMetaDatastring
successUrlstring
cancelUrlstring
errorUrlstring
callbackUrlstring
transactionTokenstring
descriptionstring
transactionIndicator'SINGLE' | 'INITIAL' | 'RECURRING' | 'FIRST-CARDONFILE' | 'CARDONFILE' | 'CARDONFILE-MERCHANT-INITIATED' | 'MOTO'
languagestring
referenceUuidstring

UUID of a previous register transaction on the same merchant. Used by the register-with-expiry-update flow to point at the existing token whose expiry date should be patched. When set together with extraData.expiryMonthUpdate / expiryYearUpdate, the request becomes a card-data-less expiry refresh — no PAN/CVV is required.

Response

Transaction response

successboolean
uuidstring
purchaseIdstring
returnType'FINISHED' | 'REDIRECT' | 'HTML' | 'PENDING' | 'ERROR' | 'PENDING_DCC'
redirectType'iframe' | 'fullpage' | '3ds'
redirectUrlstring
redirectQRCodestring

DataUrl

htmlContentstring
paymentDescriptorstring
paymentMethodstring
adapterMerchantTransactionIdstring

Adapter/PSP-side merchant transaction identifier recorded for transaction matching and reconciliation. Omitted when unavailable.

amountstring
surchargeAmountstring
gstAmountstring
totalAmountstring
adapterMessagestring
adapterCodestring
extraDataExtraData

Example response

{
  "returnData": {
    "cardUpdatedAt": "2024-05-07 00:00:00",
    "cardUpdatePausedUntil": "2024-05-07"
  }
}

Changes

    • warning

      changed the pattern of the request property // from ^[\-]?\d+$ to ^[\-\+]?\d{1,4}$

    • info

      added the new optional request property /

    • info

      added the new optional request property

    • info

      added the new Eftpos enum value to the request property /

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status