POST PayDay/Subscription
Request Information
URI Parameters
None.
Body Parameters
TopupName | Description | Type | Additional information |
---|---|---|---|
string |
Data type: EmailAddress |
||
Phonenumber | string |
Required Matching regular expression pattern: ^((0)[0-9]{10})$ |
|
Amount | decimal number |
Required Range: inclusive between 50 and 79228162514264337593543950335 |
|
Reference | string |
Required |
|
MasterReference | string |
Required |
Request Formats
application/json, text/json
Sample:
{ "Amount": 3, "MasterReference": "sample string 5", "Reference": "sample string 4", "Phonenumber": "sample string 2", "Email": "sample string 1" }
application/xml, text/xml
Sample:
<Topup xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Email>sample string 1</Email> <Phonenumber>sample string 2</Phonenumber> <Amount>3</Amount> <Reference>sample string 4</Reference> <MasterReference>sample string 5</MasterReference> </Topup>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PayDayResponseName | Description | Type | Additional information |
---|---|---|---|
Status | string |
None. |
|
Message | string |
None. |
|
OutputObject | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "OutputObject": {}, "Message": "sample string 2", "Status": "sample string 1" }
application/xml, text/xml
Sample:
<PayDayResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Status>sample string 1</Status> <Message>sample string 2</Message> <OutputObject /> </PayDayResponse>