Looking for ePay classic docs? Go to docs.epay.dk
ePay documentationDocsePay documentation

TransactionResponse

idstring

The ID of the transaction

Example:
"LDG7M4WW44G"
subscriptionIdstring
Nullable

The ID of the associated subscription

Format:
uuid
Example:
"0197c07b-3f6d-7be2-b848-702b08958128"
billingAgreementChargeIdstring
Nullable
Format:
uuid
Example:
"019a727b-987f-7768-a59e-71af920ef81f"
statestring
Possible values:
"PENDING""PROCESSING""SUCCESS""FAILED"
errorCodestring
Nullable
createdAtstring

The time of creation

Format:
date-time
sessionIdstring
Nullable
paymentMethodIdstring

The ID of the associated payment method

Format:
uuid
paymentMethodTypePaymentMethodType

The type of the payment method.

Possible values:
"CARD""VIPPS_MOBILEPAY""MOBILEPAY_ONLINE""APPLE_PAY""GOOGLE_PAY""SWISH""VIABILL""ANYDAY""KLARNA"
Example:
"CARD"
paymentMethodSubTypestring
Nullable
Possible values:
"Visa""Mastercard""Maestro""Dankort""VisaDankort""Discover""UnionPay""Electron""Amex""JCB"
Example:
"Visa"
paymentMethodExpirystring
Nullable
Format:
date
paymentMethodDisplayTextstring
paymentMethodHolderNamestring
Nullable
scaModestring

The SCA mode of the transaction.

Possible values:
"SKIP""NORMAL""FORCE"
customerIdstring
Nullable
amountinteger
feeinteger
currencystring
instantCapturestring

The instant capture mode.

Possible values:
"OFF""VOID""NO_VOID"
notificationUrlstring
Format:
uri
Length:
length <= 1024
pointOfSaleIdstring

The ID of the associated point of sale

Format:
uuid
referencestring
Nullable
textOnStatementstring
Nullable

The text to show on the cardholder bank statement

Length:
1 <= length <= 39
Example:
[ "LVT", "TRA" ]
[key: string]unknown
clientIpstring
Example:
"52.212.176.122"
clientCountrystring
Example:
"DK"
typestring

The type of transaction.

Possible values:
"PAYMENT""PAYOUT""MOTO"
TransactionResponse
{  "transaction": {    "id": "LDG7M4WW44G",    "subscriptionId": "0197c07b-3f6d-7be2-b848-702b08958128",    "billingAgreementChargeId": "019a727b-987f-7768-a59e-71af920ef81f",    "state": "PENDING",    "errorCode": "string",    "externalStatusCodes": {      "terminal": "string",      "acquirer": "string",      "network": "string",      "sca": "string"    },    "createdAt": "2019-08-24T14:15:22Z",    "sessionId": "string",    "paymentMethodId": "b6df8625-cd25-4123-b345-638aa7b5d011",    "paymentMethodType": "CARD",    "paymentMethodSubType": "Visa",    "paymentMethodExpiry": "2019-08-24",    "paymentMethodDisplayText": "string",    "paymentMethodHolderName": "string",    "scaMode": "SKIP",    "customerId": "string",    "amount": 0,    "fee": 0,    "currency": "string",    "instantCapture": "OFF",    "notificationUrl": "http://example.com",    "pointOfSaleId": "be6bff4f-7fac-43c0-9f6b-cf2cd45ed7d1",    "reference": "string",    "textOnStatement": "string",    "exemptions": [      "LVT",      "TRA"    ],    "attributes": {      "property1": null,      "property2": null    },    "clientIp": "52.212.176.122",    "clientCountry": "DK",    "type": "PAYMENT"  }}