Documentation Index
Fetch the complete documentation index at: https://docs.plude.io/llms.txt
Use this file to discover all available pages before exploring further.
Quickpay is a Danish payment provider supported various means of payment methods including VISA, Mastercard and Swiss.
Introduction
Our integration with Adyen support the following payment methods:
Credit card
Klarna
Apple & Google Pay
iDeal & SEPA
VISA, Mastercard, Maestro, Dankort.
Supported
Supported
Supported
Getting started
Sign up for an Quickpay account, using the following link.
Enabling Quickpay
Before enabling Quickpay, you will need to collect your apikey.
To enable Quickpay as a payment provider, use the following snippet:
curl -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {your_token_here}" \
-H "X-environment: {your_environment_id_here}" \
-H "X-version: 2022-03" \
-d '{ "name": "quickpay" }' \
https://api.plude.io/paymentproviders/
You will receive a response as follows:
{
"url" : "https://go.plude.io/t/sQgzPzNDnDeWLiGvVWZQKX",
"expires" : "2022-11-07T22:30:05+00:00"
}
Follow the url parameter and complete the authorization page with your Quickpay apikey. You can retrieve the newly configured payment provider by issuing a request using this snippet:
curl -H "X-version: 2022-03" \
-H "Authorization: Bearer your_token_here"
-H "X-environment: {your_environment_id_here}" \
-H "X-version: 2022-03" \
https://api.plude.io/paymentproviders/
You will receive a response as follows:
{
"results" : [
{
"id" : "d64acb1b-4d34-42ee-b888-f59ec0ef9fd0",
"name" : "quickpay",
"status" : "active"
..
}
]
}
Configuring Quickpay
Nothing to configure.
Payment methods
Adding a Credit card
To add a credit card payment method to a Customer, use the following snippet:
curl -X PUT \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {your_token_here}" \
-H "X-environment: {your_environment_id_here}" \
-H "X-version: 2022-03" \
-d '{ "provider": "quickpay", "redirect" : "(your redirect url here)" }' \
https://api.plude.io/customers/{552dabcf-31e5-4998-9d24-0689448ae7cf}/paymentmethods/
Your request will return the following response:
{
"url" : "https://www.quickpay.com/...",
"session" : "fc1aa9d4-df96-4088-b1e4-3bb78bc761b0"
}
Redirect the user to the provided URL. The user will be redirected to an Quickpay hosted page, and must complete the payment method instructions. Once completed, the user is redirected to the redrect url provided in the initial request.
You will get the following response:
{
"message" : "Payment method created"
}