Interface ConnectorInterface
HTTP transport connector interface used to authenticate and make HTTP requests against the Klarna APIs.
The HTTP communication is handled by Guzzle.
Direct known implementers
Methods summary
public
Psr\Http\Message\RequestInterface
|
#
createRequest( string $url, string $method = 'GET', array $headers = [], string $body = '' )
Creates a request object. |
public
Psr\Http\Message\ResponseInterface
|
|
public
GuzzleHttp\ClientInterface
|
|
public
|
Magic methods summary
Constants summary
string |
EU_BASE_URL
API base URL for Europe. |
#
'https://api.klarna.com'
|
string |
EU_TEST_BASE_URL
Testing API base URL for Europe. |
#
'https://api.playground.klarna.com'
|
string |
NA_BASE_URL
API base URL for North America. |
#
'https://api-na.klarna.com'
|
string |
NA_TEST_BASE_URL
Testing API base URL for North America. |
#
'https://api-na.playground.klarna.com'
|