1. Home
  2. Scplite
  3. New Debit Card – Existing Account

New Debit Card – Existing Account

Endpoint: POST -> {host}/scplite/card/ debit/{{accountId}}
Write citation…

Request Headers

NameKeyValue (Sample)TypeLength
Banck codeBankCode999number
Card’s encrypted Auth DataauthData…SASA22312=String
Issuer NumberissuerNr2string
User IduserIduser.namestring

Sample Request

{
"issuerNr":"2",
"cardProgram":"VERVE_PREPAID",
"userId":"olasoji.joseph",
"accountId" : "3442022219",
"accountType" : "10" 
}

Request Body Description

NameKeyTypeLength
Account IDaccountIdString20
Account TypeaccountTypeNumeric2
Card ProgramcardProgramString
Issuer NumberissuerNrNumeric3
User IduserIdString

Sample Response (Success)

{
"responseCode": "00",
"responseMessage": null,
"systemResponseCode": "0",
"systemResponseMessage": "Approved or completed successfully",
"card": {
"pan": "5060990580000509473",
"seqNr": "001",
"defaultAccountType": "20",
"expiryDate": "2704",
"pinOffset": "6417",
"cvv": "123",
"cvv2": "967",
"pinInfo": "6387FBB446A20AE4",
"track2": "5060990580000509473=2704601006417123"
},
"responseCodeDescription": null
}

Sample Response (Failure)

{
"errors": [
{
"code": 57, //A postilion response code
"message": "PAN not found" //Interpretation of the postilion code
}
]   
}

Response Body Description

Field#Field nameTypeDescription
1codeNumericPostilion’s response code
2messageStringTextual representation of the response code
3panStringPAN
4seqNrNumericSequence numeric
5defaultAccountTypeNumericDefault Account Type
6expiryDateNumbericExpiry Date
7pinOffsetStringPin Offset
8cvvNumericCVV
9cvv2NumericCVV 2
10pinInfoStringPIN Info
11track2StringTrack 2
Was this article helpful to you? Yes No

How can we help?