POST MobilePay/AgreementCreate
Create new MobilePay agreement
Request Information
URI Parameters
None.
Body Parameters
RequestMobilePayAgreementCreate| Name | Description | Type | Additional information |
|---|---|---|---|
| UserID | integer |
None. |
|
| WebSubscriptionID | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserID": 1,
"WebSubscriptionID": 2
}
text/html
Sample:
{"UserID":1,"WebSubscriptionID":2}
application/xml, text/xml
Sample:
<RequestMobilePayAgreementCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <UserID>1</UserID> <WebSubscriptionID>2</WebSubscriptionID> </RequestMobilePayAgreementCreate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
MobilePayAgreement| Name | Description | Type | Additional information |
|---|---|---|---|
| Status | string |
None. |
|
| RedirectURI | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": "sample string 1",
"RedirectURI": "sample string 2"
}
text/html
Sample:
{"Status":"sample string 1","RedirectURI":"sample string 2"}
application/xml, text/xml
Sample:
<MobilePayAgreement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/YogaStreamAPIv2"> <RedirectURI>sample string 2</RedirectURI> <Status>sample string 1</Status> </MobilePayAgreement>