Gets transaction by partner id and reference id.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | integer | 10295 |
referenceId | required | Reference Id | string | “some-string“ |
Response information |
---|
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
400 | Bad Request | Missing required parameter referenceId. |
404 | Not Found | Transaction for partner id '{partnerId}' and reference id '{referenceId}' not found. |
Get list of transactions.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | integer | 10295 |
fromDate | required | FromDate is bottom limit. | string | Format yyyy-MM-dd|yyyy-MM-ddTHH:mm |
Response information |
---|
List of TransactionResponseV2 |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK |
Gets transaction by partner id and transaction id.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | integer | 10295 |
transactionId | required | Transaction id. | GUID | “452c1d44-5a0d-4216-b5da-a4533036e010“ |
Response information |
---|
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
404 | Not Found | Transaction with id '" + transactionId + "' not found. |
Get list of transactions.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | integer | 10295 |
recurringPaymentId | required | integer | 100 |
Response information |
---|
List of TransactionResponseV2 |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK |
Get Payment Provider Session Details
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId. Provided to you by LINK Mobility. | int | 10295 |
transactionId | required | Transaction Id | GUID | “452c1d44-5a0d-4216-b5da-a4533036e010“ |
Response information | ||||
---|---|---|---|---|
Name | Description | Data Type | Example | |
Status | Transaction status | string | “some string“ | |
"Reference | Transaction reference | string | “some string“ | |
PaymentType | payment provider | string | “some string“ | |
CustomProviderData | Custom data from the provider | object |
Creates a new transaction. Use the 'Location' http header to learn the resulting url of the created resource.
|
Request information (from body) | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
PartnerId | optional | PartnerId provided by LINK Mobility AS | integer | 10295 |
Currency | required | Currency code (ISO-4217). | string | USD |
Amount | optional | Matching regular expression pattern: ^\d+(.\d{1,2})?$ Range: inclusive between 0 and 999999.99 | decimal | 10.23 |
ReturnUrl | optional | Return url/landing page after transaction is completed. | string | some url |
StatusCallbackUrl | optional | Transaction status callback url. | string | some url |
ReferenceId | optional | Client reference id (must be unique for per client transaction if used). | string | “some-string“ |
PaymentProvider | required | Defines which Payment provider (that should be) used | string | “some-string“ |
PaymentEntity | optional | Payment entity used | string | “some-string“ |
Description | optional | General description of transaction. | string | “some-string“ |
OCR | optional | Ocr Note: | string | “some-string“ |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
409 | Conflict | Reference id '{transactionRequest.ReferenceId}' already exists. |
Verifies a phone transaction with pincode and executes it.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId provided by LINK Mobility AS | integer | 10295 |
transactionId | required | Transaction Id | GUID | “452c1d44-5a0d-4216-b5da-a4533036e010“ |
Request information (from body) | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
pinCode | required | Pincode to verify transaction | string | “some string“ |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
400 | Bad Request | Wrong pincode. Exception message. |
404 | Not Found | Transaction with id '" + transactionId + "' not found. |
Full capture authorized transaction, if transaction is not authorized it will fail.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId provided by LINK Mobility AS | integer | 10295 |
transactionId | required | Transaction Id | GUID | “452c1d44-5a0d-4216-b5da-a4533036e010“ |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
403 | Forbidden | Capture failed for transaction id: 'transactionId': Message. |
404 | Not Found | Transaction with id '" + transactionId + "' not found. |
500 | Internal Server Error | Capture failed for transaction id: 'transactionId': Message. |
Partial capture authorized transaction. Amount should be '.' separated number (123.45) if transaction is not authorized it will fail.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId provided by LINK Mobility AS | integer | 10295 |
transactionId | required | Transaction Id | GUID | “452c1d44-5a0d-4216-b5da-a4533036e010“ |
amount | required | Transaction amount | decimal | 10.25 |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
403 | Forbidden | Capture failed for transaction id: 'transactionId': Message. |
404 | Not Found | Transaction with id '" + transactionId + "' not found. |
500 | Internal Server Error | Capture failed for transaction id: 'transactionId': Message. |
Refund transaction, if money is captured it will be refunded.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId provided by LINK Mobility AS | integer | 10295 |
transactionId | required | Transaction Id | GUID | “452c1d44-5a0d-4216-b5da-a4533036e010“ |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
400 | Bad Request | Refund failed for transaction id 'transactionId': Message. |
403 | Forbidden | Refund failed for transaction id 'transactionId': Message. |
404 | Not Found | Transaction with id '" + transactionId + "' not found. |
500 | Internal Server Error | Refund failed for transaction id 'transactionId': Message. |
Cancel transaction, will fail if money is captured.
|
Request information | ||||
---|---|---|---|---|
Name | Value | Description | Data Type | Example |
partnerId | required | PartnerId provided by LINK Mobility AS | integer | 10295 |
transactionId | required | Transaction Id | GUID | “452c1d44-5a0d-4216-b5da-a4533036e010“ |
Response information | ||
---|---|---|
Status Code | Description | Message |
200 | OK | |
403 | Forbidden | Transaction id 'transactionId' is completed and can not be cancelled. |
404 | Not Found | Transaction with id '" + transactionId + "' not found. |
500 | Internal Server Error | Cancel failed for transaction id 'transactionId': Message. |