You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »


KeyFormatConditionDescription
1

type

object

M

Type of credential on file payment.

2

initialPayment

boolean

M

Indicates whether a card on file transaction is the first one in a series of transactions (establishment) or a subsequent transaction.

type


KeyFormatConditionDescription
1

recurring

object

C

Recurring payments are a series of transactions processed persuant to an agreement between a cardholder and a merchant where the cardholder purchases goods or services over a period of time through a number of separate transactions. Please note that in the context of PSD2 and SCA requirements the European Banking Authority (EBA) describes recurring payments as a series of transactions with the same amount and with the same payee.

2

unscheduled

string

C

Value indicating the party that initiates a credential on file transaction that does not occur on a fixed schedule.

Values accpeted:

  • CIT = Cutsomer Initiated Transaction

  • MIT = Merchant Initiated Transaction

recurring


KeyFormatConditionDescription
1

recurringFrequency

integer

M

Indicates the number of days between authorisations.

2

recurringStartDate

string

O

Determines the date of the first authorization according to the recurring mandate.

3

recurringExpiryDate

string

M

Date after which no further authorisations shall be performed.

Schema

{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://www.computop-paygate.com/schemas/credentialOnFile.json",
    "title": "credentialOnFile",
    "description": "Credential-on-File Transactions",
    "type": "object",
    "properties": {
        "type": {
            "type": "object",
            "properties": {
                "recurring": {
                    "type": "object",
                    "properties": {
                        "recurringFrequency": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 9999,
                            "description": "Indicates the minimum number of days between recurring authorizations."
                        },
                        "recurringStartDate": {
                            "type": "string",
                            "format": "full-date",
                            "description": "YYYY-MM-DD"
                        },
                        "recurringExpiryDate": {
                            "type": "string",
                            "format": "full-date",
                            "description": "YYYY-MM-DD"
                        }
                    },
                    "required": ["recurringExpiryDate", "recurringFrequency"],
                    "additionalProperties": false
                },
                "unscheduled": {
                    "type": "string",
                    "enum": ["CIT", "MIT"]         
                }
            },
            "oneOf": [
                {"required": ["recurring"]},
                {"required": ["installments"]},
                {"required": ["unscheduled"]}
            ],
            "additionalProperties": false
        },
        "initialPayment": {
            "type": "boolean"
        }
    },
    "required": ["type", "initialPayment"],
    "additionalProperties": false
}

Sample Recurring

{
    "type": {
        "recurring": {
            "recurringFrequency": 30,
            "recurringStartDate": "2019-09-14",
            "recurringExpiryDate": "2020-09-14"
        }
    },
    "initialPayment": true
}

Sample Unscheduled CIT

{
    "type": {
        "unscheduled": "CIT"
    },
    "initialPayment": false
}


  • No labels