新規登録​

ログイン​

Generate and send PDF receipts via email.

FREEMIUM
開発者​ OxeBox
更新日 15時間前​
6/10
人気度​
2007ms
レイテンシ​
100%
正常稼働率​

Generate and send PDF receipts via email. API Documentation

OxeBox API enables the developers who are building e-commerce/other solutions, that require digital receipts, to generate and securely send digital receipts over email.

Creating PDF bill receipt involves setting up third-party library and development efforts & receipts sent to customers via email often land in users's SPAM folder due to poor server reputation. OxeBox API primarily solves these two problems by creating awesome PDF bill receipts on-the-fly and delivering them to user's inbox via its dedicated email service.

全文を​表示する​

さらに​魅力的な​アプリ開発を​

世界最大級の​APIマーケットプレイスで、​8,000以上の​豊富な​ラインナップから​APIを​検索、​簡単に​接続​しましょう​

POSTGenerate & send a PDF bill receipt via email
POSTGenerate & send a PDF bill receipt via email

This API lets developers generate a PDF bill receipt and deliver it over email

FreemiumこのAPIには​有料プランと​一定量まで​無料で​利用可能な​プランが​あります。​Rakuten RapidAPIで​お好みのプランに​登録しましょう。​
ログインして​このエンドポイントを​テストする​
ログイン​
ヘッダーパラメータ​
X-RapidAPI-KeySTRING
REQUIRED
必須パラメータ​
generate and send PDFJSON_STRING
REQUIRED
コードスニペット​
unirest.post("https://oxebox-generate-a-new-oxebox-bill-receipt-v1.p.rapidapi.com/generateNewBill")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/json")
.send({"StoreDetails":{"Name":"Jamies Cafe","LogoUrl":"https://www.oxebox.com/assets/images/store_logo/store_5bfbb2b7b1863.png","TaxDetails":"","Phone":"+18008563275","ReceiptHeader":"Welcome to Jamies Cafe","ReceiptFooter":"Thanks for your visit !!!","Address":{"AddressLine1":"P.O. Box 649","AddressLine2":"6067 Vel Road 652374 ","City":"Fuenlabrada","Area":"Anguilla","Zipcode":"23456","Country":"SPAIN"}},"CustomerDetails":{"Name":"Zeph Foreman","Phone":"","CountryCode":"","Email":{"recepientEmail":"","subject":"Here is the receipt for your recent order from Jamies Cafe","fromEmail":"receipts@oxebox.com","fromName":"Jamies T-shirts","replyToEmail":""}},"BillingDetails":{"BillReceiptID":"Rec-1088686AABC","TransactionDate":"2018-11-30","TransactionTime":"22:10:01","AdditionalDetails":[{"Name":"Table No","Value":"1234"},{"Name":"Order No","Value":"06161"}],"PaymentDetails":[{"Amount":4000,"Type":"card","Cashier":"John Rock"},{"Amount":1646,"Type":"cash","Cashier":"John Rock"}],"ItemDetails":[{"ItemCode":"Pizza - 01","ItemName":"Exotica Supreme Pizza","ItemHeader":"12 medium, extra cheeze,olives","ItemQty":20,"ItemUnit":"pcs","ItemPrice":40,"ItemTotal":800,"SubItems":[{"ItemName":"Extra cheese","ItemQty":1,"ItemUnit":"pcs","ItemPrice":29,"ItemTotal":29},{"ItemName":"Extra Toppings","ItemQty":2,"ItemUnit":"pcs","ItemPrice":55,"ItemTotal":110}]},{"ItemCode":"Pizza-02","ItemName":"Triple chicken feast pizza","ItemHeader":"Crust: Pan, Medium, spicy","ItemQty":40,"ItemUnit":"pcs","ItemPrice":100,"ItemTotal":4000,"Discounts":[{"Name":"Store Promo","Total":99,"Percent":0},{"Name":"Additional discount","Total":18,"Percent":9}],"Taxes":[{"Name":"SGST 6","Total":240,"Percent":6},{"Name":"SGST 9","Total":240,"Percent":9}]}],"Discounts":[{"Name":"Store Promo","Total":99,"Percent":""},{"Name":"Bulk discount","Total":400,"Percent":""}],"Taxes":[{"Name":"SGST","Total":222.86,"Percent":6},{"Name":"CGST","Total":222.86,"Percent":9}],"SubTotal":5600,"GrandTotal":0,"RoundOff":0.29,"TotalBillAmount":5646,"AdditionalCharges":[{"Name":"Delivery Charges","Amount":4000,"Discounts":[{"Name":"Store Promo","Total":99,"Percent":""},{"Name":"Additional discount","Total":18,"Percent":9}],"Taxes":[{"Name":"CGST 9","Total":7.63,"Percent":9},{"Name":"SGST 9","Total":7.63,"Percent":9}]}],"BillingAddress":{"AddressLine1":"954 Dui. St.","AddressLine2":"Leganes ACT","Area":"BTM","City":"Hartford","State":"Mayotte","Zip":16205,"Country":"SPAIN","Name":"Isaiah Marquez","Phone":"+61423475219"},"ShippingAddress":{"AddressLine1":"954 Dui. St.","AddressLine2":"Leganes ACT","Area":"BTM","City":"Hartford","State":"Mayotte","Zip":16205,"Country":"SPAIN","Name":"Isaiah Marquez","Phone":"+61423475219"}},"StorePromotions":{"OfferImage":"https://www.oxebox.com/assets/images/store_promo/promo_5a66a9fae0c2d.png","facebook_link":"https://www.facebook.com/Munafa-Mart-2019937031565683/","twitter_link":"https://twitter.com/munafamart","instagram_link":"https://www.instagram.com/dominos/?hl=en","youtube_link":"https://www.youtube.com/watch?v=dKwDkzdUZvI"}})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
サンプルレスポンス​

loading...

ログイン​新規登録​

SDKを​インストール(NodeJS)​

インストール​

Node.jsで​Unirestを​使用​するには、​NPMモジュールを​インストール​してください。​

$ npm install unirest

インストール​完了後は、​簡単に​リクエストを​行うことが​できるように​なります。​

var unirest = require('unirest');

リクエスト​

unirest.post("https://oxebox-generate-a-new-oxebox-bill-receipt-v1.p.rapidapi.com/generateNewBill")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/json")
.send({"StoreDetails":{"Name":"Jamies Cafe","LogoUrl":"https://www.oxebox.com/assets/images/store_logo/store_5bfbb2b7b1863.png","TaxDetails":"","Phone":"+18008563275","ReceiptHeader":"Welcome to Jamies Cafe","ReceiptFooter":"Thanks for your visit !!!","Address":{"AddressLine1":"P.O. Box 649","AddressLine2":"6067 Vel Road 652374 ","City":"Fuenlabrada","Area":"Anguilla","Zipcode":"23456","Country":"SPAIN"}},"CustomerDetails":{"Name":"Zeph Foreman","Phone":"","CountryCode":"","Email":{"recepientEmail":"","subject":"Here is the receipt for your recent order from Jamies Cafe","fromEmail":"receipts@oxebox.com","fromName":"Jamies T-shirts","replyToEmail":""}},"BillingDetails":{"BillReceiptID":"Rec-1088686AABC","TransactionDate":"2018-11-30","TransactionTime":"22:10:01","AdditionalDetails":[{"Name":"Table No","Value":"1234"},{"Name":"Order No","Value":"06161"}],"PaymentDetails":[{"Amount":4000,"Type":"card","Cashier":"John Rock"},{"Amount":1646,"Type":"cash","Cashier":"John Rock"}],"ItemDetails":[{"ItemCode":"Pizza - 01","ItemName":"Exotica Supreme Pizza","ItemHeader":"12 medium, extra cheeze,olives","ItemQty":20,"ItemUnit":"pcs","ItemPrice":40,"ItemTotal":800,"SubItems":[{"ItemName":"Extra cheese","ItemQty":1,"ItemUnit":"pcs","ItemPrice":29,"ItemTotal":29},{"ItemName":"Extra Toppings","ItemQty":2,"ItemUnit":"pcs","ItemPrice":55,"ItemTotal":110}]},{"ItemCode":"Pizza-02","ItemName":"Triple chicken feast pizza","ItemHeader":"Crust: Pan, Medium, spicy","ItemQty":40,"ItemUnit":"pcs","ItemPrice":100,"ItemTotal":4000,"Discounts":[{"Name":"Store Promo","Total":99,"Percent":0},{"Name":"Additional discount","Total":18,"Percent":9}],"Taxes":[{"Name":"SGST 6","Total":240,"Percent":6},{"Name":"SGST 9","Total":240,"Percent":9}]}],"Discounts":[{"Name":"Store Promo","Total":99,"Percent":""},{"Name":"Bulk discount","Total":400,"Percent":""}],"Taxes":[{"Name":"SGST","Total":222.86,"Percent":6},{"Name":"CGST","Total":222.86,"Percent":9}],"SubTotal":5600,"GrandTotal":0,"RoundOff":0.29,"TotalBillAmount":5646,"AdditionalCharges":[{"Name":"Delivery Charges","Amount":4000,"Discounts":[{"Name":"Store Promo","Total":99,"Percent":""},{"Name":"Additional discount","Total":18,"Percent":9}],"Taxes":[{"Name":"CGST 9","Total":7.63,"Percent":9},{"Name":"SGST 9","Total":7.63,"Percent":9}]}],"BillingAddress":{"AddressLine1":"954 Dui. St.","AddressLine2":"Leganes ACT","Area":"BTM","City":"Hartford","State":"Mayotte","Zip":16205,"Country":"SPAIN","Name":"Isaiah Marquez","Phone":"+61423475219"},"ShippingAddress":{"AddressLine1":"954 Dui. St.","AddressLine2":"Leganes ACT","Area":"BTM","City":"Hartford","State":"Mayotte","Zip":16205,"Country":"SPAIN","Name":"Isaiah Marquez","Phone":"+61423475219"}},"StorePromotions":{"OfferImage":"https://www.oxebox.com/assets/images/store_promo/promo_5a66a9fae0c2d.png","facebook_link":"https://www.facebook.com/Munafa-Mart-2019937031565683/","twitter_link":"https://twitter.com/munafamart","instagram_link":"https://www.instagram.com/dominos/?hl=en","youtube_link":"https://www.youtube.com/watch?v=dKwDkzdUZvI"}})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2認証​
クライアントID​
クライアントシークレット​
OAuth2認証​
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
APIを​検索​
ブラウザ上で​即座にテスト​
接続用スニペットの​自動生成​
ダッシュボードで​一括管理​