# How to Consume the APIs
source: https://developer.mastercard.com/cross-border-services/documentation/api-basics/how-to-consume/index.md

There are multiple ways of integrating with the Funding service:

* Using a generated API client (recommended)
* Using a method of your choice

### Generating Your Own API Client {#generating-your-own-api-client}

Create customizable API clients from the Funding API specification and let Mastercard open-source client libraries handle the authentication for you. This approach offers more flexibility and is strongly recommended.

For this, please follow our [Generating and Configuring a Mastercard API Client](https://developer.mastercard.com/platform/documentation/security-and-authentication/generating-and-configuring-a-mastercard-api-client/) tutorial with the following API specification:
[cross-border-eu-swagger.yaml](https://static.developer.mastercard.com/content/cross-border-services/swagger/cross-border-eu-swagger.yaml) (105KB)

### Using a Method of Your Choice {#using-a-method-of-your-choice}

The Funding service exposes REST APIs: you are free to use the REST/HTTP client of your choice and can still leverage the Mastercard open-source [client libraries](https://developer.mastercard.com/platform/documentation/security-and-authentication/using-oauth-1a-to-access-mastercard-apis/#client-libraries) for signing your requests.

For the API specification, refer to [API Reference](https://developer.mastercard.com/cross-border-services/documentation/api-ref/index.md).
