Skip to main content
Nymble Commerce supports card payments via hosted payment pages, saved payment methods (card-on-file), and offline payment recording — all tied to your invoices. Choose the approach that matches your storefront’s PCI scope and your customers’ preferences.

Payment providers

Nymble Commerce integrates with Authorize.Net and WorldPay (Vantiv). Your payment provider is configured once at the organization level via the Integrations API. The payment endpoints behave identically regardless of the underlying processor, with the exception of the hosted payment flow, which is specific to WorldPay.

Hosted payment flow (WorldPay)

Use the hosted payment flow when you want to accept card payments without handling raw card numbers in your application. WorldPay renders a secure, PCI-compliant form and Nymble Commerce receives the result via callback.
1

Create a transaction setup

Initiate a hosted payment session. Nymble Commerce returns the WorldPay transaction setup ID and the URL of the hosted payment page.
Request fields:Response
2

Redirect your customer

Redirect the customer’s browser to hostedPaymentUrl. WorldPay’s secure page collects the card details — your application never handles the card number.
3

Receive the callback

After the customer submits their card, WorldPay calls back to Nymble Commerce with the transaction result. Nymble Commerce records the outcome automatically and then redirects the customer to your applicationReturnUrl.
4

Check payment status

Poll the invoice to confirm payment has been applied:
Check the paymentStatus field in the response. When it reads Paid, the transaction is complete.
Use the hosted payment flow whenever your application does not have PCI DSS scope — it’s the fastest path to accepting cards safely. For repeat B2B customers who order frequently, consider offering card-on-file (saved payment methods) instead, so they can skip re-entering card details on every order.

Saved payment methods

Saved payment methods let customers authorize a card once and reuse it for future orders without re-entering details. This flow is available for both Authorize.Net and WorldPay.

Tokenize a card

Response
Pass the paymentProfileId in your checkout or payment requests to charge the stored card without prompting the customer for card details again.

List saved payment methods

Response

Recording offline payments

For payments made outside the card network — wire transfers, ACH/EFT, or checks — record them directly against the invoice:
Response

Completing a payment

After a successful hosted payment, call the complete endpoint to mark the invoice as paid. In most cases Nymble Commerce’s callback handler calls this automatically, but you can also trigger it from your backend after receiving confirmation:

Refunds

Issue a full or partial refund against a settled transaction:
Refunds are sent directly to the payment provider and cannot be reversed through the API once submitted. Only refund transactions that have fully settled — processing a refund against a pending authorization will fail. Check with your provider on typical settlement windows (usually 1–2 business days).

Invoice payment states