Skip to content

Get Token Service

Request

Security
bearer and basic and apiKey
Bodyapplication/jsonrequired
transIdstring, <= 64 characters

Transaction ID created in your system. It should be unique for each payment.

Example:"test-TransactionId01"
accountNumberstringrequired

IBAN or Card number (based on parameter AccountType)

accountTypestring

Possible values: "IBAN", "CCNr"

Default value: "IBAN"

curl -i -X POST \
  -u '<username>:<password>' \
  https://test.computop-paygate.com/api/v2/services/createPseudoNumber \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY_HERE' \
  -d '{
    "transId": "test-TransactionId01",
    "accountNumber": "string",
    "accountType": "string"
  }'

Responses

Successfully received and processed

Bodyapplication/json
pseudoAccountNumberstring

Contains pseudo IBAN or pseudo Card number depending on the request parameter accountType

accountTypestring

Possible values: "PBAN", "PCNr"

statusstring

Status of the request. Possible values: "OK", "FAILED"

codestring

Response code

descriptionstring

Response description

Response
{ "pseudoAccountNumber": "string", "accountType": "string", "status": "string", "code": "string", "description": "string" }