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

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

<?php
array(
  'id' => 1,
  'uuid' => '82m09f9',
  'time' => '2014-11-18 13:44:53',
  'status' => 'waiting',
  'lang' => 'en',
  'psp' => 'Test',
  'payrexx_fee' => 0,
  'payment' => array(
    'brand' => 'VISA'
  ),
  'metadata' => Metadata,
  'invoice' => Invoice,
  'contact' => Contact,
);

Last updated