Skip to content

Maintain Mandate initiate records

Overview

Maintain existing DebiCheck mandate initiate process records (Edit or Delete previously initiated mandate records).

Path

/v1/realpay/{merchant_number}/maintain/mandate_initiate_records/{product}

Path Parameters

  • merchant_number (string, required)
  • product (string, required)

Common Query Parameters

  • Version (string, required, default: v1)

PUT Edit Mandate Initiate Records

Edit mandate initiate records.

Request Body Schema (PUT)

MandateInitiatePutRecordsRequest (array of Mandate)

Request Example (PUT)

{
  "MandateInitiatePutRecordsRequest": [
    {
      "ClientNumber": "L00012",
      "ContractNumber": "C1603",
      "MandateType": "F",
      "TransactionType": "TT2",
      "MandateActionDate": "YYYY-MM-DD HH24:MI",
      "FrequencyCode": "MNTH",
      "CollectionDay": 25,
      "DebitSequenceType": "OOFF",
      "AdjustmentCategory": "N",
      "TrackingYN": "N",
      "TrackingCode": "03",
      "InstalmentStartDate": "YYYY-MM-DD HH24:MI",
      "InstalmentAmount": 123.45,
      "NumberOfInstalments": 1
    }
  ]
}

Success Response (200) Schema (PUT)

MandateInitiatePutRecordsResponse

Response Example (PUT)

{
  "MandateInitiatePutRecordsResponse": [
    {
      "Successful": [
        {
          "ClientNumber": "L00012",
          "ContractNumber": "C1603",
          "MandateType": "F",
          "TransactionType": "TT2",
          "FrequencyCode": "MNTH",
          "CollectionDay": 25,
          "DebitSequenceType": "OOFF",
          "AdjustmentCategory": "N",
          "TrackingYN": "N",
          "TrackingCode": "03"
        }
      ],
      "Failed": []
    }
  ],
  "APIResponse": {
    "CallSequence": 7271,
    "Status": "SUCCESS",
    "Version": "1.0.0",
    "Name": "INTERNAL NAME OF CALL"
  }
}

DELETE Delete Mandate Initiate Records

Delete mandate initiate records.

Additional Required Query Parameters (DELETE)

  • ClientNumber (string) AND ContractNumber (string) OR ContractSequence (integer)
  • CancelReason (string, required): For valid codes see /general/mandate_reason_codes/{Product}
  • CancelDate (string, required): Format YYYY-MM-DD HH24:MI

Success Response (200) Schema (DELETE)

MandateInitiateDeleteRecordsResponse

Response Example (DELETE)

{
  "MandateInitiateDeleteRecordsResponse": [
    {
      "Successful": [
        {
          "ContractSequence": 9011154048,
          "ClientNumber": "L00012",
          "ContractNumber": "C1603"
        }
      ],
      "Failed": []
    }
  ],
  "APIResponse": {
    "CallSequence": 7271,
    "Status": "SUCCESS",
    "Version": "1.0.0",
    "Name": "INTERNAL NAME OF CALL"
  }
}

Error Responses

  • 400 BadRequest
  • 401 Unauthorized
  • 404 NotFound
  • 500 InternalError
  • 503 ServiceUnavailable