Skip to content

Partner Lead API

The Partner Lead API lets software partners create merchant leads programmatically, so a prospective merchant can be referred and onboarded without leaving your application. It exists to streamline partner-driven acquisition by capturing the business and contact details up front and, where supported, returning a self-serve signup URL the merchant can use to complete their application.

Use the Partner Lead API when you want a single server-to-server call that registers a lead against your partner configuration, validates the submitted details, and returns a lead identifier you can track through to conversion.

Requirements

Before You Start

To integrate the Partner Lead API, you need:

  • Server-side access to the API — calls are authenticated with your API Key and must be made from your backend, never the browser.
  • A configured partner — the software you submit must match a partner configuration provisioned during onboarding (for example, ACME).
  • A price tier code — provided during onboarding and supplied on every lead.

Authentication

All requests are authenticated with your API Key, passed in the x-api-key header. A unique x-idempotency-key is required on each create request to safely prevent duplicate submissions.

HeaderRequiredDescription
x-api-keyYesYour unique API Key to authenticate against the API.
x-idempotency-keyYesA unique value used to ensure idempotency and prevent retries of the same request.

Endpoints

EnvironmentBase URL
Sandboxhttps://sandbox.api.gpaunz.com
Productionhttps://api.gpaunz.com

Integration Summary

Integrating the Partner Lead API involves one main step.

Steps (quick reference)

StepWhereWhatAPIOutput
1BackendCreate a LeadPOST https://sandbox.api.gpaunz.com/leadsid, csaUrl

For the full step-by-step integration, request/response examples, and error handling, see the Integration Guide: Partner Lead API Integration.

Request Fields

FieldRequiredTypeNotes
referenceYesstringYour own unique reference for the lead. Must be unique; a duplicate is rejected.
externalReferenceNostringYour external reference (e.g. an invoice number) stored against the lead.
firstNameNostringContact first name. Max 40 characters.
lastNameYesstringContact last name. Max 40 characters.
phoneNumberYesstringContact phone number. Validated against the format for the supplied country.
companyYesstringBusiness name. Max 255 characters.
emailYesstringContact email address.
countryYesstringaustralia or new_zealand.
postcodeNostringBusiness postcode.
priceTierCodeYesstringThe price tier code provided during onboarding. Max 255 characters.
servicesRequestedYesstring[]One or more requested services. See Services.
businessRegistrationNoobjectBusiness registration { value, type }. See Business Registration.
websiteNostringBusiness website URL.
softwareYesstringThe partner/software name, must match a configured partner (e.g. ACME).

Services

servicesRequested accepts one or more of the following values.

ValueDescription
direct_debitDirect Debit
ecommerceeCommerce
bpayBPAY
online_paymentsOnline Payments
eftposEFTPOS

Business Registration

businessRegistration is optional. When supplied, the value is validated against the digit length for the given type.

TypeDescriptionExpected length
abnAustralian Business Number11 digits
nzbnNew Zealand Business Number13 digits
acnAustralian Company Number9 digits

Response Overview

A successful create returns the lead id along with a result object indicating the status. When the lead qualifies for self-serve onboarding, a csaUrl is returned that the merchant can use to complete their signup.

For the full response shape, error codes, and worked examples, see Partner Lead API Integration.