GET v1/api/enrollee/addCardForPayment?enrolleeNo={enrolleeNo}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
enrolleeNo | string |
Required |
Body Parameters
None.
Response Information
Resource Description
addCardForPaymentResultName | Description | Type | Additional information |
---|---|---|---|
reference | string |
None. |
|
success | boolean |
None. |
|
errorMsg | string |
None. |
|
paymentUrl | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "reference": "sample string 1", "success": true, "errorMsg": "sample string 3", "paymentUrl": "sample string 4" }
application/xml, text/xml
Sample:
<addCardForPaymentResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/enrrolleeApp.Models.api_Main.addCardForPayment"> <errorMsg>sample string 3</errorMsg> <paymentUrl>sample string 4</paymentUrl> <reference>sample string 1</reference> <success>true</success> </addCardForPaymentResult>
text/html
Sample:
{"reference":"sample string 1","success":true,"errorMsg":"sample string 3","paymentUrl":"sample string 4"}