Download invoice - celdotro/marketplace GitHub Wiki

About

  • Download invoice

Class

celmarket\Payments\PaymentsReports

Method

downloadInvoice

API

  • method: Commissions
  • action: downloadInvoice

Parameters

  • borderou = summary's ID

Response

An object with the following attributes

  • status = invoice's status
  • data = base64 encoded invoice

Example - PHP

https://github.com/celdotro/marketplace_examples/blob/master/Payments/9.downloadInvoice.php

Example - JSON

{
  "request": {
    "borderou": 1
  },
  
  "response": {
    "status": 1,
    "data": "X"
  }
}
⚠️ **GitHub.com Fallback** ⚠️