POST api/{version}/MyAccount/DownloadPaymentReceipt
Used to download the invoice
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version | string |
None. |
Body Parameters
DownloadInvoiceLink| Name | Description | Type | Additional information |
|---|---|---|---|
| RegistrationId |
Gets or sets the registrationid |
string |
None. |
| PaymentId |
Gets or sets the paymentid |
string |
None. |
| ReceiptFor |
Gets or sets receipt for details |
string |
None. |
| TransactionId |
Gets or sets transaction id |
string |
None. |
| BookInvoiceId |
Gets or sets book invoice id |
string |
None. |
| BookInvoiceNo |
Gets or sets book invoice No |
string |
None. |
| Ivno |
Gets or sets invoice number |
string |
None. |
| InvoiceFor |
Gets or sets invoice for details |
string |
None. |
| OrderId |
Gets or sets order id |
string |
None. |
| DivisionId |
Gets or sets division id |
string |
None. |
| CMFor |
Gets or sets cm for |
string |
None. |
| SubscriptionId |
Gets or sets subscription id |
string |
None. |
| UserType |
Gets or sets user type |
string |
None. |
| PurchaseId |
Gets or sets purchase id |
string |
None. |
| RefundId |
Gets or sets refund id |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"RegistrationId": "sample string 1",
"PaymentId": "sample string 2",
"ReceiptFor": "sample string 3",
"TransactionId": "sample string 4",
"BookInvoiceId": "sample string 5",
"BookInvoiceNo": "sample string 6",
"Ivno": "sample string 7",
"InvoiceFor": "sample string 8",
"OrderId": "sample string 9",
"DivisionId": "sample string 10",
"CMFor": "sample string 11",
"SubscriptionId": "sample string 12",
"UserType": "sample string 13",
"PurchaseId": "sample string 14",
"RefundId": "sample string 15"
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FileFormat| Name | Description | Type | Additional information |
|---|---|---|---|
| FileArray |
bytes array to string |
string |
None. |
| FileName |
File name |
string |
None. |
| ContentType |
contenType like (application/pdf,application/doc) |
string |
None. |
Response Formats
application/json, text/json
Sample:
{
"FileArray": "sample string 1",
"FileName": "sample string 2",
"ContentType": "sample string 3"
}