Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Page Properties
hiddentrue

Status

Status
colourGreen
titleapproved

Approver

Pavel Shkadzko

General Information

Authentication

Only authenticated users can make API requests. The Gini API uses the OAuth 2.0 protocol with bearer tokens for authentication from untrusted devices and a simplified authentication scheme for trusted devices/systems (backend or gateway) based on basic auth.

In order to use the API in your application, register your application with Gini. Afterwards, your application should request an access token from the Gini Authorization Server and use it to access the Gini Pay API.

Security

The Gini Pay API is only accessible over HTTPS. Make sure your application validates the relevant X.509 certificates, such as, common name matches hostname or issuing CA is trusted. The Gini Pay API and User Center are accessible from legacy IPv4 and IPv6 networks. The protocol precedence depends on your operating system and configuration if both protocols are enabled.

Code Block
languagejson
//IPv6 compatibility example

    $ host pay-api.gini.net
    pay-api.gini.net has address 46.245.182.123
    pay-api.gini.net has IPv6 address 2a00:14e0:600:1500:d0c5::7

    $ host user.gini.net
    user.gini.net has address 46.245.182.124
    user.gini.net has IPv6 address 2a00:14e0:600:1500:d0c5::2

Rw pagetree macrotitleSection overviewrootPage@currentWelcome! Follow along these pages to configure your application and start using the Gini Pay API.

Rw ui steps macro
Rw step

Start with authentication and security topics

Rw step

then find out how to send your documents for processing

Rw step

retrieve results

Rw step

and send back the transfer summary

Rw step

Learn how to manage user accounts and why it is important

Rw step

If you’re migrating from the old API, make sure you check out the migration page as well.

...

Once you read and complete the steps below, our API will be ready to work with your application:

Cfm card
externalUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/45154479/Accessing+the+API
color#FFFFFF
filterSpacefalse
destinationexternalUrl
textColorPaletteDefault
titleAccess Gini Pay API
bodyWho can access and use Gini Pay API?
textColor#000000
targettrue
layoutSimple
selectedUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/45154479/Accessing+the+API
an.spaceKeyPA1
id1nbcu5ysv4i
backgroundColorPaletteDefault
Cfm card
externalUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/36896828/How+to+Process+Documents
color#FFFFFF
filterSpacefalse
destinationexternalUrl
textColorPaletteDefault
titleProcess documents
bodyHow to process documents?
textColor#000000
targettrue
layoutSimple
selectedUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/36896828/How+to+Process+Documents
an.spaceKeyPA1
id8f84e82nimo
backgroundColorPaletteDefault
Cfm card
externalUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/31686793/How+to+Manage+Gini+Accounts
color#FFFFFF
filterSpacefalse
destinationexternalUrl
textColorPaletteDefault
titleUser accounts
bodyHow to Manage user accounts?
textColor#000000
targettrue
layoutSimple
selectedUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/31686793/How+to+Manage+Gini+Accounts
an.spaceKeyPA1
idh1blw8d2m1
backgroundColorPaletteDefault
Cfm card
externalUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/30934365/Migrating+from+api.gini.net
color#FFFFFF
filterSpacefalse
destinationexternalUrl
textColorPaletteDefault
titleMigrating from deprecated API
bodyMigrating from api.gini.net
textColor#000000
targettrue
layoutSimple
selectedUrlhttps://gini.atlassian.net/wiki/spaces/PA1/pages/30934365/Migrating+from+api.gini.net
an.spaceKeyPA1
idcyh8tb1ni8
backgroundColorPaletteDefault