Skip to main content

Void

POST 

/:apiKey/void

Records a void transaction.

warning

Either referenceTransactionId or referenceUuid must be provided.

Request

Path Parameters

    apiKey stringrequired

    Possible values: <= 50 characters

    API key of connector.

Body

required

    transactionId stringrequired

    Your unique transaction ID.

    Possible values: non-empty and <= 50 characters

    Example: c5f2accd-2c37-4b2c-bb03-22d168c25a74
    referenceTransactionId string

    Reference to the related Preauthorize containing the merchant's reference (transactionId).

    Example: ed0687ad-a876-42fd-bfc2-ce7c91d9700d
    referenceUuid string

    Reference to the related Preauthorize containing the transaction reference (uuid).

    Possible values: <= 50 characters

    Example: 20230315-6d432fb7217843388847
    status TransactionStatus (string)

    Status of Transaction.

    Possible values: [success, failed, error_adapter, error_internal, cancelled]

    Default value: success
    adapterTxId string

    PSP's reference of Transaction.

    Possible values: <= 50 characters

    adapterToken string

    Token given by the adapter.

    Possible values: <= 50 characters

    createdAt date-time

    Date/Time of transaction processing, defaults to now().

    RFC 3339 Internet Date/Time Format date-time

    Default value: null
    Example: 2001-02-03T04:05:06+02:00
    additionalId1 string

    Any additional ID if required by the Adapter.

    Possible values: <= 50 characters

    additionalId2 string

    Any additional ID if required by the Adapter.

    Possible values: <= 50 characters

    merchantMetaData string

    Additional metadata for the merchant.

    Possible values: <= 255 characters

    description string

    Description of your transaction.

    Possible values: <= 255 characters

    Example: My Purchase Order 123

    extraData

    object

    Object containing key-value pairs (string-to-string), to be used by either the upstream Adapter, the Risk Engine etc.

    property name* string
    descriptor string

    Descriptor which is printed on card-holder's statement.

    Possible values: <= 50 characters

    Example: Order# 123

    error

    object

    Error/Decline reason data.

    message stringrequired

    Error message.

    Possible values: <= 60 characters

    Example: Transaction declined.
    code stringrequired

    Error code.

    Possible values: <= 20 characters

    Example: 3002
    adapter_error_message stringrequired

    Error message of PSP.

    Possible values: <= 65535 characters

    Example: Do not honour
    adapter_error_code string

    Error code of PSP.

    Possible values: <= 20 characters

    Example: 5
    created date-time

    Date and time of error, defaults to now().

    RFC 3339 Internet Date/Time Format date-time.

    Example: 2001-02-03T04:05:06+02:00

Responses

Push transaction response.

Schema

    success

    string

    required

    Whether the request was successful or not.

    Possible values: [true, false]

    uuid string

    The assigned transaction uuid.

    property name* any
Loading...