---
title: "EP2"
url: "https://developer.migros.ch/apis/central-pricing-facade-1/versions/3d3408ff-7c6b-4890-82ea-373f6d4abb25/schemas/EP2"
---

> Full API specification: https://developer.migros.ch/apis/central-pricing-facade-1/versions/3d3408ff-7c6b-4890-82ea-373f6d4abb25.md

# EP2

Information about EP2 payment.

## OpenAPI definition

```yaml
openapi: 3.0.0
info:
  title: Central Pricing Facade
  version: 1.3.3.7
servers:
  - description: URL of upstream
    url: https://api.migros.ch
components:
  schemas:
    EP2TransactionDetails:
      additionalProperties: false
      description: Details of an EP2 transaction.
      properties:
        amount:
          description: Transaction amount (ep2Trxamount).
          example: 50.2
          format: float
          type: number
        date:
          description: Transaction date time (ep2Trxdatetime).
          format: date-time
          type: string
        reference_number:
          description: Transaction reference number (ep2Trxrefnum).
          example: "00007987"
          nullable: true
          type: string
        sequence_number:
          description: Transaction sequence number (ep2Trxseqcnt).
          example: "7987"
          nullable: true
          type: string
        type_extension:
          description: Transaction type extension (ep2Trxtypeextn).
          example: Buchung
          nullable: true
          type: string
      required:
        - amount
        - date
      type: object
    EP2:
      additionalProperties: false
      description: Information about EP2 payment.
      properties:
        activation_sequence_id:
          description: Activation sequence counter (ep2Actseqcnt).
          example: "584"
          type: string
        amount:
          description: Amount payed with cad.
          example: 50.2
          format: float
          type: number
        application_id:
          description: Application ID (ep2Aid).
          example: A0000000041010
          type: string
        authorization_code:
          description: Authorization code (ep2Authc).
          example: "046333"
          type: string
        brand:
          description: Tender name, e.g. MasterCard.
          example: MasterCard
          type: string
        encrypted_primary_account_number:
          description: Encrypted credit card number (ep2Apppanenc).
          example: E9876C899FFBF4CC22602FFAE60D20B5
          minLength: 8
          nullable: true
          type: string
        encrypted_primary_account_number_index:
          description: Index for encrypted credit card number (ap2Apppanencind).
          example: ep2Apppanencind
          nullable: true
          type: string
        issuer_code:
          example: "2"
          nullable: true
          pattern: ^[0-9]+$
          type: string
        masked_primary_account_number:
          description: Masked credit card number (ep2Pan).
          example: xxxxxxx1234
          maxLength: 19
          minLength: 8
          type: string
        terminal_id:
          description: Terminal ID.
          example: "31392368"
          nullable: true
          type: string
        transaction:
          $ref: "#/components/schemas/EP2TransactionDetails"
      required:
        - amount
        - transaction
        - brand
        - masked_primary_account_number
        - activation_sequence_id
        - application_id
        - authorization_code
      type: object
```
