POST api/cardService/v1/card/load/existingFundSource
Request Information
URI Parameters
None.
Body Parameters
LoadCardWithExistingFundSourceRequestModel| Name | Description | Type | Additional information |
|---|---|---|---|
| CardProxyId | string |
Required |
|
| FundSourceId | integer |
Required |
|
| Amount | decimal number |
Required |
|
| ResponseUrl | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CardProxyId": "sample string 1",
"FundSourceId": 2,
"Amount": 3.0,
"ResponseUrl": "sample string 4"
}
application/xml, text/xml
Sample:
<LoadCardWithExistingFundSourceRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels"> <Amount>3</Amount> <CardProxyId>sample string 1</CardProxyId> <FundSourceId>2</FundSourceId> <ResponseUrl>sample string 4</ResponseUrl> </LoadCardWithExistingFundSourceRequestModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
LoadCardWithExistingFundSourceResponseModel| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
Required |
|
| ErrorCodes | Collection of string |
Required |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"ErrorCodes": [
"sample string 1",
"sample string 2"
],
"Message": "sample string 2"
}
application/xml, text/xml
Sample:
<LoadCardWithExistingFundSourceResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
<ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ErrorCodes>
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
</LoadCardWithExistingFundSourceResponseModel>