Skip to content

Build with an AI agent

If you build with an AI coding agent — Claude Code, Codex, Cursor, and others — you can drop in the WeGetFinancing integration skill. It teaches your agent the integration flow and gives it working templates for the Create Request call, the lightbox, and a postback handler with signature verification, all pointing back to this documentation.

Download and unpack the skill into your agent’s skills directory (Claude Code uses ~/.claude/skills/):

Terminal window
mkdir -p ~/.claude/skills
curl -fsSL https://docs.wegetfinancing.com/skills/wegetfinancing-integration.tar.gz \
| tar -xz -C ~/.claude/skills

Prefer a zip? Download wegetfinancing-integration.zip and unpack it into your skills directory. For other agents, point them at the unpacked wegetfinancing-integration/ folder (it is a standard SKILL.md skill).

Then ask your agent to “integrate WeGetFinancing at checkout” — it will pick up the skill.

The skill walks your agent through the integration in order:

  1. Create a financing requestPOST /merchant/{merchant_id}/requests, returning the customer href and your inv_id.
  2. Show the application — embed the wegetfinancing.js lightbox with the href.
  3. Handle the postback — verify the x-signature and create the order only on approved.
  4. Test — against the sandbox before going live.

See the Backend Integration guide for the same flow in prose.

  • SKILL.md — the trigger + the end-to-end flow.
  • reference.md — the condensed API contract (fields, currency/country, postback signature), linking to the full pages here.
  • templates/ — working starting points: create_request.{py,js,php,sh}, postback_handler.{py,js,php}, postback_test.sh, and lightbox.html.

You can also view the raw SKILL.md and reference.md (plain text).

The skill tracks the Merchant API docs; re-download after major API updates.