curl 'https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66' -X PUT \
-u "apiUsername:apiPassword" \
-H "Content-Type: application/json" --data '{"companyDetails":{"employerName":"MyGigsters Technologies Pty Ltd","australianBusinessNumber":"34623710896","status":"ACTIVE","contributionsEnabled":true,"employeeServicesEnabled":false,"singleTouchPayrollEnabled":true,"splitMultiEmployerBatch":true,"withholderPayerNumber":"123456789","employerArrangement":"ARR001","location":"SYDNEY","acn":"123456789","website":"https://example.com","registrationIp":"203.0.113.42"},"contactPerson":{"givenName":"Swaminathan","familyName":"Narayanan","emailAddress":"jane.smith@example.com","title":"Mr","otherName":"","mobilePhone":"0452624731","telephone":"0452624731","areaCode":"08","signatoryName":"Swaminathan Narayanan","signatoryPosition":"CPO"},"companyAddress":{"addressType":"POSTAL","addressLine1":"UNIT 6 17 THIRZA AVENUE","addressLine2":"","addressLine3":"","suburb":"MITCHELL PARK","postcode":"5043","state":"SA","country":"Australia"},"directDebitAccount":{"accountName":"MyGigsters Technology Pty Ltd","bsb":"085005","accountNumber":"310895575"},"refundAccount":{"accountName":"MyGigsters Technology Pty Ltd","bsb":"085005","accountNumber":"310895575"},"directDebitAgreement":{"agreedToTerms":true,"agreedAt":"2024-01-15T10:30:00Z"},"legalAgreements":{"termsAndConditions":true,"privacyPolicy":true,"directDebitServiceAgreement":true,"masterServiceAgreement":true},"digitalSignature":"iVBORw0KGgoAAAANSUhEUgAA..."}'
const response = await fetch("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66", {
method: "PUT",
headers: {
Authorization: "Basic " + Buffer.from("apiUsername:apiPassword").toString("base64"),
"Content-Type": "application/json",
},
body: JSON.stringify({
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}),
});
const data = await response.json();
console.log(data);
import requests
response = requests.put(
"https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66",
auth=("apiUsername", "apiPassword"),
json={
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": True,
"employeeServicesEnabled": False,
"singleTouchPayrollEnabled": True,
"splitMultiEmployerBatch": True,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42",
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO",
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia",
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575",
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575",
},
"directDebitAgreement": {
"agreedToTerms": True,
"agreedAt": "2024-01-15T10:30:00Z",
},
"legalAgreements": {
"termsAndConditions": True,
"privacyPolicy": True,
"directDebitServiceAgreement": True,
"masterServiceAgreement": True,
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA...",
},
)
print(response.json())
require "net/http"
require "json"
require "uri"
uri = URI("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66")
request = Net::HTTP::Put.new(uri)
request.basic_auth("apiUsername", "apiPassword")
request["Content-Type"] = "application/json"
request.body = <<~JSON
{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts JSON.parse(response.body)
<?php
$ch = curl_init("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_USERPWD => "apiUsername:apiPassword",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}
JSON,
]);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.util.Base64;
public class Example {
public static void main(String[] args) throws Exception {
String credentials = Base64.getEncoder()
.encodeToString("apiUsername:apiPassword".getBytes());
String body = String.join("\n",
"{",
" \"companyDetails\": {",
" \"employerName\": \"MyGigsters Technologies Pty Ltd\",",
" \"australianBusinessNumber\": \"34623710896\",",
" \"status\": \"ACTIVE\",",
" \"contributionsEnabled\": true,",
" \"employeeServicesEnabled\": false,",
" \"singleTouchPayrollEnabled\": true,",
" \"splitMultiEmployerBatch\": true,",
" \"withholderPayerNumber\": \"123456789\",",
" \"employerArrangement\": \"ARR001\",",
" \"location\": \"SYDNEY\",",
" \"acn\": \"123456789\",",
" \"website\": \"https://example.com\",",
" \"registrationIp\": \"203.0.113.42\"",
" },",
" \"contactPerson\": {",
" \"givenName\": \"Swaminathan\",",
" \"familyName\": \"Narayanan\",",
" \"emailAddress\": \"jane.smith@example.com\",",
" \"title\": \"Mr\",",
" \"otherName\": \"\",",
" \"mobilePhone\": \"0452624731\",",
" \"telephone\": \"0452624731\",",
" \"areaCode\": \"08\",",
" \"signatoryName\": \"Swaminathan Narayanan\",",
" \"signatoryPosition\": \"CPO\"",
" },",
" \"companyAddress\": {",
" \"addressType\": \"POSTAL\",",
" \"addressLine1\": \"UNIT 6 17 THIRZA AVENUE\",",
" \"addressLine2\": \"\",",
" \"addressLine3\": \"\",",
" \"suburb\": \"MITCHELL PARK\",",
" \"postcode\": \"5043\",",
" \"state\": \"SA\",",
" \"country\": \"Australia\"",
" },",
" \"directDebitAccount\": {",
" \"accountName\": \"MyGigsters Technology Pty Ltd\",",
" \"bsb\": \"085005\",",
" \"accountNumber\": \"310895575\"",
" },",
" \"refundAccount\": {",
" \"accountName\": \"MyGigsters Technology Pty Ltd\",",
" \"bsb\": \"085005\",",
" \"accountNumber\": \"310895575\"",
" },",
" \"directDebitAgreement\": {",
" \"agreedToTerms\": true,",
" \"agreedAt\": \"2024-01-15T10:30:00Z\"",
" },",
" \"legalAgreements\": {",
" \"termsAndConditions\": true,",
" \"privacyPolicy\": true,",
" \"directDebitServiceAgreement\": true,",
" \"masterServiceAgreement\": true",
" },",
" \"digitalSignature\": \"iVBORw0KGgoAAAANSUhEUgAA...\"",
"}"
);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66"))
.header("Authorization", "Basic " + credentials)
.header("Content-Type", "application/json")
.method("PUT", HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}`)
req, err := http.NewRequest("PUT", "https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66", body)
if err != nil {
panic(err)
}
req.SetBasicAuth("apiUsername", "apiPassword")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}
using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66");
request.Headers.Authorization = new AuthenticationHeaderValue(
"Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes("apiUsername:apiPassword")));
request.Content = new StringContent(@"{
""companyDetails"": {
""employerName"": ""MyGigsters Technologies Pty Ltd"",
""australianBusinessNumber"": ""34623710896"",
""status"": ""ACTIVE"",
""contributionsEnabled"": true,
""employeeServicesEnabled"": false,
""singleTouchPayrollEnabled"": true,
""splitMultiEmployerBatch"": true,
""withholderPayerNumber"": ""123456789"",
""employerArrangement"": ""ARR001"",
""location"": ""SYDNEY"",
""acn"": ""123456789"",
""website"": ""https://example.com"",
""registrationIp"": ""203.0.113.42""
},
""contactPerson"": {
""givenName"": ""Swaminathan"",
""familyName"": ""Narayanan"",
""emailAddress"": ""jane.smith@example.com"",
""title"": ""Mr"",
""otherName"": """",
""mobilePhone"": ""0452624731"",
""telephone"": ""0452624731"",
""areaCode"": ""08"",
""signatoryName"": ""Swaminathan Narayanan"",
""signatoryPosition"": ""CPO""
},
""companyAddress"": {
""addressType"": ""POSTAL"",
""addressLine1"": ""UNIT 6 17 THIRZA AVENUE"",
""addressLine2"": """",
""addressLine3"": """",
""suburb"": ""MITCHELL PARK"",
""postcode"": ""5043"",
""state"": ""SA"",
""country"": ""Australia""
},
""directDebitAccount"": {
""accountName"": ""MyGigsters Technology Pty Ltd"",
""bsb"": ""085005"",
""accountNumber"": ""310895575""
},
""refundAccount"": {
""accountName"": ""MyGigsters Technology Pty Ltd"",
""bsb"": ""085005"",
""accountNumber"": ""310895575""
},
""directDebitAgreement"": {
""agreedToTerms"": true,
""agreedAt"": ""2024-01-15T10:30:00Z""
},
""legalAgreements"": {
""termsAndConditions"": true,
""privacyPolicy"": true,
""directDebitServiceAgreement"": true,
""masterServiceAgreement"": true
},
""digitalSignature"": ""iVBORw0KGgoAAAANSUhEUgAA...""
}", Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
{
"employerId": "507f1f77bcf86cd799439011",
"clientId": 12345,
"message": "Employer onboarding updated successfully",
"onboardedAt": "2026-07-13T10:30:00Z"
}
Employers
Update Employer
Updates an existing employer’s company, contact, address, and payment details. This is a full replace - send the complete payload, same shape as POST /v1/employers/onboard. The employer must belong to the authenticated client,…
PUT
/
v1
/
employers
/
{id}
curl 'https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66' -X PUT \
-u "apiUsername:apiPassword" \
-H "Content-Type: application/json" --data '{"companyDetails":{"employerName":"MyGigsters Technologies Pty Ltd","australianBusinessNumber":"34623710896","status":"ACTIVE","contributionsEnabled":true,"employeeServicesEnabled":false,"singleTouchPayrollEnabled":true,"splitMultiEmployerBatch":true,"withholderPayerNumber":"123456789","employerArrangement":"ARR001","location":"SYDNEY","acn":"123456789","website":"https://example.com","registrationIp":"203.0.113.42"},"contactPerson":{"givenName":"Swaminathan","familyName":"Narayanan","emailAddress":"jane.smith@example.com","title":"Mr","otherName":"","mobilePhone":"0452624731","telephone":"0452624731","areaCode":"08","signatoryName":"Swaminathan Narayanan","signatoryPosition":"CPO"},"companyAddress":{"addressType":"POSTAL","addressLine1":"UNIT 6 17 THIRZA AVENUE","addressLine2":"","addressLine3":"","suburb":"MITCHELL PARK","postcode":"5043","state":"SA","country":"Australia"},"directDebitAccount":{"accountName":"MyGigsters Technology Pty Ltd","bsb":"085005","accountNumber":"310895575"},"refundAccount":{"accountName":"MyGigsters Technology Pty Ltd","bsb":"085005","accountNumber":"310895575"},"directDebitAgreement":{"agreedToTerms":true,"agreedAt":"2024-01-15T10:30:00Z"},"legalAgreements":{"termsAndConditions":true,"privacyPolicy":true,"directDebitServiceAgreement":true,"masterServiceAgreement":true},"digitalSignature":"iVBORw0KGgoAAAANSUhEUgAA..."}'
const response = await fetch("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66", {
method: "PUT",
headers: {
Authorization: "Basic " + Buffer.from("apiUsername:apiPassword").toString("base64"),
"Content-Type": "application/json",
},
body: JSON.stringify({
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}),
});
const data = await response.json();
console.log(data);
import requests
response = requests.put(
"https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66",
auth=("apiUsername", "apiPassword"),
json={
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": True,
"employeeServicesEnabled": False,
"singleTouchPayrollEnabled": True,
"splitMultiEmployerBatch": True,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42",
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO",
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia",
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575",
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575",
},
"directDebitAgreement": {
"agreedToTerms": True,
"agreedAt": "2024-01-15T10:30:00Z",
},
"legalAgreements": {
"termsAndConditions": True,
"privacyPolicy": True,
"directDebitServiceAgreement": True,
"masterServiceAgreement": True,
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA...",
},
)
print(response.json())
require "net/http"
require "json"
require "uri"
uri = URI("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66")
request = Net::HTTP::Put.new(uri)
request.basic_auth("apiUsername", "apiPassword")
request["Content-Type"] = "application/json"
request.body = <<~JSON
{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts JSON.parse(response.body)
<?php
$ch = curl_init("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_USERPWD => "apiUsername:apiPassword",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}
JSON,
]);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.util.Base64;
public class Example {
public static void main(String[] args) throws Exception {
String credentials = Base64.getEncoder()
.encodeToString("apiUsername:apiPassword".getBytes());
String body = String.join("\n",
"{",
" \"companyDetails\": {",
" \"employerName\": \"MyGigsters Technologies Pty Ltd\",",
" \"australianBusinessNumber\": \"34623710896\",",
" \"status\": \"ACTIVE\",",
" \"contributionsEnabled\": true,",
" \"employeeServicesEnabled\": false,",
" \"singleTouchPayrollEnabled\": true,",
" \"splitMultiEmployerBatch\": true,",
" \"withholderPayerNumber\": \"123456789\",",
" \"employerArrangement\": \"ARR001\",",
" \"location\": \"SYDNEY\",",
" \"acn\": \"123456789\",",
" \"website\": \"https://example.com\",",
" \"registrationIp\": \"203.0.113.42\"",
" },",
" \"contactPerson\": {",
" \"givenName\": \"Swaminathan\",",
" \"familyName\": \"Narayanan\",",
" \"emailAddress\": \"jane.smith@example.com\",",
" \"title\": \"Mr\",",
" \"otherName\": \"\",",
" \"mobilePhone\": \"0452624731\",",
" \"telephone\": \"0452624731\",",
" \"areaCode\": \"08\",",
" \"signatoryName\": \"Swaminathan Narayanan\",",
" \"signatoryPosition\": \"CPO\"",
" },",
" \"companyAddress\": {",
" \"addressType\": \"POSTAL\",",
" \"addressLine1\": \"UNIT 6 17 THIRZA AVENUE\",",
" \"addressLine2\": \"\",",
" \"addressLine3\": \"\",",
" \"suburb\": \"MITCHELL PARK\",",
" \"postcode\": \"5043\",",
" \"state\": \"SA\",",
" \"country\": \"Australia\"",
" },",
" \"directDebitAccount\": {",
" \"accountName\": \"MyGigsters Technology Pty Ltd\",",
" \"bsb\": \"085005\",",
" \"accountNumber\": \"310895575\"",
" },",
" \"refundAccount\": {",
" \"accountName\": \"MyGigsters Technology Pty Ltd\",",
" \"bsb\": \"085005\",",
" \"accountNumber\": \"310895575\"",
" },",
" \"directDebitAgreement\": {",
" \"agreedToTerms\": true,",
" \"agreedAt\": \"2024-01-15T10:30:00Z\"",
" },",
" \"legalAgreements\": {",
" \"termsAndConditions\": true,",
" \"privacyPolicy\": true,",
" \"directDebitServiceAgreement\": true,",
" \"masterServiceAgreement\": true",
" },",
" \"digitalSignature\": \"iVBORw0KGgoAAAANSUhEUgAA...\"",
"}"
);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66"))
.header("Authorization", "Basic " + credentials)
.header("Content-Type", "application/json")
.method("PUT", HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}`)
req, err := http.NewRequest("PUT", "https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66", body)
if err != nil {
panic(err)
}
req.SetBasicAuth("apiUsername", "apiPassword")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}
using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66");
request.Headers.Authorization = new AuthenticationHeaderValue(
"Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes("apiUsername:apiPassword")));
request.Content = new StringContent(@"{
""companyDetails"": {
""employerName"": ""MyGigsters Technologies Pty Ltd"",
""australianBusinessNumber"": ""34623710896"",
""status"": ""ACTIVE"",
""contributionsEnabled"": true,
""employeeServicesEnabled"": false,
""singleTouchPayrollEnabled"": true,
""splitMultiEmployerBatch"": true,
""withholderPayerNumber"": ""123456789"",
""employerArrangement"": ""ARR001"",
""location"": ""SYDNEY"",
""acn"": ""123456789"",
""website"": ""https://example.com"",
""registrationIp"": ""203.0.113.42""
},
""contactPerson"": {
""givenName"": ""Swaminathan"",
""familyName"": ""Narayanan"",
""emailAddress"": ""jane.smith@example.com"",
""title"": ""Mr"",
""otherName"": """",
""mobilePhone"": ""0452624731"",
""telephone"": ""0452624731"",
""areaCode"": ""08"",
""signatoryName"": ""Swaminathan Narayanan"",
""signatoryPosition"": ""CPO""
},
""companyAddress"": {
""addressType"": ""POSTAL"",
""addressLine1"": ""UNIT 6 17 THIRZA AVENUE"",
""addressLine2"": """",
""addressLine3"": """",
""suburb"": ""MITCHELL PARK"",
""postcode"": ""5043"",
""state"": ""SA"",
""country"": ""Australia""
},
""directDebitAccount"": {
""accountName"": ""MyGigsters Technology Pty Ltd"",
""bsb"": ""085005"",
""accountNumber"": ""310895575""
},
""refundAccount"": {
""accountName"": ""MyGigsters Technology Pty Ltd"",
""bsb"": ""085005"",
""accountNumber"": ""310895575""
},
""directDebitAgreement"": {
""agreedToTerms"": true,
""agreedAt"": ""2024-01-15T10:30:00Z""
},
""legalAgreements"": {
""termsAndConditions"": true,
""privacyPolicy"": true,
""directDebitServiceAgreement"": true,
""masterServiceAgreement"": true
},
""digitalSignature"": ""iVBORw0KGgoAAAANSUhEUgAA...""
}", Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
{
"employerId": "507f1f77bcf86cd799439011",
"clientId": 12345,
"message": "Employer onboarding updated successfully",
"onboardedAt": "2026-07-13T10:30:00Z"
}
Important Notes
- Full Replace: Validation is identical to Onboard Employer - the same required fields, the same ABN checks, and the same Direct Debit agreement requirement apply.
- ABN Validation: The ABN is validated in two stages - a format check (exactly 11 digits) and the ATO checksum algorithm. A syntactically-correct but non-existent ABN (e.g. 34623710897) is rejected.
- Contact Area Code:
contactPerson.areaCodemust be one of the valid Australian landline area codes: 02, 03, 04, 07, 08. - Contact Email Uniqueness: If you change
contactPerson.emailAddress, the new email must not already be used by another of your employers (case-insensitive), or the request is rejected with400(error code4003). Keeping the employer’s current email is always allowed. - Ownership Check: The employer must belong to the authenticated client. Attempting to update an employer belonging to another client returns 404.
Use Case
- Update an employer’s company, contact, address, or payment account details
- Correct or replace direct debit and refund account information
Request Parameters
string
required
The employer ID
Request Body
object
required
Company and employer details
object
required
Contact person details for the employer
object
required
Company postal address
object
required
Bank account details for direct debit payments
object
required
Bank account details for refunds
object
required
Direct debit agreement acceptance
object
Optional. Legal agreement acceptances. All fields are required if this object is provided.
string
Optional. Base64-encoded PNG of the employer’s digital signature collected during onboarding.
Responses
| Code | Description |
|---|---|
200 | Employer updated successfully |
400 | Bad request - Missing/invalid fields, invalid ABN, Direct Debit terms not agreed, or contact email already used by another of your employers (errorCode 4003) |
401 | Unauthorized - Invalid authentication credentials |
404 | Employer not found, or does not belong to the authenticated client |
500 | Internal server error - Failed to update employer. |
Response fields
string
Unique identifier for the updated employer
number
Client ID associated with this employer
string
Success message
string
Timestamp when the employer was onboarded
Error response fields
Error response fields
boolean
Always false for error responses, indicating the operation did not succeed.
integer
HTTP status code indicating the type of error. Common values: 400 (Bad Request), 401 (Unauthorized), 404 (Not Found), 500 (Server Error)
string
Human-readable error message explaining what went wrong. May include specific details about which field or value caused the error. Examples include “Invalid ABN format”, “ABN failed the ATO checksum validation”, and “Area code must be one of ‘02’, ‘03’, ‘04’, ‘07’, ‘08’”.
integer
Superannuation clearing house-specific error code for programmatic error handling. Refer to the error code reference documentation for a complete list of codes.
curl 'https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66' -X PUT \
-u "apiUsername:apiPassword" \
-H "Content-Type: application/json" --data '{"companyDetails":{"employerName":"MyGigsters Technologies Pty Ltd","australianBusinessNumber":"34623710896","status":"ACTIVE","contributionsEnabled":true,"employeeServicesEnabled":false,"singleTouchPayrollEnabled":true,"splitMultiEmployerBatch":true,"withholderPayerNumber":"123456789","employerArrangement":"ARR001","location":"SYDNEY","acn":"123456789","website":"https://example.com","registrationIp":"203.0.113.42"},"contactPerson":{"givenName":"Swaminathan","familyName":"Narayanan","emailAddress":"jane.smith@example.com","title":"Mr","otherName":"","mobilePhone":"0452624731","telephone":"0452624731","areaCode":"08","signatoryName":"Swaminathan Narayanan","signatoryPosition":"CPO"},"companyAddress":{"addressType":"POSTAL","addressLine1":"UNIT 6 17 THIRZA AVENUE","addressLine2":"","addressLine3":"","suburb":"MITCHELL PARK","postcode":"5043","state":"SA","country":"Australia"},"directDebitAccount":{"accountName":"MyGigsters Technology Pty Ltd","bsb":"085005","accountNumber":"310895575"},"refundAccount":{"accountName":"MyGigsters Technology Pty Ltd","bsb":"085005","accountNumber":"310895575"},"directDebitAgreement":{"agreedToTerms":true,"agreedAt":"2024-01-15T10:30:00Z"},"legalAgreements":{"termsAndConditions":true,"privacyPolicy":true,"directDebitServiceAgreement":true,"masterServiceAgreement":true},"digitalSignature":"iVBORw0KGgoAAAANSUhEUgAA..."}'
const response = await fetch("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66", {
method: "PUT",
headers: {
Authorization: "Basic " + Buffer.from("apiUsername:apiPassword").toString("base64"),
"Content-Type": "application/json",
},
body: JSON.stringify({
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}),
});
const data = await response.json();
console.log(data);
import requests
response = requests.put(
"https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66",
auth=("apiUsername", "apiPassword"),
json={
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": True,
"employeeServicesEnabled": False,
"singleTouchPayrollEnabled": True,
"splitMultiEmployerBatch": True,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42",
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO",
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia",
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575",
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575",
},
"directDebitAgreement": {
"agreedToTerms": True,
"agreedAt": "2024-01-15T10:30:00Z",
},
"legalAgreements": {
"termsAndConditions": True,
"privacyPolicy": True,
"directDebitServiceAgreement": True,
"masterServiceAgreement": True,
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA...",
},
)
print(response.json())
require "net/http"
require "json"
require "uri"
uri = URI("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66")
request = Net::HTTP::Put.new(uri)
request.basic_auth("apiUsername", "apiPassword")
request["Content-Type"] = "application/json"
request.body = <<~JSON
{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}
JSON
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
http.request(request)
end
puts JSON.parse(response.body)
<?php
$ch = curl_init("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66");
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_USERPWD => "apiUsername:apiPassword",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
],
CURLOPT_POSTFIELDS => <<<'JSON'
{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}
JSON,
]);
$response = curl_exec($ch);
curl_close($ch);
print_r(json_decode($response, true));
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.util.Base64;
public class Example {
public static void main(String[] args) throws Exception {
String credentials = Base64.getEncoder()
.encodeToString("apiUsername:apiPassword".getBytes());
String body = String.join("\n",
"{",
" \"companyDetails\": {",
" \"employerName\": \"MyGigsters Technologies Pty Ltd\",",
" \"australianBusinessNumber\": \"34623710896\",",
" \"status\": \"ACTIVE\",",
" \"contributionsEnabled\": true,",
" \"employeeServicesEnabled\": false,",
" \"singleTouchPayrollEnabled\": true,",
" \"splitMultiEmployerBatch\": true,",
" \"withholderPayerNumber\": \"123456789\",",
" \"employerArrangement\": \"ARR001\",",
" \"location\": \"SYDNEY\",",
" \"acn\": \"123456789\",",
" \"website\": \"https://example.com\",",
" \"registrationIp\": \"203.0.113.42\"",
" },",
" \"contactPerson\": {",
" \"givenName\": \"Swaminathan\",",
" \"familyName\": \"Narayanan\",",
" \"emailAddress\": \"jane.smith@example.com\",",
" \"title\": \"Mr\",",
" \"otherName\": \"\",",
" \"mobilePhone\": \"0452624731\",",
" \"telephone\": \"0452624731\",",
" \"areaCode\": \"08\",",
" \"signatoryName\": \"Swaminathan Narayanan\",",
" \"signatoryPosition\": \"CPO\"",
" },",
" \"companyAddress\": {",
" \"addressType\": \"POSTAL\",",
" \"addressLine1\": \"UNIT 6 17 THIRZA AVENUE\",",
" \"addressLine2\": \"\",",
" \"addressLine3\": \"\",",
" \"suburb\": \"MITCHELL PARK\",",
" \"postcode\": \"5043\",",
" \"state\": \"SA\",",
" \"country\": \"Australia\"",
" },",
" \"directDebitAccount\": {",
" \"accountName\": \"MyGigsters Technology Pty Ltd\",",
" \"bsb\": \"085005\",",
" \"accountNumber\": \"310895575\"",
" },",
" \"refundAccount\": {",
" \"accountName\": \"MyGigsters Technology Pty Ltd\",",
" \"bsb\": \"085005\",",
" \"accountNumber\": \"310895575\"",
" },",
" \"directDebitAgreement\": {",
" \"agreedToTerms\": true,",
" \"agreedAt\": \"2024-01-15T10:30:00Z\"",
" },",
" \"legalAgreements\": {",
" \"termsAndConditions\": true,",
" \"privacyPolicy\": true,",
" \"directDebitServiceAgreement\": true,",
" \"masterServiceAgreement\": true",
" },",
" \"digitalSignature\": \"iVBORw0KGgoAAAANSUhEUgAA...\"",
"}"
);
HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66"))
.header("Authorization", "Basic " + credentials)
.header("Content-Type", "application/json")
.method("PUT", HttpRequest.BodyPublishers.ofString(body))
.build();
HttpResponse<String> response = HttpClient.newHttpClient()
.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());
}
}
package main
import (
"fmt"
"io"
"net/http"
"strings"
)
func main() {
body := strings.NewReader(`{
"companyDetails": {
"employerName": "MyGigsters Technologies Pty Ltd",
"australianBusinessNumber": "34623710896",
"status": "ACTIVE",
"contributionsEnabled": true,
"employeeServicesEnabled": false,
"singleTouchPayrollEnabled": true,
"splitMultiEmployerBatch": true,
"withholderPayerNumber": "123456789",
"employerArrangement": "ARR001",
"location": "SYDNEY",
"acn": "123456789",
"website": "https://example.com",
"registrationIp": "203.0.113.42"
},
"contactPerson": {
"givenName": "Swaminathan",
"familyName": "Narayanan",
"emailAddress": "jane.smith@example.com",
"title": "Mr",
"otherName": "",
"mobilePhone": "0452624731",
"telephone": "0452624731",
"areaCode": "08",
"signatoryName": "Swaminathan Narayanan",
"signatoryPosition": "CPO"
},
"companyAddress": {
"addressType": "POSTAL",
"addressLine1": "UNIT 6 17 THIRZA AVENUE",
"addressLine2": "",
"addressLine3": "",
"suburb": "MITCHELL PARK",
"postcode": "5043",
"state": "SA",
"country": "Australia"
},
"directDebitAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"refundAccount": {
"accountName": "MyGigsters Technology Pty Ltd",
"bsb": "085005",
"accountNumber": "310895575"
},
"directDebitAgreement": {
"agreedToTerms": true,
"agreedAt": "2024-01-15T10:30:00Z"
},
"legalAgreements": {
"termsAndConditions": true,
"privacyPolicy": true,
"directDebitServiceAgreement": true,
"masterServiceAgreement": true
},
"digitalSignature": "iVBORw0KGgoAAAANSUhEUgAA..."
}`)
req, err := http.NewRequest("PUT", "https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66", body)
if err != nil {
panic(err)
}
req.SetBasicAuth("apiUsername", "apiPassword")
req.Header.Set("Content-Type", "application/json")
res, err := http.DefaultClient.Do(req)
if err != nil {
panic(err)
}
defer res.Body.Close()
data, _ := io.ReadAll(res.Body)
fmt.Println(string(data))
}
using System.Net.Http.Headers;
using System.Text;
using var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Put, "https://qa-super.mygigsters.com.au/v1/employers/6960d86e466f44ab3f163c66");
request.Headers.Authorization = new AuthenticationHeaderValue(
"Basic", Convert.ToBase64String(Encoding.UTF8.GetBytes("apiUsername:apiPassword")));
request.Content = new StringContent(@"{
""companyDetails"": {
""employerName"": ""MyGigsters Technologies Pty Ltd"",
""australianBusinessNumber"": ""34623710896"",
""status"": ""ACTIVE"",
""contributionsEnabled"": true,
""employeeServicesEnabled"": false,
""singleTouchPayrollEnabled"": true,
""splitMultiEmployerBatch"": true,
""withholderPayerNumber"": ""123456789"",
""employerArrangement"": ""ARR001"",
""location"": ""SYDNEY"",
""acn"": ""123456789"",
""website"": ""https://example.com"",
""registrationIp"": ""203.0.113.42""
},
""contactPerson"": {
""givenName"": ""Swaminathan"",
""familyName"": ""Narayanan"",
""emailAddress"": ""jane.smith@example.com"",
""title"": ""Mr"",
""otherName"": """",
""mobilePhone"": ""0452624731"",
""telephone"": ""0452624731"",
""areaCode"": ""08"",
""signatoryName"": ""Swaminathan Narayanan"",
""signatoryPosition"": ""CPO""
},
""companyAddress"": {
""addressType"": ""POSTAL"",
""addressLine1"": ""UNIT 6 17 THIRZA AVENUE"",
""addressLine2"": """",
""addressLine3"": """",
""suburb"": ""MITCHELL PARK"",
""postcode"": ""5043"",
""state"": ""SA"",
""country"": ""Australia""
},
""directDebitAccount"": {
""accountName"": ""MyGigsters Technology Pty Ltd"",
""bsb"": ""085005"",
""accountNumber"": ""310895575""
},
""refundAccount"": {
""accountName"": ""MyGigsters Technology Pty Ltd"",
""bsb"": ""085005"",
""accountNumber"": ""310895575""
},
""directDebitAgreement"": {
""agreedToTerms"": true,
""agreedAt"": ""2024-01-15T10:30:00Z""
},
""legalAgreements"": {
""termsAndConditions"": true,
""privacyPolicy"": true,
""directDebitServiceAgreement"": true,
""masterServiceAgreement"": true
},
""digitalSignature"": ""iVBORw0KGgoAAAANSUhEUgAA...""
}", Encoding.UTF8, "application/json");
var response = await client.SendAsync(request);
Console.WriteLine(await response.Content.ReadAsStringAsync());
{
"employerId": "507f1f77bcf86cd799439011",
"clientId": 12345,
"message": "Employer onboarding updated successfully",
"onboardedAt": "2026-07-13T10:30:00Z"
}
Last modified on November 10, 2026
Was this page helpful?
