Developer guide
VEX Pay siteAPI reference
Browse documentation

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 keys are issued by VEX Pay

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.

  1. 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.

  2. 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.

  3. 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.

  4. 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

  1. Create the seller

    POST /v1/partner/sellers with the seller’s data and RIF certificate. You get the seller id (sel_…) and an onboardingLink.

  2. 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.

  3. Follow the webhooks

    You receive seller.updated on every status change, plus seller.needs_info, seller.approved and seller.suspended.

  4. Charge for the seller

    Once the seller is approved, create checkout sessions and payment links with your partner key and the Vex-Seller header.

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).

curlbash
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
Responsejson
{
  "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_data with field and errors.
  • GET /v1/partner/sellers lists your sellers, newest first (filter with status, page with limit and startingAfter). GET /v1/partner/sellers/:id returns one, with its current limits.

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.

@vexpay/jsjavascript
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 or GET /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.
Links last 24 hours; only the newest works

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.

New linkbash
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

StatusMeaning
onboardingCreated; the seller has not finished the onboarding step.
in_reviewThe seller finished; VEX Pay is reviewing the registration and the RIF.
needs_infoSomething must be fixed. reason says what.
approvedThe seller can sell. You can charge for them with Vex-Seller.
suspendedThe seller can no longer sell through VEX Pay.
ReasonWhat to do
identity_mismatchThe 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_declinedThe identity check failed. Send a new link so the seller tries again with good light and a valid cédula.
rif_rejectedUpload a current, complete and legible RIF certificate with PUT /v1/partner/sellers/:id/files/rif-certificate.
proof_of_address_rejectedUpload an updated RIF certificate (it is the proof of address) with the same endpoint.
payout_account_rejectedThe payout account could not be confirmed or is not in the seller’s name. Send a new link to retry the deposits.
declaration_requiredThe 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_requestedVEX 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).

seller.needs_infojson
{
  "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"
}
Re-upload the RIFbash
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.pdf

Step 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.

curlbash
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 409 seller_not_approved.
  • Vex-Seller on any other endpoint answers 403 partner_scope; with an ordinary key it answers 403 partner_key_required.
  • Payment webhooks (payment.*) for checkouts on your sellers are also delivered to your endpoints, with a sellerId field.
Fees come out of each sale

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 own reference space, 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 approved as soon as the page’s steps are done, and you receive the same seller.* 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_review or needs_info) at once, 200 by default. Over the cap, creating a seller answers 429 partner_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). limits on 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.