POST
api/MPOSPayment/CreateQRCode?custGuid={custGuid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| custGuid | globally unique identifier |
Required |
Body Parameters
CreateQRCode| Name | Description | Type | Additional information |
|---|---|---|---|
| type | string |
None. |
|
| name | string |
None. |
|
| usage | string |
None. |
|
| fixed_amount | boolean |
None. |
|
| payment_amount | integer |
None. |
|
| description | string |
None. |
|
| customer_id | string |
None. |
|
| close_by | integer |
None. |
|
| notes | Notes |
None. |
Request Formats
application/json, text/json
{
"type": "sample string 1",
"name": "sample string 2",
"usage": "sample string 3",
"fixed_amount": true,
"payment_amount": 5,
"description": "sample string 6",
"customer_id": "sample string 7",
"close_by": 8,
"notes": {
"purpose": "sample string 1"
}
}
text/html
{"type":"sample string 1","name":"sample string 2","usage":"sample string 3","fixed_amount":true,"payment_amount":5,"description":"sample string 6","customer_id":"sample string 7","close_by":8,"notes":{"purpose":"sample string 1"}}
application/xml, text/xml
<CreateQRCode xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Payment">
<close_by>8</close_by>
<customer_id>sample string 7</customer_id>
<description>sample string 6</description>
<fixed_amount>true</fixed_amount>
<name>sample string 2</name>
<notes>
<purpose>sample string 1</purpose>
</notes>
<payment_amount>5</payment_amount>
<type>sample string 1</type>
<usage>sample string 3</usage>
</CreateQRCode>
application/x-www-form-urlencoded
Sample not available.
Response Information
Description:
Return type: CreateQRcodeResponce
Response Formats
application/json, text/json
{
"id": "sample string 1",
"entity": "sample string 2",
"created_at": 3,
"name": "sample string 4",
"usage": "sample string 5",
"type": "sample string 6",
"image_url": "sample string 7",
"payment_amount": 8,
"status": "sample string 9",
"description": "sample string 10",
"fixed_amount": true,
"payments_amount_received": 12,
"payments_count_received": 13,
"notes": {
"purpose": "sample string 1"
},
"customer_id": "sample string 14",
"close_by": 15,
"tax_invoice": [
{},
{}
]
}
text/html
{"id":"sample string 1","entity":"sample string 2","created_at":3,"name":"sample string 4","usage":"sample string 5","type":"sample string 6","image_url":"sample string 7","payment_amount":8,"status":"sample string 9","description":"sample string 10","fixed_amount":true,"payments_amount_received":12,"payments_count_received":13,"notes":{"purpose":"sample string 1"},"customer_id":"sample string 14","close_by":15,"tax_invoice":[{},{}]}
application/xml, text/xml
<CreateQRcodeResponce xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FDCMSAdminAPI.Models.Payment">
<close_by>15</close_by>
<created_at>3</created_at>
<customer_id>sample string 14</customer_id>
<description>sample string 10</description>
<entity>sample string 2</entity>
<fixed_amount>true</fixed_amount>
<id>sample string 1</id>
<image_url>sample string 7</image_url>
<name>sample string 4</name>
<notes>
<purpose>sample string 1</purpose>
</notes>
<payment_amount>8</payment_amount>
<payments_amount_received>12</payments_amount_received>
<payments_count_received>13</payments_count_received>
<status>sample string 9</status>
<tax_invoice xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:anyType />
<d2p1:anyType />
</tax_invoice>
<type>sample string 6</type>
<usage>sample string 5</usage>
</CreateQRcodeResponce>
