Relevant endpoint and https method information for creating customer and virtual card is given below. (Virtual Card)
| HTTP Method | URL |
|---|---|
| POST | /card/createCardAndCustomer |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| wallet_number | string | Yes | Wallet Number |
| tenant_code | string | Yes | Tenant Code |
| product_code | string | Yes | Product 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 |
| currency_code | string | Yes | Currency 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": "HPS40",
"first_name": "Orhan",
"last_name": "DENEME",
"tenant_customer_no": "123123",
"national_id": "65387674084",
"tax_no": "",
"passport_no": "",
"nationality": "TR",
"mobile_phone": "905555555555",
"currency_code": "TRY",
"corelation_id": 4000001489104986
}
RESPONSE:
{
"status": 0,
"code": "200",
"message": "",
"payload": {
"id": 20706,
"tenantCode": "521521",
"tenantCustomerNo": "123123",
"paycoreCustomerNo": "2344425",
"cardNo": "434610nogtou5863",
"cvv2": null,
"expiryDate": null,
"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": "2344425",
"createdDateUtc": "2022-10-06T11:38:15.4926503Z",
"updatedDateUtc": "2022-10-06T11:38:16.001089Z",
"cardType": "Prepaid",
"cardProvider": null,
"authEcom": true,
"authInt": true,
"authMoto": true,
"authContactless": true,
"isBusiness": false,
"cardPin": null,
"cardStatus": 10,
"customerStatus": 10
}
}