Skip to content
Business Onboarding

Create an Onboarding Request

POST/api/businesses/onboard

This endpoint allows acquirers to submit a business for onboarding. The request is validated synchronously, and onboarding is processed asynchronously in the background.

Idempotency

If you provide an externalId, the API will prevent duplicate submissions. If you submit the same externalId with the same payload, the API will return the existing onboarding request with a 200 status code. If you submit the same externalId with a different payload, the API will return a 403 error with the code DUPLICATE_EXTERNAL_ID.

Required Permissions

The API key must have the business:onboard permission for the target account.

Request body

  • assetProgramrequired object
    Asset program configuration.
    • assetProgramIdrequired string
      The unique identifier of the asset program that the business will accept (max 35 characters).
    • params.chargeAccountNumberoptional string
      The billing bank account in the format XX-XXXX-XXXXXXX-XXX (18-19 digits). Defaults to settlement account if omitted. Only allowed if settlementAccountNumber is also provided.
    • params.externalMerchantIdoptional string
      Merchant identifier in the partner system (max 35 characters). If omitted, Centrapay will assign one.
    • params.settlementAccountNumberoptional string
      The settlement bank account in the format XX-XXXX-XXXXXXX-XXX (18-19 digits).
  • contactEmailrequired string
    Contact email for onboarding and notifications.
  • contactNameoptional string
    Contact name (3-100 characters). Defaults to merchant.contactName or email prefix if omitted.
  • externalIdoptional string
    Unique client-side identifier (max 35 characters) for idempotency.
  • legalNamerequired string
    Registered legal name (3-100 characters).
  • locationrequired object
    Physical location of the business.
    • cityrequired string
      Town or city (max 255 characters).
    • countryrequired enum
      ISO 3166-1 alpha-2 country code.
      • NZ
        New Zealand.
    • postCodeoptional string
      Postal code (4-10 characters).
    • stateoptional string
      Region or state (max 255 characters).
    • streetrequired string
      Street number and name (max 255 characters).
    • suburboptional string
      Suburb (max 255 characters).
  • merchantrequired object
    Merchant details.
    • categoryCoderequired string
      ISO 18245 Merchant category code (4 digits).
    • contactEmailoptional string
      Merchant contact email. Must be a valid email address.
    • contactNameoptional string
      Merchant contact name (3-100 characters).
    • contactPhoneoptional string
      Merchant contact phone number (max 20 characters).
    • locationoptional object
      Physical location of the merchant. Required if type is physical.
      • cityrequired string
        Town or city (max 255 characters).
      • countryrequired enum
        ISO 3166-1 alpha-2 country code.
        • NZ
          New Zealand.
      • postCodeoptional string
        Postal code (4-10 characters).
      • stateoptional string
        Region or state (max 255 characters).
      • streetrequired string
        Street number and name (max 255 characters).
      • suburboptional string
        Suburb (max 255 characters).
    • namerequired string
      Display name of the merchant (2-100 characters).
    • redirectUrlsoptional array of strings
      Allowed redirect URLs for e-commerce merchants. Required if type is e-commerce.
    • searchHiddenoptional boolean
      Whether the merchant should be hidden from the Merchant Search API.
    • typerequired enum
      The type of the Merchant.
      • e-commerce
        An online only merchant. E-commerce merchants are not displayed in the store finder.
      • physical
        A merchant with a physical store.
  • metadataoptional object
    Optional key-value pairs for additional contextual information (max 10 entries). Keys can be up to 100 characters and values up to 500 characters.
  • nzbnoptional string
    13-digit NZ Business Number. Optional identifier.
  • salesChannelsoptional array of objects
    Optional sales channel configurations.
    • params.deviceIdoptional string
      Software device ID (max 35 characters). Required unless vendor is nomad.
    • params.deviceModeloptional string
      Terminal model (3-100 characters), e.g., Verifone P630.
    • params.reselleroptional string
      Terminal distributor (3-100 characters).
    • params.serialNumberoptional string
      Hardware serial number (max 35 characters).
    • params.vendorrequired string
      Terminal software/hardware vendor (3-100 characters). Must match a supported vendor, eg verifone, windcave or shopify (matched case-insensitively).
  • sendInvitationoptional boolean
    Whether to send the onboarding sign-up invitation email to the contact. Defaults to true.
  • taxNumberoptional object
    Tax number information.
    • typerequired enum
      The type of tax number.
      • nz-gst
        A New Zealand GST number.
    • valuerequired string
      The GST number (e.g., 123-456-789).
  • tradingNameoptional string
    Trading name (3-100 characters). Defaults to legalName if omitted.

Responses

Request
curl -X POST https://service.centrapay.com/api/businesses/onboard \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"assetProgram": {
"assetProgramId": "YGRo6TYYSxH3js7",
"params": {
"chargeAccountNumber": "12-3456-7890123-01",
"externalMerchantId": "ext-merchant-789",
"settlementAccountNumber": "12-3456-7890123-00"
}
},
"contactEmail": "admin@centracafe.example",
"contactName": "Alice Anderson",
"externalId": "ext-cafe-001",
"legalName": "Centrapay Cafe Limited",
"location": {
"city": "Wellington",
"country": "NZ",
"postCode": "6011",
"state": "Wellington",
"street": "1 Head Office Way"
},
"merchant": {
"categoryCode": "5812",
"contactEmail": "manager@centracafe.example",
"contactName": "Bob Brown",
"contactPhone": "6491234567",
"location": {
"city": "Wellington",
"country": "NZ",
"postCode": "6021",
"state": "Wellington",
"street": "123 Example Street",
"suburb": "Newtown"
},
"name": "Centrapay Cafe",
"type": "physical"
},
"metadata": {
"notes": "Onboarding request submitted via partner portal",
"referenceId": "ref-12345"
},
"salesChannels": [
{
"params": {
"deviceId": "device-001",
"deviceModel": "Verifone P630",
"reseller": "Example Reseller",
"serialNumber": "SN123456",
"vendor": "Verifone"
}
},
{
"params": {
"deviceId": "device-002",
"deviceModel": "Verifone P630",
"reseller": "Example Reseller",
"serialNumber": "SN123457",
"vendor": "Verifone"
}
}
],
"taxNumber": {
"type": "nz-gst",
"value": "123-456-789"
},
"tradingName": "Centrapay Cafe"
}'

E-commerce Example

POST/api/businesses/onboard

Example request for onboarding an e-commerce merchant. E-commerce merchants require merchant.redirectUrls instead of a merchant.location, and typically use an e-commerce platform such as Shopify as their sales channel.

Request
curl -X POST https://service.centrapay.com/api/businesses/onboard \
-H 'content-type: application/json' \
-H 'x-api-key: <TOKEN>' \
-d '{
"assetProgram": {
"assetProgramId": "YGRo6TYYSxH3js7",
"params": {
"externalMerchantId": "ext-merchant-online-789",
"settlementAccountNumber": "12-3456-7890123-00"
}
},
"contactEmail": "admin@centraonline.example",
"contactName": "Alice Anderson",
"externalId": "ext-online-001",
"legalName": "Centrapay Online Limited",
"location": {
"city": "Wellington",
"country": "NZ",
"postCode": "6011",
"street": "1 Online Way"
},
"merchant": {
"categoryCode": "5999",
"contactEmail": "ecommerce@centraonline.example",
"contactName": "Carol Chen",
"contactPhone": "6491234568",
"name": "Centrapay Online Store",
"redirectUrls": [
"https://centraonline.example/checkout/callback"
],
"type": "e-commerce"
},
"metadata": {
"referenceId": "ref-67890"
},
"salesChannels": [
{
"params": {
"deviceId": "centraonline.myshopify.com",
"vendor": "shopify"
}
}
],
"taxNumber": {
"type": "nz-gst",
"value": "123-456-789"
},
"tradingName": "Centrapay Online Store"
}'
Response
{
"assetProgram": {
"assetProgramId": "YGRo6TYYSxH3js7",
"params": {
"chargeAccountNumber": "12-3456-7890123-00",
"externalMerchantId": "ext-merchant-online-789",
"settlementAccountNumber": "12-3456-7890123-00"
}
},
"contactEmail": "admin@centraonline.example",
"contactName": "Alice Anderson",
"createdAt": "2025-07-25T10:30:00.000Z",
"createdBy": "crn:Jaim1Cu1Q55uooxSens6yk:api-key:MyApiKey",
"externalId": "ext-online-001",
"id": "bo_5GtLw9QeHs4BvXnRk2YpZa",
"legalName": "Centrapay Online Limited",
"location": {
"city": "Wellington",
"country": "NZ",
"postCode": "6011",
"street": "1 Online Way"
},
"merchant": {
"categoryCode": "5999",
"contactEmail": "ecommerce@centraonline.example",
"contactName": "Carol Chen",
"contactPhone": "6491234568",
"name": "Centrapay Online Store",
"redirectUrls": [
"https://centraonline.example/checkout/callback"
],
"type": "e-commerce"
},
"metadata": {
"referenceId": "ref-67890"
},
"salesChannels": [
{
"params": {
"deviceId": "centraonline.myshopify.com",
"vendor": "shopify"
}
}
],
"sendInvitation": true,
"status": "pending",
"taxNumber": {
"type": "nz-gst",
"value": "123-456-789"
},
"tradingName": "Centrapay Online Store"
}