curl -X POST "$O26_API/v1/via/transfers" \
-H "Authorization: Bearer $O26_KEY" \
-H "Content-Type: application/json" \
-d '{
"source": { "currency": "CAD", "amount": "1000.00" },
"destination": { "currency": "PHP", "method": "bank_deposit" },
"recipient_id": "rcp_8f21",
"screening": "sentinel"
}'
import O26 from "@o26/sdk";
const o26 = new O26(process.env.O26_KEY);
// Move money with Via, screened by Sentinel
const transfer = await o26.via.transfers.create({
source: { currency: "CAD", amount: "1000.00" },
destination: { currency: "PHP", method: "bank_deposit" },
recipientId: "rcp_8f21",
screening: "sentinel",
});
from o26 import O26
o26 = O26(api_key=os.environ["O26_KEY"])
# Fill a shift with Shift, optimized by MatchGuard+
match = o26.shift.matches.create(
shift_id="shf_2291",
optimize=["fit", "continuity", "ot_cost"],
engine="matchguard_plus",
)