Technical Documentation
Here you will find documentation for all Greiðslumiðlun APIs. The main API is referred to as our external API . Current version Swagger can be found here → https://api.pei.is/docs/ui/index
Quick glance list
For testing create bearer token using https://authstaging.pei.is/core/connect/token
grant_type=
client_credentials
scope=
externalapi
Basic auth:
clientId=
democlient
secret=
demosecret
When testing using the democlient, use merchantId 4
API for testing: https://externalapistaging.pei.is
Testing Greiðslugátt URL: https://gattinstaging.pei.is
API documentation:
https://api.pei.is/docs/ui/index
https://externalapistaging.pei.is/docs/ui/index
The most typical workflow - Create an order
Authenticate using
POST https://auth.pei.is/core/connect/token
, with relevant input parameters to get an bearer token.Create an order using
POST https://api.pei.is/api/orders
and get anorderId
from the response.Redirect buyer to
https://gattin.pei.is/{{orderId}}
to complete the order payment.