Skip to content

Releases: akarsh1995/binance-pay-rs

v0.3.2

16 May 02:19
Compare
Choose a tag to compare

Added

  • Readme badges
  • impl_binance!() macro simplified which implements the action method (initiate, query, create, etc.) on every Request type. Previously post() method was used, unintuitive, and is now deprecated.

Fixed:

  • Public visibility of the Request or Response fields
  • README.md

v0.3.0

12 May 12:41
Compare
Choose a tag to compare
  • APIs addition

    • Transfer Funds
    • Query Transfer Result
    • Create Sub Merchant
    • Query Refund Order
    • Batch Payout
    • Payout Notification
    • Payout Query
  • Backward-incompatible Changes

    • All request/response serializers and deserializers modules are now organized in the new directory structure.
    ├── c2b
    │   ├── order
    │   ├── payout
    │   ├── refund
    │   ├── sub_merchant
    │   ├── transfer
    │   ├── wallet_balance
    │   └── webhook
    
    • These directories contain related action module like order/create.rs or order/close.rs or order/query.rs. Each module has Request and Response serialization and deserialization struct.

    • order/close's Response now uses more intutive pattern matching.

      CloseOrderResult(true)-> CloseOrderResult::Success

      CloseOrderResult(false) -> CloseOrderResult::Failure

    • bizStatus field in notification response, contains enum pertaining to the type of the response's bizStatus. 10d438

v0.2.2

12 May 11:59
Compare
Choose a tag to compare

Addition:

  • Doc codeblock src/c2b/webhook/verification
  • Doc codeblock src/c2b/webhook/notification

v0.2.1

10 May 02:24
Compare
Choose a tag to compare
  • CI
  • Add examples
    • create and close order
    • axum example notification

v0.2.0

09 May 18:20
17d6f65
Compare
Choose a tag to compare
  • v0.2.0
    • Add documentation
    • Fetch certificate
    • Webhook notification signature verification
    • Order webhook notification
    • Query Order
    • Close Order
    • Refund Order
    • Refund Order Notification
    • Wallet balance query