Skip to content

Account Updater

Request

This endpoint is used to check updates and sends updated credit card data back in response.

Security
bearer and basic and apiKey
Bodyapplication/jsonrequired
servicestring

Type of account updater service.

Value:"MDC"
transIdstring, <= 64 charactersrequired

Unique transaction ID from your system.

cardNumbersArray of stringsrequired

List of old card numbers for which the update is being requested.

curl -i -X POST \
  -u '<username>:<password>' \
  https://test.computop-paygate.com/api/v2/services/accountUpdater \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "services": "MDC",
    "transId": "f9020fbd-2b28-4003-9653-d9d6d0d6723e",
    "cardNumbers": [
      "0123456789012908",
      "0123456789012001",
      "4561409090001386"
    ]
  }'

Responses

Successfully received and processed

Bodyapplication/json
transIdstring

Transaction ID provided by you in the request.

statusstring

Status of the transaction.

responseCodestring

Response code of the transaction.

responseDescriptionstring

Response description associated with the response code.

cardNumbersArray of objects(cardAccountUpdaterResponse)
Response
{ "transId": "f9020fbd-2b28-4003-9653-d9d6d0d6723e", "status": "OK", "responseCode": "00000000", "responseDescription": "success", "cardNumbers": [ { … }, { … }, { … } ] }