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.
Install
Section titled “Install”Download and unpack the skill into your agent’s skills directory (Claude Code uses
~/.claude/skills/):
mkdir -p ~/.claude/skillscurl -fsSL https://docs.wegetfinancing.com/skills/wegetfinancing-integration.tar.gz \ | tar -xz -C ~/.claude/skillsPrefer 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.
What it does
Section titled “What it does”The skill walks your agent through the integration in order:
- Create a financing request —
POST /merchant/{merchant_id}/requests, returning the customerhrefand yourinv_id. - Show the application — embed the
wegetfinancing.jslightbox with thehref. - Handle the postback — verify the
x-signatureand create the order only onapproved. - Test — against the sandbox before going live.
See the Backend Integration guide for the same flow in prose.
What’s inside
Section titled “What’s inside”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, andlightbox.html.
You can also view the raw SKILL.md and
reference.md (plain text).
Downloads
Section titled “Downloads”The skill tracks the Merchant API docs; re-download after major API updates.