Archeived Payments

Get archived payment list

get

Fetches the list of archived payments with pagination.

Query parameters
limitintegerOptional

The number of results to return per page.

Default: 10
offsetintegerOptional

The starting point for the query, used for pagination.

Default: 0
currentPageintegerOptional

The current page of results.

Default: 1
countintegerOptional

Flag to indicate if the count of total results should be returned.

Default: 0
Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully retrieved the archived payment list.

get
GET /backend/api/vendor-sales/archive-payment-list HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Successfully got the complete payment list</message>
</object>

Revoke a vendor payment archive

post

This endpoint revokes a previously archived vendor payment using the archive ID.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Body
vendorPaymentArchiveIdintegerOptional
Responses
200

Successfully revoked the vendor payment archive.

post
POST /backend/api/vendor-sales/revoke-vendor-payment-archive HTTP/1.1
Host: 139.59.67.17
Authorization: text
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 28

"vendorPaymentArchiveId=1"
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Payment revoked successfully.</message>
</object>

Export vendor sales data

get

Exports the vendor sales data based on the provided vendor order ID.

Query parameters
vendorOrderIdintegerRequired

The ID of the vendor order for which the sales data is to be exported.

Header parameters
AuthorizationstringRequired

Bearer token for vendor authentication

Responses
200

Successfully exported vendor sales data.

get
GET /backend/api/vendor-sales/vendor-sales-export HTTP/1.1
Host: 139.59.67.17
Authorization: text
Accept: */*
<?xml version="1.0"?>
<object>
	<status>1</status>
	<message>Vendor sales data exported successfully.</message>
	<data>data.csv</data>
</object>

Last updated