In the call back Instant Transaction Notification, e-nkap calls the configured notification URL.

URL

<notificationUrl>/<your_reference_id>

HTTP method

PUT


Request


Content-Type

application/json

Path Params

none

Query Params

none

Body

PaymentStatusNotificationRequest - [JSON]


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

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