POST api/{apiVersion}/UptionCard/CreateCard
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiVersion | string |
None. |
Body Parameters
CreateCardRequestName | Description | Type | Additional information |
---|---|---|---|
CustomerId | globally unique identifier |
None. |
|
CardType | integer |
None. |
|
AccountId | globally unique identifier |
None. |
|
EmbossName | string |
None. |
|
CardFeeReceiveAccountId | globally unique identifier |
None. |
|
CourierAddress | string |
None. |
|
CardAddress | CardAdress |
None. |
|
WithdrawalPermit | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{ "CustomerId": "d137b258-b9f4-48c9-a69e-6d7fb255f596", "CardType": 2, "AccountId": "2c624853-255e-4cf4-a7bb-5b28966c8e6c", "EmbossName": "sample string 4", "CardFeeReceiveAccountId": "7a7e8293-d0ca-457f-bde2-6af8a2a4027f", "CourierAddress": "sample string 6", "CardAddress": { "KpsCityId": "c4842913-a2c5-49b1-8f74-e1b6f00b733d", "KpsCountyId": "ad59ff5a-ac40-4fc2-9976-09681f255919", "KpsQuarterId": "157e9de6-72a7-422d-901d-f6b0b0c872f0", "KpsStreet": "sample string 4", "KpsBuildNo": "sample string 5", "KpsDoorNo": "sample string 6", "KpsAddress": "sample string 7" }, "WithdrawalPermit": true }
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResponseOfUptionCardCreateCardResponseName | Description | Type | Additional information |
---|---|---|---|
Code | integer |
None. |
|
Message | string |
None. |
|
Response | UptionCardCreateCardResponse |
None. |
|
IsShowMessage | boolean |
None. |
|
IsShowRateAndReview | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Code": 1, "Message": "sample string 2", "Response": { "CardNo": "sample string 1", "result": { "cardNo": "sample string 1", "hceResponse": "sample string 2" }, "message": "sample string 2", "version": "sample string 3", "statusCode": 4, "correlationId": "sample string 5", "exception": { "level": 1, "code": "sample string 2", "message": "sample string 3", "details": {}, "validationErrors": {} } }, "IsShowMessage": true, "IsShowRateAndReview": true }