Loopay Country API

The Country API from Loopay — 1 operation(s) for country.

OpenAPI Specification

loopay-country-api-openapi.yml Raw ↑
openapi: 3.0.0
info:
  title: loopay-api Affiliate Country API
  version: 3.2.0
  description: " ## Loopay open API \n You will find a complete guide and information to start working with Loopay integrations as soon as possible, as well as support if you get lost, so let's dive right in! \n\n ## Integration guide\n For production, please contact your personal Looper.\n\n ## Authetication guide\n Loopay uses a token-based authentication system, which means that you will need to generate a token to be able to use the API. \n\n ### How to generate a token\n To generate a token, you will need to send a POST  request to the following endpoint: \n\n `/login`  [See  User/post ](/explorer/#/User/User.login)  \n\n  ⚠ **Disclaimer**: All examples listed below are run in a secure environment ready for testing."
  contact:
    name: Loopay Team
servers:
- url: https://api.loopay.com
tags:
- name: Country
paths:
  /countries:
    get:
      x-controller-name: Country
      x-operation-name: countries
      tags:
      - Country
      description: "## Get countries\n Get all countries available"
      responses:
        '200':
          description: Array of Country model instances
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: number
                      example: 1
                    name:
                      type: string
                      example: Colombia
                    isoCode:
                      type: string
                      example: co
                    currencyId:
                      type: number
                      example: 1
      parameters:
      - name: authorization
        in: query
        schema:
          type: string
        description: Authorization token
        required: true
      operationId: Country.countries