Download OpenAPI specification:Download
This document describes the handling of the API and the basic concepts of sending payment requests and how to get updates when a buyer paid the payments.
The API is a JSON REST API which reports every information in Realtime. There are no batch processes involved. (an additional Webhook will be released soon)
User An User can signup and us the service for free. All users are identified via the email address.
Organizations To send a payment request an user has to create an organizations, which holds the information about organization address, target iban, allowed payment methods An organization can have multiple users with different roles.
Orders and Payments The payment request is call order within the API. Every order belongs to an organization and an creator user. When a payer does a payment the order will be updated with the information regarding the payment status.

You create a new payment request (order)
POST [API]/order
{
"name": "Zahlung #123", // public name
"price": 1000000, // price in euro cent
"orgId": "abcdef", // organization id
}
// response
{
"id": "BJ8ivGHSKq", // order reference
...
}(Optional) You send the order via E-Mail
POST [API]/order/:orderid/recipient
{
"recipient" : {
"email": "mail@example.com"
}
}
//response
{ ... }Payer will receive the payment request via email (from Bezahl.de) or direct from the Dealer
Payer will choose one of the payment methods and will start the payment process
Every status update is requestable via API
GET [API]/order/:orderid
//response
{
"status": "open",
...
}For the Authentication with our System we provide a Token which you can generate at [host]/clients.
Then the user receives a token which should be provided for each Call as NX-Token Header.
curl -X GET \
https://partner.staging.sicherbezahlen.de/nxt/v1/user \
-H 'Content-Type: application/json' \
-H 'NX-Token: [token]'login
curl -X POST \
https://partner.staging.sicherbezahlen.de/nxt/v1/auth/login \
-H 'Content-Type: application/json' \
-d '{
"email": "",
"password": ""
}'grap the temporary token from the Response and put at [TOKEN]
curl -X POST \
https://partner.staging.sicherbezahlen.de/nxt/v1/auth/token \
-H 'Content-Type: application/json' \
-H 'NX-Token: [TOKEN]' \
-d '{
"expiresIn": "86400",
"description": "generic api token or put your name in it"
}'
// expiresIn: provides the expires seconds from now.
// description: any description you want to provide to the user
// response
{
"token": "[TOKEN]"
}If you have any questions, don't hesitate to contact us at dev@nx-technologies.com or our customer service at https://bezahl.de.
This can only be done by the logged in user.
| NX-Token required | string |
successful operation
This can only be done by the logged in user.
| NX-Token required | string |
successful operation
This can only be done by the logged in user.
| orgId required | string id of the organization |
| NX-Token required | string |
successful operation
This can only be done by the logged in user.
| NX-Token required | string |
successful operation
This can only be done by the logged in user.
| id required | string id of the single order |
| NX-Token required | string |
successful operation
This can only be done by the logged in user.
| NX-Token required | string |
| orgId | string id of the organization the order will be assigned |
| name | string title for the order |
| price | integer price in cent |
| pickupdate | string <date> date as UTC timestamp. |
| contactperson | string <email> The user's e-mail address, which is displayed to the buyer as a contact person. If this field is empty, the requesting user will be used. |
successful operation
This can only be done by the logged in user.
| id required | string id of the single order |
| NX-Token required | string |
| attachement | string <byte> |
successful operation
This can only be done by the logged in user.
| id required | string id of the single order |
| NX-Token required | string |
| recipient | object |
successful operation
This can only be done by the logged in user.
| NX-Token required | string |
successful operation
This can only be done by the logged in user.
| NX-Token required | string |
| orgId | string |
| url | string |
| secret | string |
successful operation
This can only be done by the logged in user.
| NX-Token required | string |
| orgId | string |
| id | string |
successful operation