This service is used to tokenize securely converts sensitive payment information (such as credit card numbers, bank account details, or mobile wallet identifiers) into unique, non-sensitive tokens.
APIs
/Tokenization
/- Tokenize a Payment Account Data
Delete Specific Token
Update Token
Get Payment Data By Token
Tokenize a Payment Accoun...
Download OpenAPI description
Languages
Servers
Mock server
https://docs.nelnetpay.com/_mock/apis/osi-token-api/
LOCAL
http://localhost:8080/tokenization-service/
DEV
https://localhost:16778/tokenization-service/
SIT
https://localhost:16779/tokenization-service/
QA
https://localhost:16780/tokenization-service/
UAT
https://localhost:16781/tokenization-service/
- Mock serverhttps://docs.nelnetpay.com/_mock/apis/osi-token-api/token-service/tokens
- LOCALhttp://localhost:8080/tokenization-service/token-service/tokens
- DEVhttps://localhost:16778/tokenization-service/token-service/tokens
- SIThttps://localhost:16779/tokenization-service/token-service/tokens
- QAhttps://localhost:16780/tokenization-service/token-service/tokens
- UAThttps://localhost:16781/tokenization-service/token-service/tokens
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.nelnetpay.com/_mock/apis/osi-token-api/token-service/tokens \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"paymentType": {
"ach": {
"bankAccount": {
"accountNumber": "4111111111111111",
"routingNumber": "021000031",
"accountType": "Savings",
"tenderType": "Consumer"
}
}
},
"tokenGroup": "COMPANYTG"
}'Successful tokenization or error response.
A list of brief descriptions about the error encountered. If multiple messages need to be returned, it will be separated with ';' character
Example: "An unexpected system error occurred. Please check with support."
Country code representing the country associated with the payment account
Example: "UNITED STATES OF AMERICA (THE)"
Country code indicating the country where the payment account's issuing institution is located
Example: "840"
Flag indicating whether the payment account is considered international
Example: false
Response
application/json
ACH Response
{ "responseCode": "0", "responseMessage": "Token Created", "token": "13634e83-5ad1-4814-afde-c6e2e0f32bbe", "formatPreservedToken": "2848580716091111", "tokenGroupName": "DEVTESTTG" }
- Mock serverhttps://docs.nelnetpay.com/_mock/apis/osi-token-api/token-service/tokens
- LOCALhttp://localhost:8080/tokenization-service/token-service/tokens
- DEVhttps://localhost:16778/tokenization-service/token-service/tokens
- SIThttps://localhost:16779/tokenization-service/token-service/tokens
- QAhttps://localhost:16780/tokenization-service/token-service/tokens
- UAThttps://localhost:16781/tokenization-service/token-service/tokens
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://docs.nelnetpay.com/_mock/apis/osi-token-api/token-service/tokens \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"token": "9c5a8d98-ccd3-452b-be55-e66ad2132e98"
}'Response
application/json
Delete Token Response
{ "responseCode": "0", "responseMessage": "Token Deleted" }
- Mock serverhttps://docs.nelnetpay.com/_mock/apis/osi-token-api/token
- LOCALhttp://localhost:8080/tokenization-service/token
- DEVhttps://localhost:16778/tokenization-service/token
- SIThttps://localhost:16779/tokenization-service/token
- QAhttps://localhost:16780/tokenization-service/token
- UAThttps://localhost:16781/tokenization-service/token
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://docs.nelnetpay.com/_mock/apis/osi-token-api/token \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"token": "9c5a8d98-ccd3-452b-be55-e66ad2132e98",
"paymentType": {
"ach": {
"bankAccount": {
"accountNumber": "4111111111111111",
"routingNumber": "021000031",
"accountType": "Savings",
"tenderType": "Consumer"
}
}
},
"tokenGroup": "COMPANYTG"
}'Response
application/json
ACH Response
{ "responseCode": "0", "responseMessage": "Token Updated" }
- Mock serverhttps://docs.nelnetpay.com/_mock/apis/osi-token-api/token-service/tokens/metadata
- LOCALhttp://localhost:8080/tokenization-service/token-service/tokens/metadata
- DEVhttps://localhost:16778/tokenization-service/token-service/tokens/metadata
- SIThttps://localhost:16779/tokenization-service/token-service/tokens/metadata
- QAhttps://localhost:16780/tokenization-service/token-service/tokens/metadata
- UAThttps://localhost:16781/tokenization-service/token-service/tokens/metadata
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
https://docs.nelnetpay.com/_mock/apis/osi-token-api/token-service/tokens/metadata \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"token": "9c5a8d98-ccd3-452b-be55-e66ad2132e98",
"types": [
"ACH"
]
}'Response
application/json
ACH Response
{ "responseCode": "0", "responseMessage": "Payment Data Retrieved", "token": "07ba706d-dcfc-4bfc-b161-4469a2633862", "formatPreservedToken": "6558766560401113", "bankAccount": { "routingNumber": "021000032", "accountType": "Savings", "tenderType": "Consumer" } }