Skip to main content
Skip table of contents

Callback Instant Transaction Notification

1. With PUT request.

In the call back Instant Transaction Notification, Smobilpay for e-commerce calls the configured notification URL.

URL

<notificationUrl>/<your_reference_id>

HTTP method

PUT


Request


Content-Type

application/json

Path Params

merchantReferenceId

Query Params

none

Body

PaymentStatusNotificationRequest - [JSON]


2. With GET request.

URL

<notificationUrl>

HTTP method

GET


Request


Content-Type

application/json

Path Params

none

Query Param

tx_id

Query Param

status

Body

none


Data Types

Input Data Types:

Name

Type

Required

Maximum Length

Description

status

string

Y

25

The payment status. Possible values:
CONFIRMED - When the payment was successful and confirmed by the payment provider.
IN_PROGRESS - When the payment was submitted to the payment provider and no confirmation is received yet.
FAILED - The payment failed to be completed by the payment provider.
CANCELED - The payment was cancelled either by payment provider or due to an expiration. Please note the expiration of a payment depends on the payment provider.
CREATED - The payment order was created by the Order Placement call.
INITIALISED - The customer has been redirected to the e-nkap payment option portal successfully.


Example with PUT

Assuming the notification URL was configured as:
http://api.e-shop.maviance.de/callback
The generated URL request will be:
http://api.e-shop.maviance.de/callback/2f370df2

Request

PUT /2f370df2 HTTP/1.1
Host: api.e-shop.enkap.de/callback
Content-Type: application/json; charset=UTF-8
{
   "status": "CONFIRMED"
}


Response

HTTP/1.1 200 OK


Example with GET

Assuming the notification URL was configured as:
http://api.e-shop.maviance.de/callback


Response

HTTP/1.1 200 OK


JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.