The content type must be set to "application/x-www-form-urlencoded".
The data transfer is based on HTTPS-POST request (key/value pairs).
|
Our sample request throughout the docs favor readability over technical accuracy, so we'll show the sample requests as multiple lines, even though the content is technically x-www-form-urlencoded.
The return of the data is based on a line-by-line basis. The name of the parameter is separated from the parameter value with an equal sign ("=").
|
The requests must be sent to the following URL:
API URL: https://api.pay1.de/post-gateway/
The following parameters are mandatory for each request:
request
required
|
Format LIST
|
|||||||||||||||
mid
required
|
Format NUMERIC(5..6)
Merchant ID, defined by PAYONE |
|||||||||||||||
aid
required
|
your subaccount ID, 5-digit numeric
|
|||||||||||||||
portalId
required
|
Format NUMERIC(7)
Portal ID, defined by PAYONE |
|||||||||||||||
mode required
|
Format LIST
Mode for transactions, either ‘live’ or ‘test’ |
|||||||||||||||
encoding optional
|
Format LIST
The type of character encoding used in the request. |
|||||||||||||||
api_version required
|
Format LIST
New parameter api_version should be added to current implementations as it will be mandatory in future. |
|||||||||||||||
key
required
|
Format CHAR(1..32) lowercase
Permitted Symbols [0-9,a-z]
Payment portal key as MD5 value. The key is used to check the authentification of the sender (either your system for sending requests or PAYONE platform for sending notifications). |
Host: api.pay1.de Content-Type: application/x-www-form-urlencoded