- Created by PAYONE Admin on 2019-05-03
Introduction
For processing a purchase transaction in connection with session management or with initiating a subscription.
This request is only available with the version "Access".
Important notes
- For the time-based settlement of goods or subscriptions you must first create offers in your merchant area.
- You have the option to submit values that overwrite the settings for the offer used (e.g. price, term, etc.). These optional submitted values will be used for all following periods of this contract. The original offer is not changed.
- If the time at which access is first granted is in the future or the initial term is free of charge, a reservation, which will later be cancelled automatically, is carried out. The amount for the reservation is one payment unit (e.g. 1 EUR). This procedure is simply used to verify the customer's payment data and to check the customer data using risk checks, provided that these are active. The first "real" booking will be effected at the start of the first period that requires a charge.
- The periods (defined by “period_unit_trail”, “period_length_trail”, “period_unit_recurring”, “period_length_ recurring”) are limited to 60 months.
Request "createaccess" | ||||||||||||||||||||||||||||||||||||
Common Pararameter | Required | Format | Comment | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
+ |
Sub-Account ID, defined by PAYONE Format NUMERIC(5..6)
| |||||||||||||||||||||||||||||||||||
+ |
Format LIST
| |||||||||||||||||||||||||||||||||||
+ |
Merchant reference number for the payment process (case insensitive) Format CHAR(1..20) Permitted Symbols
| |||||||||||||||||||||||||||||||||||
+ |
ID for the offer Format NUMERIC(1..7)
| |||||||||||||||||||||||||||||||||||
- |
Individual parameter (per payment process) This parameter is passed on to all follow-up bookings of the same contract Format CHAR(1..255)
| |||||||||||||||||||||||||||||||||||
- |
Customer's user name Format CHAR(1..32)
| |||||||||||||||||||||||||||||||||||
- |
Customer's password Format CHAR(1..32)
| |||||||||||||||||||||||||||||||||||
- |
Access starting date as Unixtimestamp Format Unixtimestamp
| |||||||||||||||||||||||||||||||||||
- |
Can be
Format Unixtimestamp
| |||||||||||||||||||||||||||||||||||
- |
Date of cancellation as Unixtimestamp in the future (after this date no further renewals will be carried out) Format Unixtimestamp
| |||||||||||||||||||||||||||||||||||
o |
Total gross amount for initial term Must equal the sum (quantity x price) of all items for the initial term. Required when item is submitted. Amount can be "0" (e.g. for test period). Format NUMERIC(1..8), max. value 999 999 99
| |||||||||||||||||||||||||||||||||||
- |
Time unit for initial term Do not use with “access_expiretime”. Do not exceed 5 years / 60 months. Format LIST
| |||||||||||||||||||||||||||||||||||
o |
Duration of the initial term. Can only be used in combination with period_unit_trail. Required when period_unit_trail is submitted. Do not use with “access_expiretime” Format NUMERIC(1..4)
| |||||||||||||||||||||||||||||||||||
o |
Total gross amount of all items of one period during the subsequent term Must equal the sum (quantity x price) of all items during the subsequent term. Required when item is submitted. Amount must not be "0". Format NUMERIC(1..8), max. value 999 999 99
| |||||||||||||||||||||||||||||||||||
- |
Time unit for subsequent term Do not exceed 5 years / 60 months. Format LIST
| |||||||||||||||||||||||||||||||||||
o |
Duration of the subsequent term. Can only be used in combination with period_unit_recurring. Required when period_length_recurring is submitted. Format NUMERIC(1..4)
| |||||||||||||||||||||||||||||||||||
Parameter ( module billing ) | ||||||||||||||||||||||||||||||||||||
+ |
ID/name of the merchant's billing account Format CHAR(1..20) Permitted Symbols
| |||||||||||||||||||||||||||||||||||
+ |
Length of the accounting period Format NUMERIC(1..3)
| |||||||||||||||||||||||||||||||||||
+ |
Time unit of the accounting period Format LIST
| |||||||||||||||||||||||||||||||||||
- |
Date for the next invoicing Unixtimestamp in the future. Format Unixtimestamp
| |||||||||||||||||||||||||||||||||||
- |
Credits will be booked on the most recent payment process. Format LIST
| |||||||||||||||||||||||||||||||||||
Parameter ( module Invoicing ) | ||||||||||||||||||||||||||||||||||||
- |
Parameter defines how documents like invoice, credit notes and reminders should be sent to the customer. Format LIST
| |||||||||||||||||||||||||||||||||||
- |
Dynamic text on the invoice Format CHAR(1..255)
| |||||||||||||||||||||||||||||||||||
+ |
Product number, order number, etc. of this item (initial term) Format CHAR(1..32) Array Array elements [n] starting with [1]; serially numbered; max [100] Permitted Symbols
[0-9][A-Z][a-z][()[]{} +-_#/:]
| |||||||||||||||||||||||||||||||||||
+ |
Quantity of this item (initial term) Format NUMERIC(5) Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
+ |
Unit gross price of the item (initial term) in smallest unit. Format NUMERIC(8) max. 999 999 99 Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
+ |
Description of this item (initial term) Format CHAR(1..255) Array Array elements [n] starting with [1]; serially numbered; max [100]
Example Expand source
de[1]=Product 1 de[2]=Product 2 de[3]=Product 3 ... de[100]=Product 100
| |||||||||||||||||||||||||||||||||||
- |
VAT rate (% or bp) (first term) Format NUMERIC(4) Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
- |
Title (initial term) Format CHAR(1..100) Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
+ |
Product number, order number, etc. of this item (subsequent term) Format CHAR(1..32) Array Array elements [n] starting with [1]; serially numbered; max [100] Permitted Symbols
[0-9][A-Z][a-z][()[]{} +-_#/:]
| |||||||||||||||||||||||||||||||||||
+ |
Quantity of this item (subsequent term) Format NUMERIC(5) Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
+ |
Unit gross price of the item (subsequent term) in smallest unit. Format NUMERIC(8) max. 999 999 99 Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
+ |
Description of this item (subsequent term) Format CHAR(1..255) Array Array elements [n] starting with [1]; serially numbered; max [100]
Example Expand source
de[1]=Product 1 de[2]=Product 2 de[3]=Product 3 ... de[100]=Product 100
| |||||||||||||||||||||||||||||||||||
- |
VAT rate (% or bp) (subsequent term) Format NUMERIC(4) Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
- |
Title (subsequent term) Format CHAR(1..100) Array Array elements [n] starting with [1]; serially numbered; max [100]
| |||||||||||||||||||||||||||||||||||
Parameter ( personal data ) | ||||||||||||||||||||||||||||||||||||
- |
Merchant's customer ID, defined by you / merchant to refer to the customer record Format CHAR(1..20) Permitted Symbols
[0-9, a-z, A-Z, .,-,_,/]
| |||||||||||||||||||||||||||||||||||
- |
PAYONE User ID, defined by PAYONE Format NUMERIC(6..12)
| |||||||||||||||||||||||||||||||||||
- |
The customer's salutation Format CHAR(1..10)
| |||||||||||||||||||||||||||||||||||
- |
Title of the customer Format CHAR(1..20) Samples Dr Prof. Dr.-Ing.
| |||||||||||||||||||||||||||||||||||
o |
First name of customer; optional if company is used, i.e.: you may use
Format CHAR(1..50)
| |||||||||||||||||||||||||||||||||||
+ |
Last name of customer; optional if company is used, i.e.: you may use
Format CHAR(2..50)
| |||||||||||||||||||||||||||||||||||
- |
Company name of customer; The company name is optional if lastname is used, i.e.: you may use
Format CHAR(2..50)
| |||||||||||||||||||||||||||||||||||
- |
Street number and name (required: at least one character) Format CHAR(1..50)
| |||||||||||||||||||||||||||||||||||
addressaddition | - |
Specifies an additional address line for the invoice address of the customer. Format CHAR(1..50) Samples 7th floor c/o Maier
| ||||||||||||||||||||||||||||||||||
- |
Postcode Format CHAR(2..10) Permitted Symbols
[0-9][A-Z][a-z][
| |||||||||||||||||||||||||||||||||||
- |
City of customer Format CHAR(2..50)
| |||||||||||||||||||||||||||||||||||
+ | ||||||||||||||||||||||||||||||||||||
- |
email-address of customer Format CHAR(5..254) Permitted Symbols
RFC 5322 Special Remark email validation: Max. length for email is 254 characters. Validation is set up in the following way:
Example: username[63]@domain_name[63].suffix[60].suffix[60].suffix[4] "@" and "." is counted as a character as well; in case of a total of three suffixes, this would allow a total of 254 characters.
| |||||||||||||||||||||||||||||||||||
- |
Phone number of customer Format CHAR(1..30)
| |||||||||||||||||||||||||||||||||||
- |
Date of birth of customer Format DATE(8), YYYYMMDD Samples 20190101 19991231
| |||||||||||||||||||||||||||||||||||
- |
Language indicator (ISO 639) to specify the language that should be presented to the customer (e.g. for error messages, frontend display). If the language is not transferred, the browser language will be used. For a non-supported language English will be used. Format LIST Permitted values ISO 639-1 (Language) 2-letter-codes
| |||||||||||||||||||||||||||||||||||
- |
VAT identification number. Used for b2b transactions to indicate VAT number of customer. Format CHAR(1..50)
| |||||||||||||||||||||||||||||||||||
- |
Customer's IP-V4-address (123.123.123.123) or IP-V6-address Format CHAR(1..39)
| |||||||||||||||||||||||||||||||||||
Parameter ( debit payment ) | ||||||||||||||||||||||||||||||||||||
o |
IBAN to be used for payment or to be checked Format CHAR(10..34) Permitted Symbols
[0-9][A-Z]
| |||||||||||||||||||||||||||||||||||
o |
Bank Identifier Code to be used for payment or to be checked Format CHAR(8 or 11) Only capital letters and digits, no spaces Permitted Symbols
[0-9][A-Z] BIC is optional for all Bank transfers within SEPA. For Accounts from Banks outside of SEPA, BIC is still required.
| |||||||||||||||||||||||||||||||||||
o |
Account type/ country for use with BBAN (i.e. bankcode, bankaccount): DE DE: Mandatory with bankcode, bankaccount, optional with IBAN For other countries than DE please use IBAN or IBAN/BIC Format LIST
| |||||||||||||||||||||||||||||||||||
o |
Account number (BBAN)
Format NUMERIC(1..10)
| |||||||||||||||||||||||||||||||||||
o |
Sort code (BBAN) (only in DE)
Format NUMERIC(8)
| |||||||||||||||||||||||||||||||||||
- |
Account holder Format CHAR(1..50)
| |||||||||||||||||||||||||||||||||||
o |
A SEPA mandate can be created if a payment is initiated (amount > 0). Can be used to enforce a merchant specific mandate identification. The mandate_identification has to be unique. Format CHAR(1..35) Permitted Symbols
[A-Z,a-z,0-9,+,-,.,(,)] If the mandate_identification is not set PAYONE will create an unique mandate identification (pattern: PO-nnnnnnnnnn). PPS (PAYONE Payment Service): This parameter must not be used! For PPS the PAYONE platform defines the mandate_identification
| |||||||||||||||||||||||||||||||||||
Parameter ( credit card ) | ||||||||||||||||||||||||||||||||||||
+ |
Primary account number of credit card Format NUMERIC(13..19)
| |||||||||||||||||||||||||||||||||||
+ |
Card type of credit card Format LIST
*girocard is currently only viable for e-commerce-payments via Apple Pay.
| |||||||||||||||||||||||||||||||||||
+ |
Credit card expiry date YYMM Format NUMERIC(4), YYMM
| |||||||||||||||||||||||||||||||||||
o |
Credit card security number Format NUMERIC(3..4) For SAQ A compliance: PAYONE Frontend hosted iFrame must be used. This parameter must not be used.
| |||||||||||||||||||||||||||||||||||
- |
Card issue number (only Maestro UK cards) Format NUMERIC(1..2)
| |||||||||||||||||||||||||||||||||||
- |
Cardholder of credit card. Format CHAR(1..50)
| |||||||||||||||||||||||||||||||||||
o |
Pseudo primary account number for a credit card. Format NUMERIC(16..19)
| |||||||||||||||||||||||||||||||||||
Parameter ( 3-D Secure ) | ||||||||||||||||||||||||||||||||||||
+ |
3-D Secure transaction ID (if the request "3dscheck" was used previous transactions), i.e.:
Format CHAR(1..60)
| |||||||||||||||||||||||||||||||||||
- |
3-D Secure authentication value Format CHAR(1..40)
| |||||||||||||||||||||||||||||||||||
- |
3-D Secure e-commerce indicator Format CHAR(1..2)
| |||||||||||||||||||||||||||||||||||
customer_is_present | o |
Indicates whether customer is “present” and can enter their data in the shop (=yes). Or customer is not present and can not enter any data (=no). Format LIST Permitted Values yes no
| ||||||||||||||||||||||||||||||||||
successurl | + | For the creation of a contract (createaccess) a cardholer authentication is required for clearingtype = cc. In order to trigger a 3-D Secure authentication, the paramters successurl, errorurl, and backurl have to be provided in the request.
Additional Information If successurl, errorurl, and backurl are not provided, no 3-D Secure authentication will happen and it is very likely that the issuer will soft-decline the transaction (errorcode -120). In the future, createaccess requests without those parameters or with empty values will be declined by the Client- and Server-API.
Format for URLs: Format CHAR(2..255) Scheme <scheme>://<host>/<path> <scheme>://<host>/<path>?<query> scheme-pattern: [a-zA-Z]{1}[a-zA-Z0-9]{1,9}
| ||||||||||||||||||||||||||||||||||
errorurl | + | |||||||||||||||||||||||||||||||||||
backurl | + |
Response "createaccess" | |||
---|---|---|---|
Common Parameter | Required | Format | Comment |
status | + | Default | APPROVED / REDIRECT / PENDING / ERROR |
Parameter (APPROVED) | |||
+ |
The txid specifies the payment process within the PAYONE platform Format NUMERIC(9..12)
| ||
+ |
PAYONE User ID, defined by PAYONE Format NUMERIC(6..12)
| ||
+ |
Access ID, defined by PAYONE Format NUMERIC(3..12)
| ||
Parameter (REDIRECT) | |||
txid | + |
The txid specifies the payment process within the PAYONE platform Format NUMERIC(9..12)
| |
userid | + |
PAYONE User ID, defined by PAYONE Format NUMERIC(6..12)
| |
redirecturl | + |
Redirect URL → zMerchant system has to redirect customer to this URL to complete payment Format CHAR(2..2000)
| |
Parameter (PENDING) | |||
+ |
The txid specifies the payment process within the PAYONE platform Format NUMERIC(9..12)
| ||
+ |
PAYONE User ID, defined by PAYONE Format NUMERIC(6..12)
| ||
+ |
Access ID, defined by PAYONE Format NUMERIC(3..12)
| ||
Parameter (ERROR) | |||
+ |
In case of error the PAYONE Platform returns an error code for your internal usage. Format NUMERIC(1..6)
| ||
+ |
In case of error the PAYONE Platform returns an error message for your internal usage. Format CHAR(1..1024)
| ||
- |
The customermessage is returned to your system in order to be displayed to the customer. (Language selection is based on the end customer's language, parameter "language") Format CHAR(1..1024)
|
- No labels