GET {Type}/transactions?partnerId={partnerId}&referenceId={referenceId}&api-version=2.0
Gets transaction by partner id and reference id.
Request Information
URI Parameters
Name | Description | Type | Required | Additional information |
---|---|---|---|---|
partnerId |
Partner id. |
integer |
Required |
|
referenceId |
Unique client reference id. |
string |
Required |
|
Type | string |
None. |
Body Parameters
None.
Response Information
Resource Description
TransactionResponseV2Name | Description | Type | Required | Additional information |
---|---|---|---|---|
TransactionId |
Unique transaction id. |
globally unique identifier |
None. |
|
CreatedDateUtc |
Date and time for creation of this transaction, in UTC. |
date |
None. |
|
PaymentTransactionId |
Payment transaction id provided by the payment implementation used. |
string |
None. |
|
Status |
Transaction status provided by the payment implementation used. |
string |
None. |
|
Success |
Whether the transaction was processed succesfully. |
boolean |
None. |
|
StatusDescription |
Description of the status (such as error description of why a transaction has status code 'Failed'). |
string |
None. |
|
StatusCode |
Tranaction status code ('Registered', 'Authorized', 'Captured', 'Failed' or 'Annulled'). |
string |
None. |
|
PaymentSetup |
Pseudo-form object graph used to generate an HTML submission form. |
PaymentSetupV2 |
None. |
|
PaymentDateUtc |
DateTime of the actual payment |
date |
None. |
|
PartnerId |
PartnerId provided by LINK Mobility AS |
integer |
Range: inclusive between 1 and 2147483647 |
|
Currency |
Currency code (ISO-4217). |
string |
Required String length: inclusive between 0 and 3 |
|
Amount |
Amount (with support for 2 decimals) |
decimal number |
Matching regular expression pattern: ^\d+(.\d{1,2})?$ Range: inclusive between 0 and 999999.99 |
|
ReturnUrl |
Return url/landing page after transaction is completed. Example: https://somedomain.net/returnToMeApp/{{referenceId}}/{{status}} |
string |
String length: inclusive between 0 and 2000 |
|
StatusCallbackUrl |
Transaction status callback url. |
string |
String length: inclusive between 0 and 2000 |
|
ReferenceId |
Client reference id (must be unique for per client transaction if used). Note: Not to be used for personal information. |
string |
String length: inclusive between 0 and 50 |
|
PaymentProvider |
Defines which Payment provider (that should be) used |
string |
Required |
|
PaymentEntity |
Payment entity used (phone number for PaymentProvider Phone or Card PAN hash for Nets). |
string |
String length: inclusive between 0 and 30 |
|
Description |
General description of transaction. |
string |
String length: inclusive between 0 and 500 |
|
Ocr |
Ocr Note: Not to be used for personal information. |
string |
String length: inclusive between 0 and 32 |
Response Formats
application/json, text/json
{ "transactionId": "a678a946-198a-4d7e-8632-208dbaf51b44", "createdDateUtc": "2025-03-11T07:54:38.6613026Z", "partnerId": 1, "currency": "NOK", "amount": 10.0, "returnUrl": "http://myshop.no/purchase/return", "referenceId": "123456789", "paymentProvider": "Nets", "description": "Billett" }