Transaction

Webhook Content

Status values

  • waiting: Order placed

  • confirmed: Successful payment

  • cancelled: Aborted by customer

  • declined: Failed 3D secure auth or declined by issuer bank

  • authorized: Successful tokenization

  • reserved: Successful reservation

  • refunded: Full refund

  • partially-refunded: Partial refund

  • refund_pending: Refund is beeing processed

  • chargeback: Card holder returns money

  • error: An issue happened during the payment process

Key

Type

Description

id

int

Internal transaction ID

psp

string

lang

string

ISO 639-1 of shopper language

mode

string

Transaction mode

time

datetime

Date and time of transaction creation

uuid

string

Public transaction ID

pspId

int

amount

int

Transaction amount

status

string

Transaction status

contact

Described in the given doc

metadata

Described in the given doc

invoice

Described in the given doc

payment

array

Payment mean array -brand (string) -cardNumber (truncated PAN) -expiry (YY-MM)

pageUuid

string

Public page tool identifier

payrexx_fee

int

The transaction fee charged by Payrexx (does not include fees from acquiring or interchange fees)

referenceId

string

Custom reference

preAuthorizationId

int

The ID of the origin pre-authorization transaction

originalTransactionId

int

Set on refund transactions

originalTransactionUuid

string

Set on refund transactions

purchaseOnInvoiceInformation

array

Information on where to transfer the money for bank transfer payments.

All amounts or fees are always provided in the smallest unit of the transaction currency

<?php
[
  'id' => 1,
  'uuid' => '82m09f9',
  'time' => '2014-11-18 13:44:53',
  'status' => 'waiting',
  'lang' => 'en',
  'psp' => 'Test',
  'payrexx_fee' => 0,
  'payment' => [
    'brand' => 'VISA',
    'wallet'=> null,
    'purchaseOnInvoiceInformation' => [
      'zip' => '3600',
      'iban' => 'CH7431101111011000246',
      'place' => 'Thun',
      'swift' => 'KLARCH22XXX',
      'address' => 'Burgstrasse 20',
      'company' => 'Payrexx AG',
      'bankName' => 'Klarpay AG',
      'reference' => '287133000000000000000128000'
    ]
  ],
  'metadata' => Metadata,
  'invoice' => Invoice,
  'contact' => Contact,
];

Last updated