Relevant endpoint and https method information for creating customer and physical card are given below. (Physical Card)
| HTTP Method | URL |
|---|---|
| POST | /prepaidCard/createCardAndCustomer |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| wallet_number | string | Yes | Wallet Number |
| tenant_code | string | Yes | Tenat Code |
| product_code | string | Yes | Product Code |
| currency_code | string | Yes | Currency Code |
| first_name | string | Yes | First Name |
| last_name | string | Yes | Last Name |
| tenant_customer_no | string | Yes | Tenant Customer No |
| national_id | string | Yes | National Id |
| passport_no | string | Yes | Passport No |
| nationality | string | Yes | Nationality |
| mobile_phone | string | Yes | Mobile Phone |
| address | object | Yes | Address |
| city | string | No | City |
| addressType | string | Yes | Address Type |
| townCode | string | Yes | Town Code |
| cityCode | string | Yes | City Code |
| countryCode | string | Yes | Country Code |
| Address1 | string | Yes | Address 1 (Maximum 50 Characters) |
| Address2 | string | No | Address 2 |
| Address3 | string | No | Address 3 |
| Address4 | string | No | Address 4 |
| District | string | No | District |
| zipCode | string | No | Zip Code |
| addressCode | string | No | Address Code |
| corelation_id | string | Yes | Corelation Id |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | object |
| id | int |
| tenantCode | string |
| tenantCustomerNo | string |
| paycoreCustomerNo | string |
| cardNo | string |
| clearcardNo | string |
| cvv2 | string |
| expiryDate | string |
| cardStatusId | int |
| customerStatusId | int |
| cardTransactionLimit | decimal |
| cardMonthlyLimit | decimal |
| cardDailyLimit | decimal |
| cardMonthlyLimit_Remaining | decimal |
| cardDailyLimit_Remaining | decimal |
| kycLevel | int |
| kycTopupCashLimit | decimal |
| kycWithdrawLimit | decimal |
| kycPaymentLimit | decimal |
| walletId | string |
| walletNumber | string |
| accountTypeId | int |
| accountNumber | string |
| createdDateUtc | string |
| updatedDateUtc | string |
| cardType | string |
| cardProvider | string |
| authEcom | boolean |
| authInt | boolean |
| authMoto | boolean |
| authContactless | boolean |
| isBusiness | boolean |
| cardPin | string |
| cardStatus | int |
| customerStatus | int |
REQUEST (POST) :
{
"wallet_number": "123123",
"tenant_code": "5",
"product_code": "HPS30",
"currency_code": "TRY",
"first_name": "Orhan",
"last_name": "DENEME",
"tenant_customer_no": "123123",
"national_id": "65387674084",
"tax_no": "",
"passport_no": "",
"nationality": "TR",
"mobile_phone": "905555555555",
"corelation_id": 4000001489104986,
"address": {
"city": "İstanbul",
"addressType": "W",
"townCode": "3422",
"cityCode": "34",
"countryCode": "792",
"address1": "Altunizade mah. Kuşbakışı Cad. No:17/2",
"address2": "",
"address3": "",
"address4": "",
"district": "Üsküdar",
"zipCode": "34674",
"addressCode": "1"
}
}
RESPONSE:
{
"status": 0,
"code": "200",
"message": "",
"payload": {
"id": 20705,
"tenantCode": "521521",
"tenantCustomerNo": "123123",
"paycoreCustomerNo": "2441172",
"cardNo": "434610lbvqig0051",
"cardToken":" ",
"cvv2": "",
"expiryDate": "",
"cardStatusId": 10,
"customerStatusId": 10,
"cardTransactionLimit": 0,
"cardMonthlyLimit": 0,
"cardDailyLimit": 0,
"cardMonthlyLimit_Remaining": 0,
"cardDailyLimit_Remaining": 0,
"kycLevel": null,
"kycTopupCashLimit": 0,
"kycWithdrawLimit": 0,
"kycPaymentLimit": 0,
"walletId": null,
"walletNumber": "123123",
"accountTypeId": null,
"accountNumber": "2441172",
"createdDateUtc": "2022-10-06T08:23:43.9897277Z",
"updatedDateUtc": "2022-10-06T08:23:44.2496025Z",
"cardType": "Virtual",
"cardProvider": null,
"authEcom": true,
"authInt": true,
"authMoto": true,
"authContactless": true,
"isBusiness": false,
"cardPin": null,
"cardStatus": 10,
"customerStatus": 10
}
}