This page will give you the basic information required to use our API
General
- To use the API you will need an api-key. (you get your key by contacting Westpay)
- We use JSON for all data in the API
Recommended usage
To build the data required for a complete onboarding you will have to collect some semi-static values from our API. Our recommendation is that you collect these values once and then re-use them from a local source for future use. The values we recommend that you store locally can be collected from below requests:
Request | Reference | Type |
---|---|---|
Card brands | /getinfo/CardBrands | GET |
Acquirers | /getinfo/Acquirers | GET |
Languages | /getinfo/Languages | GET |
MCC Codes | getinfo/MCCCodes | GET |
Terminal models | /getinfo/TerminalModels | GET |
Terminal Operating Mode | /TerminalOperatingMode | GET |
Base URLs
Enviornment | url |
---|---|
Production | https://api.westpay.se/access/v1 |
Development | https://demo-api.westpay.se/access/v1 |
Required headers
To use our API you must use a custom API key. To get this key you contact [email protected]
Parameter | Value |
---|---|
Content-Type: | application/json |
Authorization: | apikey {{your key}} |