SlimPay Developer Center

  • REST API
  • File Transfer
  • Resources
  • Overview
  • Use Case Guides
  • Reference
  • Browser
 
Getting Started
  • Choosing the right HTTP client
  • Get an access token
  • Retrieving URLs
  • Where to next?
Enroll your customers
  • Checkout Integration Types
  • SlimPay Checkout
  • Checkout Api
  • Setting Up SlimCollect
  • Import an Existing Mandate
  • Add a Document Signature
Collect payments
  • Add a First Payment
  • Collect Payments by Direct Debit
Webhook
  • Configuration
  • Notification
  • Security
Monitor activity
  • Handle Payment Issues
  • Refund Payments
  • Update the Payment Method

Choosing the right HTTP client

If you already have an HTTP client and don’t need help choosing one, you can skip this section and get straight onto obtaining an access token!

SlimPay’s API is REST compliant, meaning all communication is done over the Internet via HTTPS.

Most programming languages come with native functions that can be used to communicate using this protocol.
At the same time, some generic libraries based on these native functions have been developed to make handling HTTP requests and responses easier (such as Guzzle for PHP or Requests for Python).
Furthermore, companies (like SlimPay) often develop specific libraries / SDKs that further abstract much of the code complexity involved with HTTP communication, making your job as a developer even easier.
Additionally, there are numerous plug-and-play solutions for communicating using HTTP.

The table below illustrates these four options:

LevelQuick descriptionComment PHP
(as an example)
Level 1Native functions You should not be using native functions unless there is no generic library (level 2) for your chosen programming language. fopen
file_get_contents
curl_ functions
Level 2Generic library The right choice if you don't want to keep installing specific libraries for each web service you use. This may, however, require some added effort on your part to work with the specific format used by each service (unless it is supported by the library). Guzzle
Requests
Level 3Plug-and-play solution Built on top of a level 2 library, it also implements the business logic for the specific service it is designed for (CMS, webshop, etc.). See our partners

Please note: don’t get confused between the term HTTP client - which is the application sending HTTP requests, and the generic or specific libraries (level 2), which are also called HTTP clients.

Once you’ve chosen and installed your HTTP client, you’re ready to obtain an access token!

 
SlimPay
  • Developer Center
  • Help Center
  • Website
  • REST API
    • Overview
    • Guides
    • Reference
    • Browser
    • Clients
  • File Transfer
    • Overview
    • Checkout
    • Payments
    • Payments Issues
    • Account Reporting
  • Resources
    • FAQ
    • IBANs