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.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
| Field | Type | Required | Description |
|---|---|---|---|
customerNumber | string | Yes | The customer’s account number |
transactionAmount | decimal | Yes | Amount to charge. Use 0.00 to save a payment method only |
applicationReturnUrl | string | Yes | Your application URL that WorldPay redirects to after the customer completes the form |
isDefault | boolean | No | Whether to set this as the customer’s default payment method |
marketCode | string | No | Market code for the transaction (defaults to "Default") |
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.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.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
paymentProfileId in your checkout or payment requests to charge the stored card without prompting the customer for card details again.
List saved payment methods
Recording offline payments
For payments made outside the card network — wire transfers, ACH/EFT, or checks — record them directly against the invoice: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:Invoice payment states
| Status | Meaning |
|---|---|
Issued | Invoice created and sent; awaiting payment |
PartiallyPaid | One or more payments recorded but the balance is not yet zero |
Paid | Invoice fully paid; balance is zero |
Voided | Invoice voided before payment; no longer collectible |
Cancelled | Invoice cancelled; associated order was cancelled |