/api-samples

API Samples from Payments Canada

Primary LanguageTypeScriptMIT LicenseMIT

Payments Canada API Samples

These API samples show how to make API calls to our FIF Branch sandbox through various programming languages and frameworks to help developers get started.

Code sample

  • java: Uses Spring Boot and Spring Rest Templates.
  • angular: Uses the angular http class to make calls to the sandbox APIs.
  • kotlin: Uses OkHttp and Retrofit2 to make calls to the sandbox APIs.
  • nodejs: Sample nodejs based application that connects to the Payments Canada API and gets a sandbox branch.
  • payments-rail-angular: This is a sample angular application that connects to the Payments Canada API and retrieves the data from the fictionalized APIs.
  • postman collection: Intended to be imported by Postman, has sample APIs for FIF and CCIN extracts.
  • swagger-oas: A collection of swagger/openAPI specifications for APIs available on our developer portal.

Additional Documentation:

Additional documentation in regards to Payments Canada APIs can be found on the developer portal: https://developer.payments.ca/

License

The Payments Canada API Samples are released under the MIT License.