Support

Implements methods for GDPR Compliance.

APIDescription
POST api/support/forgetMe?partnerId={partnerId}&msisdn={msisdn}&api-version=2.0

GDPR Compliance. Performs a "forget me" action for the specified user. Removes or anonymizes all private information relating a given MSISDN to the given partner. This is not reversilbe.

GET api/support/getMyData?partnerId={partnerId}&msisdn={msisdn}&api-version=2.0

Fetches all transactions for a given phone number made towards a given partner. Includes all fields potentially containing private information.

GET api/support/getMyData/excel?partnerId={partnerId}&msisdn={msisdn}&api-version=2.0

Fetches all transactions for a given phone number made towards a given partner. Includes all fields potentially containing private information.

Recurring

APIDescription
POST api/recurring/subscribe?api-version=2.0

Step 1: Creates a new subscription per Msisdn

GET api/recurring/process/{partnerId}/{internalId}?api-version=2.0

Step 2: When user opens the url returned from subscription to process and will be retidecter to the Pay url (Payment provider page)

GET api/recurring/return/{partnerId}/{transactionId}?api-version=2.0

Return after Vipps payment is done by the client, but this payment is not completed yet in Vipps

DELETE api/recurring/cancel/{id}?api-version=2.0

id could be either an integer refers to recurringId or a guid refers to a memberId

GET api/recurring/subscriptions/{partnerId}/{paymentTypeId}/{from}?api-version=2.0

No documentation available.

PreTransactionReminders

The controller responsible for handling the requests regarding the pre-transaction reminders.

APIDescription
GET api/pre-transaction-reminders/{partnerId}/{preTransactionId}?api-version=2.0

Retrieves the Utc time of the reminder if existing

POST api/pre-transaction-reminders/{partnerId}/{preTransactionId}/enable/{hoursDelay}?api-version=2.0

Creates or enables a reminder for a specific partner and pre-transaction

POST api/pre-transaction-reminders/{partnerId}/{preTransactionId}/disable?api-version=2.0

Disables a reminder for a specific partner and pre-transaction

Transactions

Transactions are the actual payment transactions that have been set up and are ready to be processed.

APIDescription
POST api/transactions?api-version=2.0

Creates a new transaction. Use the 'Location' http header to learn the resulting url of the created resource.

POST api/transactions/{partnerId}/{transactionId}/pincode?api-version=2.0

Verifies a phone transaction with pincode and executes it.

GET api/transactions?partnerId={partnerId}&referenceId={referenceId}&api-version=2.0

Gets transaction by partner id and reference id.

GET api/transactions/search/{partnerId}?fromDate={fromDate}&api-version=2.0

Get list of transactions.

GET api/transactions/{partnerId}/{transactionId}?api-version=2.0

Gets transaction by partner id and transaction id.

PUT api/transactions/{partnerId}/{transactionId}/capture?api-version=2.0

Full capture authorized transaction, if transaction is not authorized it will fail.

PUT api/transactions/{partnerId}/{transactionId}/{amount}/capture?api-version=2.0

Partial capture authorized transaction. Amount should be '.' separated number (123.45) if transaction is not authorized it will fail.

PUT api/transactions/{partnerId}/{transactionId}/refund?api-version=2.0

Refund transaction, if money is captured it will be refunded.

PUT api/transactions/{partnerId}/{transactionId}/cancel?api-version=2.0

Cancel transaction, will fail if money is captured.

GET api/transactions/search/{partnerId}/{recurringPaymentId}?api-version=2.0

Get list of transactions.

GET api/transactions/{partnerId}/{transactionId}/psp-session?api-version=2.0

Get Payment Provider Session Details

Statistics

Statistics related to mobile invoices

APIDescription
GET api/statistics/{partnerId}/transactions?fromDate={fromDate}&toDate={toDate}&api-version=2.0

Returns number of sent|paid|opened mobileinvoices in the time period.

GET api/statistics/{partnerId}/paymentproviders?fromDate={fromDate}&toDate={toDate}&api-version=2.0

Returns a list of name-value pairs, where name is PaymentProvider and value is number of payed transactions in the period.

GET api/statistics/{partnerId}/totals?fromDate={fromDate}&toDate={toDate}&api-version=2.0

Total number of Sent|Paid|Opened mobileinvoice transactions.

PreTransactions

Use pre-transactions to pre-register a transaction with an option to choose payment selections by the end user. Used when you want to request a payment from a customer. Creating a Pre-Transaction typically sends an SMS Notification to the user with a link to a mobile landingpage where the user can chose payment type, for example Card or Phone payment. After the user has entered the payment information, like credit card number etc., a payment transaction is automatically performed that will deduct funds from the users preferred payment method, and the user is re-directed to a receipt page.

APIDescription
GET api/pre-transactions?partnerId={partnerId}&correlationId={correlationId}&api-version=2.0

Gets pre-transactions by correlation id (Supports OData 4.0).

POST api/pre-transactions?api-version=2.0

Creates a new pre-transaction. Use the 'Location' http header to learn the resulting url of the created resource. SmsNotificationText, SmsReceiptText, ReturnUrl, StatusCallbackUrl and SmsStatusCallbackUrl are template-based and can reference values from the pre-transaction by using this expression form: '{{propertyName}}'. Pre-transaction properties have precedence over custom property names. Pre-transaction payment selection page url can be included by using '{{paymentSelectionPageUrl}}'.

POST api/pre-transactions/ehf?partnerId={partnerId}&templateName={templateName}&api-version=2.0

Creates a new pre-transaction from EHF order. Use the 'Location' http header to learn the resulting url of the created resource.

GET api/pre-transactions/ref/{partnerId}/{referenceId}?api-version=2.0

Gets pre-transaction by partner id and pre-transaction id.

DELETE api/pre-transactions/{partnerId}/cancelSending/{preTransactionId}?api-version=2.0

Cancels the sending of a single sending if the message is not already sent

PUT api/pre-transactions/{partnerId}/{preTransactionId}/credit?api-version=2.0

Credit pre-transaction, if money is captured it will be refunded.

PUT api/pre-transactions/{partnerId}/{preTransactionId}/capture?api-version=2.0

Capture authorized pre-transaction (will fail if no auhtorized transaction exists).

PUT api/pre-transactions/{partnerId}/{preTransactionId}/paid?paymentTransactionId={paymentTransactionId}&statusDescription={statusDescription}&api-version=2.0

Set pre-transaction as paid externally through other channel

PUT api/pre-transactions/ref/{partnerId}/{referenceId}/paid?paymentTransactionId={paymentTransactionId}&statusDescription={statusDescription}&api-version=2.0

Set pre-transaction via referenceId as paid externally through other channel

POST api/pre-transactions/{partnerId}/{preTransactionId}/orderlines?api-version=2.0

Add orderlines to pre-transaction.

GET api/pre-transactions/{partnerId}/distinctviewtemplates?api-version=2.0

Gets a list of distinct view template names that has been used for a given partnerId

GET api/pre-transactions/url/{partnerId}/{referenceId}?api-version=2.0

Gets pre-transaction url by partnerId and referenceId. This method will not evaluate the existence of the pre transaction