Skip to main content
curl -X POST https://checkout.noxpay.io/v2/naas/submerchants/alias \
  -H "api-key: <key>" \
  -H "X-Signature: <signed-body-signature>" \
  -H "Content-Type: application/json" \
  -d '{
    "timestamp": "2026-05-27T14:30:00Z",
    "payload": {
      "correlation_id": "a1b2c3d4-e5f6-4789-abcd-000000000001",
      "alias": "acmepay"
    }
  }'
import requests

body, sig = sign_envelope({
    "correlation_id": "a1b2c3d4-e5f6-4789-abcd-000000000001",
    "alias": "acmepay",
})
response = requests.post(
    "https://checkout.noxpay.io/v2/naas/submerchants/alias",
    headers={"api-key": "<key>", "X-Signature": sig, "Content-Type": "application/json"},
    data=body,
)
print(response.json())
const { body, signature } = signEnvelope({
  correlation_id: "a1b2c3d4-e5f6-4789-abcd-000000000001",
  alias: "acmepay",
});
const response = await fetch("https://checkout.noxpay.io/v2/naas/submerchants/alias", {
  method: "POST",
  headers: { "api-key": "<key>", "X-Signature": signature, "Content-Type": "application/json" },
  body,
});
const data = await response.json();
{ "alias": "acmepay" }
{ "error": "alias contains invalid characters" }
Sets the URL slug used to build static payment link URLs for a sub-merchant. The alias becomes the {slug} in https://checkout.noxpay.io/pay/{slug}/{link_path}.
This endpoint operates at the master merchant level. Do not include correlation_id in the envelope — pass it inside payload instead.
The alias can be updated at any time — it overwrites the previous value.

Payload fields

FieldTypeRequiredDescription
correlation_idstring (UUID)YesUUID returned by Enroll Sub-merchant.
aliasstringYesURL slug. Letters, numbers, _ and - only. Max 32 characters.

Response 200 OK

{ "alias": "acmepay" }
400 — missing or invalid correlation_id or alias; alias fails format validation. 404correlation_id not found or does not belong to this master merchant.
curl -X POST https://checkout.noxpay.io/v2/naas/submerchants/alias \
  -H "api-key: <key>" \
  -H "X-Signature: <signed-body-signature>" \
  -H "Content-Type: application/json" \
  -d '{
    "timestamp": "2026-05-27T14:30:00Z",
    "payload": {
      "correlation_id": "a1b2c3d4-e5f6-4789-abcd-000000000001",
      "alias": "acmepay"
    }
  }'
import requests

body, sig = sign_envelope({
    "correlation_id": "a1b2c3d4-e5f6-4789-abcd-000000000001",
    "alias": "acmepay",
})
response = requests.post(
    "https://checkout.noxpay.io/v2/naas/submerchants/alias",
    headers={"api-key": "<key>", "X-Signature": sig, "Content-Type": "application/json"},
    data=body,
)
print(response.json())
const { body, signature } = signEnvelope({
  correlation_id: "a1b2c3d4-e5f6-4789-abcd-000000000001",
  alias: "acmepay",
});
const response = await fetch("https://checkout.noxpay.io/v2/naas/submerchants/alias", {
  method: "POST",
  headers: { "api-key": "<key>", "X-Signature": signature, "Content-Type": "application/json" },
  body,
});
const data = await response.json();
{ "alias": "acmepay" }
{ "error": "alias contains invalid characters" }