Partners: onboard your sellers
For store builders and platforms with a partner key: create your sellers through the API, let them finish one short step, and charge on their behalf.
Who this is for
You run a store builder or a platform, and your sellers are individuals with a personal RIF (V). Instead of each seller signing up on vexpay.app, you send VEX Pay what you already know about them. The seller then does one short step on a VEX Pay page, and once VEX Pay approves them you create checkouts and payment links for them. Each seller gets their own VEX Pay account: their own limits, fees and payouts to their own bank account.
Partner access is not self-serve (see How to become a partner below). Once VEX Pay approves your account as a partner, an Aliado (Partner) section appears in your portal: there you create your test and live partner keys and list the pages (https origins) where you open the onboarding step. Your ordinary API key keeps working for your own account; the partner endpoints answer 403 partner_key_required to it.
- A partner key can create and read the sellers you referred, issue onboarding links, and create and read checkout sessions and payment links for an approved seller.
- A partner key can never move money: payouts, refunds, conversions, USDT, balances, statements, a seller’s API keys and webhook endpoints all answer 403
partner_scope. - Only individuals with a V RIF can be created this way. E, P, J and G RIFs answer 422
partner_seller_type_unsupported.
How to become a partner
Partner access is granted by VEX Pay, one platform at a time. You need a VEX Pay business account: sign up at vexpay.app and ask for partner access. You can start building with your test partner key right away; your live partner key unlocks once your business verification is approved.
- Ask for partner access
In the VEX Pay portal, open Credentials and choose “Request partner access”, or talk to us on WhatsApp (+58 414 933 3844) with your account name.
- Tell us about your platform
Your business name and RIF, your website, what your sellers sell, how many sellers you expect in the first three months, and the web addresses (https origins) of the pages where you will open the onboarding step.
- Test
VEX Pay reviews the request and emails you when your account is a partner. In your portal, open Aliado, create a test partner key and add your pages. Build and rehearse the whole flow with test sellers.
- Go live
When your integration works in test, create your live partner key in Aliado. In the same section you see your sellers and send them new onboarding links. VEX Pay sets how many sellers you can have waiting for approval at once (200 by default).
The flow
- Create the seller
POST /v1/partner/sellerswith the seller’s data and RIF certificate. You get the sellerid(sel_…) and anonboardingLink. - Hand over the onboarding link
Open it with
onboard()from @vexpay/js, or send the URL to the seller. They accept the terms and the sworn declaration, complete the identity check (cédula and selfie), and confirm their payout account with two small deposits. - Follow the webhooks
You receive
seller.updatedon every status change, plusseller.needs_info,seller.approvedandseller.suspended. - Charge for the seller
Once the seller is
approved, create checkout sessions and payment links with your partner key and theVex-Sellerheader.
Step 01
Create a seller
Send multipart/form-data. Required: reference (your own ID for the seller), fullName (the legal name), cedula, rif (V, matching the cédula), email, phone (a Venezuelan mobile), address (the fiscal address printed on the RIF) and the rifCertificate file (PDF, PNG or JPEG, up to 10 MB). The RIF certificate also serves as the proof of address. Optional: storeName (shown as the display name; the legal name is kept), storeUrl, category (default ecommerce), expectedMonthlyVolume (default lt_10k).
The payout account must be in the seller’s own name: payoutType pago_movil with payoutBank (bank code) and payoutPhone, or bank_account with payoutAccountNumber (20 digits).
curl --request POST "${API_URL}/v1/partner/sellers" \
--header "x-api-key: ${VEXPAY_PARTNER_KEY}" \
--form reference=store_881 \
--form "fullName=María Pérez" \
--form cedula=12345678 \
--form rif=V-12345678-9 \
--form email=maria@example.com \
--form phone=04141234567 \
--form "storeName=Tienda de María" \
--form storeUrl=https://maria.example.store \
--form "address=Av. Principal, Edif. Sol, piso 2, Caracas" \
--form payoutType=pago_movil \
--form payoutBank=0102 \
--form payoutPhone=04141234567 \
--form rifCertificate=@rif-maria.pdf{
"id": "sel_3f2b8c1e-9a4d-4c7e-8b1a-2d3e4f5a6b7c",
"reference": "store_881",
"status": "onboarding",
"reason": null,
"name": "Tienda de María",
"test": false,
"createdAt": "2026-11-24T15:00:00.000Z",
"limits": null,
"onboardingLink": {
"url": "https://pay.vexpay.app/onboard/…",
"expiresAt": "2026-11-25T15:00:00.000Z"
}
}- The call is idempotent on
reference: repeating it returns the same seller and a fresh onboarding link, and creates nothing new. - A RIF, cédula, email or phone that already belongs to another VEX Pay seller answers 409
seller_exists, without saying who holds it. - A field that fails validation answers 400
invalid_datawithfieldanderrors. GET /v1/partner/sellerslists your sellers, newest first (filter withstatus, page withlimitandstartingAfter).GET /v1/partner/sellers/:idreturns one, with its currentlimits.
Step 02
The seller’s step: the onboarding link
The link opens a VEX Pay page for that one seller. It shows the seller’s name, partly masked cédula and RIF, and your business. The seller needs no password, no VEX Pay account and no app. Nothing they enter there reaches your page.
import { onboard } from '@vexpay/js';
// Call it from a click, so phones don't block the new window.
button.addEventListener('click', () => {
const handle = onboard({
link: seller.onboardingLink.url,
onEvent: (status) => console.log(status), // 'ready' | 'in_progress' | 'submitted' | 'approved'
onComplete: () => handle.close(), // once, on 'submitted' or 'approved'
onClose: () => refreshSellerFromServer(),
});
});- On desktop
onboard()opens a dialog with the page (camera allowed). On phones, touch-only devices and in-app browsers it opens a new window, where the camera works reliably. - The page only runs inside your pages whose origins VEX Pay registered for you. Opening the link directly in a browser also works.
- Page events are advisory. Decide what to show from the
seller.*webhooks orGET /v1/partner/sellers/:id, never from the browser. - The two deposits are sent when the seller accepts the terms, so they can arrive during the identity check. If they have not arrived yet, the seller can close the page and come back later with a new link.
A link expires 24 hours after it is issued. Issue a new one with POST /v1/partner/sellers/:id/onboarding-link whenever the seller needs to come back; it ends the previous link. The page resumes at the first step not done yet. A link opened after the seller finished shows their status and no forms.
curl --request POST "${API_URL}/v1/partner/sellers/sel_3f2b8c1e-9a4d-4c7e-8b1a-2d3e4f5a6b7c/onboarding-link" \
--header "x-api-key: ${VEXPAY_PARTNER_KEY}"Step 03
Statuses, reasons and webhooks
| Status | Meaning |
|---|---|
onboarding | Created; the seller has not finished the onboarding step. |
in_review | The seller finished; VEX Pay is reviewing the registration and the RIF. |
needs_info | Something must be fixed. reason says what. |
approved | The seller can sell. You can charge for them with Vex-Seller. |
suspended | The seller can no longer sell through VEX Pay. |
| Reason | What to do |
|---|---|
identity_mismatch | The ID used in the identity check does not match the RIF or the name. Send a new link; the seller must use their own cédula. |
identity_declined | The identity check failed. Send a new link so the seller tries again with good light and a valid cédula. |
rif_rejected | Upload a current, complete and legible RIF certificate with PUT /v1/partner/sellers/:id/files/rif-certificate. |
proof_of_address_rejected | Upload an updated RIF certificate (it is the proof of address) with the same endpoint. |
payout_account_rejected | The payout account could not be confirmed or is not in the seller’s name. Send a new link to retry the deposits. |
declaration_required | The sworn declaration is due again (for example when monthly sales first pass US$1,000). Send a new link: it shows only the declaration. The seller keeps selling during the grace period. |
kyb_changes_requested | VEX Pay needs some registration data corrected. Contact VEX Pay support with the seller id. |
Each webhook carries seller.id, status, reason and message: a Spanish sentence you can show the seller as is. Messages never name a bank or a provider. Register your endpoint with POST /v1/webhooks on your own account and subscribe to seller.updated, seller.needs_info, seller.approved and seller.suspended; webhooks are signed and retried like every VEX Pay webhook (see Webhooks).
{
"event": "seller.needs_info",
"data": {
"seller": {
"id": "sel_3f2b8c1e-9a4d-4c7e-8b1a-2d3e4f5a6b7c",
"status": "needs_info",
"reason": "rif_rejected",
"message": "No pudimos validar tu RIF. Sube el certificado del RIF vigente, completo y legible."
}
},
"timestamp": "2026-11-25T10:00:00.000Z"
}curl --request PUT "${API_URL}/v1/partner/sellers/sel_3f2b8c1e-9a4d-4c7e-8b1a-2d3e4f5a6b7c/files/rif-certificate" \
--header "x-api-key: ${VEXPAY_PARTNER_KEY}" \
--form file=@rif-maria-2.pdfStep 04
Charge for an approved seller
Send your partner key and the Vex-Seller header to POST /v1/checkout/sessions, GET /v1/checkout/sessions/:id, POST /v1/payment-links, GET /v1/payment-links or GET /v1/payment-links/:id. The request runs as if the seller made it: the seller’s limits, payment methods, declaration and fees apply, and the payment is credited to the seller.
curl --request POST "${API_URL}/v1/checkout/sessions" \
--header "content-type: application/json" \
--header "x-api-key: ${VEXPAY_PARTNER_KEY}" \
--header "Vex-Seller: sel_3f2b8c1e-9a4d-4c7e-8b1a-2d3e4f5a6b7c" \
--header "Idempotency-Key: order-5521" \
--data '{ "amountUsd": 10.00, "reference": "order-5521" }'- A seller you did not refer, or one that ended your access, answers 404
seller_not_found. A seller not approved yet answers 409seller_not_approved. Vex-Selleron any other endpoint answers 403partner_scope; with an ordinary key it answers 403partner_key_required.- Payment webhooks (
payment.*) for checkouts on your sellers are also delivered to your endpoints, with asellerIdfield.
The VEX Pay fee for each payment is deducted from the seller’s sale, at the seller’s own rates (see Pricing). Settlement to the seller’s own bank account is automatic once the payment clears; verification or a dispute can delay it. Partners take no commission through VEX Pay: no partner fee is deducted.
Test mode
- Your test partner key creates test sellers (
test: true). They never reach VEX Pay’s review and use their ownreferencespace, so you can rehearse with real data. - On a test seller’s onboarding page the identity check is simulated as a match and the two deposits are simulated: the page shows the amounts to type. No bank is called.
- A test seller becomes
approvedas soon as the page’s steps are done, and you receive the sameseller.*webhooks on your test endpoints. - Checkouts for a test seller run on test mode: use the test payment methods and test cards described on each method’s page.
- Test sellers are invisible to your live key, and live sellers to your test key.
Limits and access
- VEX Pay caps how many of your sellers can be open (
onboarding,in_revieworneeds_info) at once, 200 by default. Over the cap, creating a seller answers 429partner_seller_cap; it frees up as sellers are approved. Ask VEX Pay to change your cap. - Creating sellers is rate-limited per partner (30 per minute), and so are onboarding links (60 per minute). Too many links for one seller in a day also answer 429; wait and try again.
- An approved seller starts with level 1 limits, which grow with its verification (see Seller levels & limits).
limitson the seller shows the current ones. - The seller owns their account. They can sign in to the VEX Pay portal by magic link to see sales and payouts, and they can end your access at any time. After that your requests for that seller answer 404
seller_not_found, and the seller keeps selling on their own. - If VEX Pay ends your partner status, your partner keys stop working at once; your sellers keep their payments, payouts and status.