Create debit card application with internal account
Here you will learn how to create a main card application for a physical debit card using the minimum required data. When creating a new card using the minimum required data, if card limits and services are not specified, the system will apply the default limits and services defined by the selected card product.
Use case
In this example, we will demonstrate how to create a main card application for a physical debit card using the minimum required data.
Card application type
"applicationTypeCode": "NEW_CARD"
Card product code
"productCode": "INTERNAL_ACCOUNT_M"
Account owner details
"accountOwner": {
"personId": "ID-30496",
"accountOwnerTypeCode": "PRIVATE"
}
Cardholder details
"cardholder": {
"personId": "ID-30496",
"firstName": "Isabel",
"lastName": "Lacoste"
}
Shipping details
"shippingAddress": {
"countryCode": "EE",
"city": "Tallinn",
"streetAddress": "Maakri 30",
"postCode": "12345"
}
Sample API call
To create a new main card application for a physical debit card, use the following endpoint:
https://card-api.sandbox.tuumplatform.com/api/v3/applications/create
Sample request
The sample request body is as follows:
{
"applicationTypeCode": "NEW_CARD",
"productCode": "INTERNAL_ACCOUNT_M",
"accountOwner": {
"personId": "ID-30496",
"accountOwnerTypeCode": "PRIVATE"
},
"cardholder": {
"personId": "ID-30496",
"firstName": "Isabel",
"lastName": "Lacoste"
},
"shippingAddress": {
"countryCode": "EE",
"city": "Tallinn",
"streetAddress": "Maakri 30",
"postCode": "12345"
}
}
Sample response
Below you will find the response to the sample request:
Result
The API call returns the full set of card application data, including parameters automatically generated by the Tuum system, as shown below:
"applicationId": "C001664282681"
A new card application with the ID C001664282681
has been registered in the system.
"statusCode": "WAITING"
The card application is currently in the WAITING status, awaiting approval.
Notes:
Whether a card application requires an acceptance step is determined by the configuration of the associated card product.
If you need to modify any parameters from the default values defined by the card product, use the endpoint:
POST /api/v3/applications/{applicationId}/update
You can update the card application only while it remains in the WAITING status.
Last updated
Was this helpful?