Build billing portals for your merchants

The Remit partner API lets ISOs, resellers and platforms set up a branded billing portal for each merchant in one call. Merchants send invoices from their own systems; their customers view, pay, schedule and autopay them at paidyet.cloud/{merchant}, with payments processed by PaidYET.

Get startedAPI reference
Partner key → create merchant → merchant API key → send invoices → customers pay → webhooks

Get started

  1. Get your partner API key

    PaidYET emails your key as a secure one-time link. Open it, and we send a 6-digit code to the same email address. Enter the code and the key is shown once. Copy it into your server's secret storage straight away; the link never opens again.

    Keys start with pyb_partner_. Send it as a Bearer token. Keep it on your server only: never in a browser, a mobile app or a public repository.

    Lost it or think it leaked? Ask support@paidyet.com for a new key. The old one stops working immediately.

  2. Check a portal address

    Each merchant gets a portal at paidyet.cloud/{slug}. Check one is free, or get a suggestion from the business name.

    Request
    curl "https://paidyet.cloud/api/partner/v1/slugs?name=Sunrise%20Dental%20Group" \
      -H "Authorization: Bearer $PARTNER_KEY"

    Check a slug

  3. Create the merchant

    One call creates the portal, its merchant console and its owner. Send your own external_id so retries are safe. The response includes the merchant's merchant API key, shown only this once: store it with the merchant.

    Request
    curl -X POST https://paidyet.cloud/api/partner/v1/merchants \
      -H "Authorization: Bearer $PARTNER_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "name": "Sunrise Dental Group",
        "external_id": "acct_10442",
        "email": "billing@sunrisedental.com",
        "timezone": "America/Chicago",
        "owner": { "email": "maria@sunrisedental.com", "name": "Maria Lopez" }
      }'

    The owner gets a "Your billing portal is ready" email and signs in at paidyet.cloud/merchant with a one-time code. They can connect their PaidYET account there, or you can pass their PaidYET credentials in the same call.

    Create a merchant · List merchants

  4. Set up the merchant's invoicing

    With the merchant API key, define the categories and tags their invoices use (a landscaper might tag property and crew), and choose portal rules: partial and scheduled payments, autopay, reminders, payment plans, fast pay, and the cash discount or tech platform charge.

    Request
    curl -X PUT https://paidyet.cloud/api/v1/invoicing/settings \
      -H "Authorization: Bearer $MERCHANT_KEY" \
      -H "Content-Type: application/json" \
      -d '{ "categories": ["Maintenance", "Repairs"], "tags": [{ "key": "property", "label": "Property" }] }'

    Invoicing settings

  5. Send invoices

    Post each invoice from the merchant's billing system. The customer is created or matched by your external_id, gets an email with a pay link, and sees the invoice in the portal right away. Amounts are integer cents.

    Request
    curl -X POST https://paidyet.cloud/api/v1/invoices \
      -H "Authorization: Bearer $MERCHANT_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "number": "SD-1001",
        "customer": { "external_id": "CUST-88", "name": "Lopez Family", "email": "pat@example.com" },
        "issued_on": "2026-11-01", "due_on": "2026-11-30",
        "line_items": [ { "description": "Cleaning", "quantity": 1, "unit_amount": 18500, "category": "Maintenance" } ]
      }'

    Create an invoice · Links for customers

    Need payment before the work starts? Send a pro-forma invoice instead by adding "type": "proforma". Pro-formas get their own number series and an optional expiry date. The customer can pay the full amount, a deposit, or any amount, as the merchant chooses. When the work is done, convert the pro-forma to a final invoice, and anything already paid counts toward it.

    Pro-forma invoices · Convert to an invoice

  6. Listen for payments

    Give each merchant a webhook URL and we POST signed events as invoices are paid, partly paid, settled, returned or reversed. Verify the signature, then update the merchant's books.

    Webhooks · Verify signatures · How payments work

  7. Test, then go live

    Build against PaidYET sandbox credentials: nothing is really charged, and test cards and bank accounts are listed in the reference. When the merchant is ready, switch their payments to production in the merchant console. Their portal, invoices and keys stay the same.

    Testing · Errors

Three keys, three jobs

Partner keypyb_partner_…

Yours. Creates and lists the merchants you onboard. Sent by one-time link.

Merchant API keypyb_live_…

One per merchant, returned once when you create it. Sends that merchant's invoices and settings.

PaidYET API key

The merchant's payment processing account. Connected in the merchant console (or at creation); never returned by our API.

Help

Questions, a new key, or a partner account: support@paidyet.com. Everything else is in the API reference.