API Documentation. See how easy it can be to add 200+ payment methods to your store.

Environments

 
Production
Sandbox
Quote URL
https://checkout.pay.g2a.com/index/createQuote
https://checkout.test.pay.g2a.com/index/createQuote
Merchant URL
https://pay.g2a.com/
https://www.test.pay.g2a.com/
REST API
https://pay.g2a.com/rest
https://www.test.pay.g2a.com/rest
IPN IP
 
176.9.30.105

SNI requirements

All requests directed from the merchant platform to the G2A PAY servers should be conducted from servers that include a WWW client-side library with an implemented SNI.

This will allow for a complete and frictionless use of the SSL certificates during the connections that result from integrations of the merchant system and G2A PAY payments. Refer to the table below to see payment API requirements and compatibilities.

Software
Type
Supported
Notes
Supported since
cURL
Command-line tool and library
Yes
Since version 7.18.1
2008
wget
Command-line tool
Yes
Since version 1.14
2012
Qt
Library
Yes
Since version 4.8
2011
Java
Library
Yes
Since version 1.7
2011
ColdFusion / Lucee
Library
Yes
ColdFusion since Version 10 Update 18, 11 Update 7, Lucee since Version 4.5.1.019, Version 5.0.0.50
2015
Erlang
Library
Yes
Since version r17
2013
Go
Library
Yes
Since version 1.4
2011
Perl
Library
Yes
Since Net::SSLeay version 1.50 and IO::Socket::SSL version 1.56
2012
PHP
Library
Yes
Since version 5.3
2014
Python
Library
Yes
Supported in 2.x from 2.7.9rc1 and 3.x from 3.2alpha4 (in ssl, urllib[2] and httplib modules)
2011 for Python 3.x and 2014 for Python 2.x
Ruby
Library
Yes
Since version 2.0 (in net/http)
2011