--- swagger: "2.0" basePath: /api/oauth info: version: 1.0.0 title: WalletProvisioning - CitiBanamexPay OAuth Provider x-ibm-name: walletprovisioning---citibanamexpay-oauth-provider name: "" description: "" x-ibm-configuration: type: oauth enforced: true testable: true phase: realized paths: /token: post: summary: "" description: "" parameters: - name: grant_type in: formData description: Type of grant type: string required: false enum: - client_credentials - name: scope in: formData type: string description: Scope being requested required: false responses: 200: description: json document containing token, etc. schema: $ref: '#/definitions/access_token_response' 400: description: json document that may contain additional details about the failure deprecated: false security: - Basic Authentication: [] consumes: - application/x-www-form-urlencoded produces: - application/json securityDefinitions: Basic Authentication: description: Username is the application's client_id, and password is the client_secret type: basic security: [] definitions: access_token_response: type: object additionalProperties: false required: - token_type - access_token - expires_in properties: token_type: enum: - bearer access_token: type: string expires_in: type: integer scope: type: string refresh_token: type: string x-ibm-endpoints: - endpointUrl: https://api.banamex.com/mx-gcgapi type: - production - development ...