Skip to content

Latest commit

 

History

History
49 lines (47 loc) · 1.82 KB

reseller_transaction.md

File metadata and controls

49 lines (47 loc) · 1.82 KB

Search Reseller's transaction

API: /api/rms/v1/transaction/list
Method: POST
Body should be a JSON object (JSON):

{
   "page": 0,
   "pageSize": 30,
   "onlyOrganization": true,
   "type": "invoice",
   "description": "querystring",
   "transactionKey": "register",
   "serviceType": "domain",
   "customerEmail": "[email protected]",
   "resourceId": 0,
   "fromCreatedDate": "01/01/2017 00:00",
   "toCreatedDate": "01/01/2017 00:00"
}

page: page, default 0
pageSize: number of clients return, default 30
onlyOrganization: Only transaction of Reseller, excluding sub-Reseller, the default is false
type: Type of transaction [{'invoice': 'invoice'}, {'refund': 'refund'}, {'receipt': 'receipt'}, {'arrear': 'arrear'}]
description: description
transactionKey: transaction Key[{'register': 'new registration'},{'renew': 'renew'},{'change-registrant': 'change name of registrant'}, {'protect-privacy': 'protect privacy'},{'transfer': 'transfer registrar},{'registry-lock': 'registry lock'},{'registrar-lock': 'registrar lock'}, {'change-dns': 'change dns'},{'upgrade-plan': 'upgrade plan'},{'modify-plan': 'modify-plan'},{'backorder': 'backorder'}]
serviceType: service[{'domain': 'domain'}, {'hosting': 'hosting'}, {'email': 'email'}, {'vps': 'Cloud VPS'}]
customerEmail: customer Email resourceId: service's id (id of domain, hosting...)
fromCreatedDate: Created Date From toCreatedDate: Created Date To

Get details of the transaction

API: /api/rms/v1/transaction/detail Method: POST
Body should be a JSON object (JSON):

{
   "id": 0
}

id (required): Transaction's ID