Skip to end of metadata
Go to start of metadata

Frontend API Endpoints

Request URL to PAYONE Frontend hosted-iFrame: https://frontend.pay1.de/frontend/v2/

The Endpoint  to Frontend Classic: https://secure.pay1.de/frontend/ should not be used for new implementations; existing implementations should be migrated

POST Request to PAYONE Frontend

You can create a Frontend-Page by sending a POST Request to our Frontend Endpoint with your desired parameters:

<form action="https://frontend.pay1.de/frontend/v2/" method=POST> 
	<input type="hidden" name="portalid" value="2000000"> 
	<input type="hidden" name="aid" value="10000"> 
	<input type="hidden" name="mode" value="test"> 
	<input type="hidden" name="request" value="authorization"> 
	<input type="hidden" name="clearingtype" value="elv"> 
	<input type="hidden" name="reference" value="1234567"> 
	<input type="hidden" name="amount" value="1499"> 
	<input type="hidden" name="currency" value="EUR">
	<input type="hidden" name="id[1]" value="1">
	<input type="hidden" name="pr[1]" value="1499">
	<input type="hidden" name="no[1]" value="1">
	<input type="hidden" name="de[1]" value="Jurassic Park">
	<input type="hidden" name="va[1]" value="19">
	<input type="hidden" name="hash" value="70eaec2a33fa1b4674c0b112f6982966"> 
	<input type=submit value="Buy now!"> 
</form>

GET Request to PAYONE Frontend

Alternatively, you can also pass the values via URL (as GET request). The example above would look like this:

https://frontend.pay1.de/frontend/v2/?aid=10000&amount=1499&clearingtype=elv&currency=EUR&de[1]=Jurassic%20Park&id[1]=1&mode=test&no[1]=1&portalid=2000000&pr[1]=1499&reference=1234567&request=authorization&va[1]=19&hash=70eaec2a33fa1b4674c0b112f6982966

The calculation of the hash value can be found here: FE - Calculation of the HASH value.

Billing several items using the „Shop" version:

Any number of items to be billed can be transferred. If the Invoicing module has been ordered, these are listed on the invoice. "n" is the location of the item. Start with n=1. Accordingly id[2],pr[2],no[2],de[2],va[2] are the parameters of item 2 etc.





  • No labels