Skip to content
This repository has been archived by the owner before Nov 9, 2022. It is now read-only.

OpenFn/language-beyonic

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

⚠️ MOVED TO OpenFn/adaptors! ⚠️

N.B.: New versions are available at: https://github.com/OpenFn/adaptors/tree/main/packages/beyonic

Language Beyonic (Archived)

Language Pack for building expressions and operations for working with the beyonic API.

Documentation

Sample configuration

{
  "apiUrl": "https://beyonic.com/api",
  "apiToken": "cdjhiooiSIUJHDYSYUIHASIOHKAANOAJJjsiujhaka"
}

Payments API

createPayment(...)

createPayment(fields(
  field("phonenumber", "+256773712831"),
  field("first_name", "Gideon"),
  field("last_name", "Zelalem"),
  field("amount", 100.2),
  field("currency", "USD"),
  field("account", 1),
  field("description", "Long-term contract for Arseal"),
  field("payment_type", "money"),
  field("callback_url", "https://my.website/payments/callback")
))

Collection Requests API

createCollectionRequest(...)

createCollectionRequest(fields(
  field("instructions", "Send me some money, please!"),
  field("phonenumber", "+256773712831"),
  field("amount", 5.0),
  field("currency", "USD")
))

Contacts API

createContact(...)

createContact(fields(
  field("first_name", "Granit"),
  field("last_name", "Xhaka"),
  field("phone_number", "+256773712831"),
  field("email", "granit@arsenal.com")
))

Development

Clone the repo, run npm install.

Run tests using npm run test or npm run test:watch

Build the project using make.

About

No description, website, or topics provided.

Resources

License

GPL-3.0, LGPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
LGPL-3.0
LICENSE.LESSER

Stars

Watchers

Forks

Packages

No packages published