Zum Hauptinhalt springen
GET
cURL

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Pfadparameter

id
string
erforderlich

Transaction identifier

Antwort

Transaction resource

id
string
read-only
Beispiel:

"ad8f1c2c-3b1c-4b0a-8b0a-0b0b0b0b0b0b"

customer
object
read-only

The customer which belongs to the transaction.

type
enum<string>
Standard:payment
read-only
Verfügbare Optionen:
payment,
refund
Beispiel:

"payment"

paymentMethod
object
read-only

The payment method which was used for this transaction.

gateway
any
read-only

The payment gateway which was used for this transaction.

Possible values:

  • paypal: PayPal (supports "paypal")
  • stripe: Stripe (supports "card")
  • testing: Testing (supports all)
  • go_cardless: GoCardless (supports "sepa_debit")
  • bank_transfer: Bank Transfer (supports "bank_transfer")
  • sepa_debit: SEPA Credit and Debit with xml file (supports "sepa_debit")
  • wallet: Credit Balance from Wallet (supports "wallet")
Beispiel:

"bank_transfer"

status
any
read-only

The status of the transaction.

Possible values:

  • new: The transaction is new and not yet processed. A new transaction is created when a payment is initiated.
  • authorized: The transaction is authorized and can be captured.
  • authorizing: The transaction is authorizing. No actions can be performed on the transaction.
  • waiting: The transaction is waiting for a response from the payment provider, or a customer input. No actions can be performed on the transaction.
  • offsite_authorization_required: The transaction requires an offsite authorization, e.g. 3D Secure. The customer is informed about the required authorization and redirected to the payment provider.
  • booked: The transaction is captured and booked on the account.
  • captured: The transaction is captured and will be booked on the account.
  • dispute: The transaction is disputed.
  • manual: Legacy status. Do not use.
  • canceled: The transaction is canceled, e.g. by the customer during the payment process, or by the merchant.
  • pending: The transaction is pending, and will be processed soon by the payment provider.
  • expired: The transaction is expired, e.g. because the customer did not complete the payment process in time.
  • processing: The transaction is processing, e.g. because the payment provider is currently processing the payment.
  • failed: The transaction failed, e.g. because the payment provider could not process the payment.
  • unknown: The transaction status is unknown.
  • refunded: The transaction is fully refunded.
  • payedout: The transaction was a payout.
  • partial_refunded: The transaction is partially refunded.
  • refund_failed: The transaction refund failed.
Beispiel:

"new"

description
string
read-only

The description of the transaction.

Beispiel:

"Payment for invoice #123"

documentNumber
string
read-only

The internal reference number of the transaction.

Beispiel:

"123456789"

currencyCode
string
read-only

The currency code of the transaction.

Beispiel:

"EUR"

amount
integer
read-only

The original amount which was requested.

Beispiel:

500

refundedAmount
integer
read-only

The amount which was refunded.

chargedAmount
integer
read-only

The amount which was charged to the payment method.

Beispiel:

500

feeAmount
integer | null
read-only

The amount of the transaction fee.

Beispiel:

50

createdAt
string<date-time>
read-only

The date when the transaction was created.

paidAt
string<date-time> | null
read-only

The date when the transaction was charged.

authorized
boolean
read-only

Describes if the transaction is authorized and can be captured.

Beispiel:

true

refundable
boolean
read-only

Describes if the transaction is refundable.

Beispiel:

true

processing
boolean
read-only

Describes if the transaction is currently processing and cannot perform any actions.

Beispiel:

true

captured
boolean
read-only

Describes if the transaction is sucessful processed.

Beispiel:

true

invoice
object | null

The invoice which belongs to the transaction. Can be null if the transaction is not related to an invoice.

referenceId
string | null
read-only

The reference id of the payment provider.

Beispiel:

"ch_1J3AJ2"