This page will give you an overview about the flow of a Ratepay transaction.
In order to use the Ratepay APIs, it's needed to authenticate you first via the Authentication API, which is using the OAuth 2.0 protocol. With the successful authentication, an access token will be provided, which is needed for further requests.