APG PayAPG Paydocs

Marketplaces

Get marketplace country setting

GET/marketplaces/{marketplaceId}/country-settings
Request
GEThttps://api.tst.au.apgpay.dev/marketplaces/{marketplaceId}/country-settings
curl -X GET https://api.tst.au.apgpay.dev/marketplaces/{marketplaceId}/country-settings \
  -H "Authorization: Bearer $API_KEY"

Return the marketplace's profile and sub-merchant template for one tax country. Sections you may not read are absent.

Permissions

Required permission
marketplaces:query

Requires the `query` action on `marketplaces` for the supplied runtime context

Path parameters

marketplaceIdstring
required

Query parameters

taxCountryIsoCountry
required

ISO 3166-1 alpha-2. Required, a marketplace's profile is per tax country, so there is no template to read without one.

AFAXALDZASADAOAIAQAG
+239 more

AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, KP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, CD, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, VI, UZ, VU, VA, VE, VN, WF, EH, YE, ZM, ZW

Responses

The response is a tagged shape: type is always "MktpCountrySettingsAttributes". Switch on it; subtypes can be added, and a client that already reads it will not break.

Discriminated by type
type = "MktpCountrySettingsAttributes"
taxCountryIsoCountryrequired

ISO 3166-1 alpha-2.

AFAXALDZASADAOAIAQAG
+239 more

AR, AM, AW, AU, AT, AZ, BS, BH, BD, BB, BY, BE, BZ, BJ, BM, BT, BO, BQ, BA, BW, BV, BR, IO, VG, BN, BG, BF, BI, KH, CM, CA, CV, KY, CF, TD, CL, CN, CX, CC, CO, KM, CG, CK, CR, CI, HR, CU, CW, CY, CZ, DK, DJ, DM, DO, EC, EG, SV, GQ, ER, EE, ET, FK, FO, FJ, FI, FR, GF, PF, TF, GA, GM, GE, DE, GH, GI, GR, GL, GD, GP, GU, GT, GG, GN, GW, GY, HT, HM, HN, HK, HU, IS, IN, ID, IR, IQ, IE, IM, IL, IT, JM, JP, JE, JO, KZ, KE, KI, KW, KG, LA, LV, LB, LS, LR, LY, LI, LT, LU, MO, MK, MG, MW, MY, MV, ML, MT, MH, MQ, MR, MU, YT, MX, FM, MD, MC, MN, ME, MS, MA, MZ, MM, NA, NR, NP, NL, NC, NZ, NI, NE, NG, NU, NF, MP, KP, NO, OM, PK, PW, PS, PA, PG, PY, PE, PH, PN, PL, PT, PR, QA, RE, RO, RU, RW, BL, SH, KN, LC, MF, PM, VC, WS, SM, ST, SA, SN, RS, SC, SL, SG, SX, SK, SI, SB, SO, ZA, GS, KR, SS, ES, LK, SD, SR, SJ, SZ, SE, CH, SY, TW, TJ, TZ, TH, CD, TL, TG, TK, TO, TT, TN, TR, TM, TC, TV, UG, UA, AE, GB, US, UM, UY, VI, UZ, VU, VA, VE, VN, WF, EH, YE, ZM, ZW

Who to contact at the marketplace. Used on communications sent on behalf of its sub-merchants.

How the marketplace entity is registered in one tax country.

Branding sub-merchants inherit on checkouts and communications.

Branding on sub-merchants' own dashboards.

Payout defaults sub-merchants inherit.

The fees new sub-merchants are created with. Copied onto each one, not inherited.

Source rules created alongside those fees.

calculateTaxOnFeeboolean

Whether tax is added to the platform's fees.

Example true

feesTaxExemptboolean

Whether the sub-merchant is exempt from tax on fees.

Example true

The email templates communications are sent from on behalf of the marketplace and its sub-merchants.

paymentProfileMktpPaymentProfile

The payment provider new sub-merchants are created on.

StripeConnectAUStripeConnectAUAbacusStripeConnectNZAbacusAbacusCheckoutAbacusCheckoutStripeCompositeAbacusCardlessAbacusWorldpayAuAbacusWorldpayNzAbacusWorldpayStripeCompositeAuAbacusWorldpayStripeCompositeNz
+11 more

AbacusFiserv, AbacusFiservStripeComposite, AbacusFiservNz, AbacusFiservNzStripeComposite, AbacusReslyNzStripeConnect, AbacusOnUsAu, AbacusOnUsNz, AbacusOnUsHk, AbacusOnUsSg, AbacusMock, Unknown

createdAtstring (date-time)

Example 2026-08-19T04:21:07Z

updatedAtstring (date-time)

Example 2026-08-19T04:21:07Z

Example
{
  "type": "MktpCountrySettingsAttributes",
  "taxCountry": "AU",
  "contact": {
    "type": "MktpContactAttributes",
    "firstName": "Ada Lovelace",
    "lastName": "Ada Lovelace",
    "title": "string",
    "contactEmail": "ada@example.com",
    "supportEmail": "ada@example.com",
    "phoneNumber": "+61400000000",
    "address": {
      "type": "MchtAddressAttributes",
      "unitNumber": "string",
      "streetNumber": "string",
      "streetName": "Ada Lovelace",
      "streetType": "string",
      "suburb": "string",
      "city": "string",
      "state": "string",
      "postalCode": "3000",
      "country": "AU"
    }
  },
  "businessRegistration": {
    "type": "MktpBusinessRegistrationAttributes",
    "businessName": "Ada Lovelace",
    "businessType": "Company",
    "industry": "string",
    "businessRegistrationNumber": "string",
    "taxRegistrationNumber": "string"
  },
  "branding": {
    "type": "MktpBrandingAttributes",
    "iconUri": "https://example.com/callback",
    "logoUri": "https://example.com/callback",
    "logoAltText": "string",
    "supportEmail": "ada@example.com",
    "businessDisplayName": "Ada Lovelace",
    "businessWebsite": "string",
    "customOrderBaseUri": "https://example.com/callback",
    "primaryColor": "string"
  },
  "customerDashboardBranding": {
    "type": "MktpBrandingAttributes",
    "iconUri": "https://example.com/callback",
    "logoUri": "https://example.com/callback",
    "logoAltText": "string",
    "supportEmail": "ada@example.com",
    "businessDisplayName": "Ada Lovelace",
    "businessWebsite": "string",
    "customOrderBaseUri": "https://example.com/callback",
    "primaryColor": "string"
  },
  "payoutDefaults": {
    "type": "MktpPayoutDefaultsAttributes",
    "payoutDescription": "string",
    "schedule": "Daily",
    "dayOfWeek": "string",
    "dayOfMonth": 6,
    "delayDays": 1250,
    "issueDelayDays": 1250,
    "automatedPayoutsEnabled": true,
    "automatedDisbursementsEnabled": true
  },
  "subMerchantFees": {
    "type": "FeesByPaymentForm",
    "fees": {
      "type": "FeeStructAttributes",
      "split": {
        "type": "FeeTableAttributes",
        "domestic": {
          "type": "FeeAttributes",
          "rate": 0.9412,
          "fixed": 1250,
          "cards": [
            {
              "type": "CardFeeAttributes",
              "cardFunding": "Credit",
              "cardBrand": "Visa",
              "rate": 0.9412,
              "fixed": 1250
            }
          ]
        },
        "international": {
          "type": "FeeAttributes",
          "rate": 0.9412,
          "fixed": 1250,
          "cards": [
            {
              "type": "CardFeeAttributes",
              "cardFunding": "Credit",
              "cardBrand": "Visa",
              "rate": 0.9412,
              "fixed": 1250
            }
          ]
        }
      },
      "full": {
        "type": "FeeTableAttributes",
        "domestic": {
          "type": "FeeAttributes",
          "rate": 0.9412,
          "fixed": 1250,
          "cards": [
            {
              "type": "CardFeeAttributes",
              "cardFunding": "Credit",
              "cardBrand": "Visa",
              "rate": 0.9412,
              "fixed": 1250
            }
          ]
        },
        "international": {
          "type": "FeeAttributes",
          "rate": 0.9412,
          "fixed": 1250,
          "cards": [
            {
              "type": "CardFeeAttributes",
              "cardFunding": "Credit",
              "cardBrand": "Visa",
              "rate": 0.9412,
              "fixed": 1250
            }
          ]
        }
      }
    }
  },
  "sourceRules": [
    {
      "type": "MchtRuleAttributes",
      "criterion": {
        "type": "MchtRuleAlways"
      },
      "actions": [
        {
          "type": "MchtRuleAllow"
        }
      ]
    }
  ],
  "calculateTaxOnFee": true,
  "feesTaxExempt": true,
  "emailTemplates": {
    "type": "MktpEmailTemplatesAttributes",
    "platformSupportSenderName": "Ada Lovelace",
    "platformSupportEmail": "ada@example.com",
    "platformSupportEmailSignedBy": "ada@example.com",
    "platformSupportReplyToName": "Ada Lovelace",
    "platformSupportReplyToEmail": "ada@example.com",
    "customerSupportSenderName": "Ada Lovelace",
    "customerSupportEmail": "ada@example.com",
    "customerSupportEmailSignedBy": "ada@example.com",
    "customerSupportReplyToName": "Ada Lovelace",
    "customerSupportReplyToEmail": "ada@example.com",
    "customerEmailBrandLogo": "ada@example.com",
    "merchantOnboardingRequestedTemplateId": "string",
    "merchantOnboardingCompletedTemplateId": "string",
    "merchantResetPasswordTemplateId": "string",
    "merchantResetPasswordConfirmationTemplateId": "string",
    "merchantNewOrganisationCustomerDelegateTemplateId": "string",
    "merchantNewOrganisationCustomerDelegateConfirmationTemplateId": "string"
  },
  "paymentProfile": "StripeConnectAU",
  "createdAt": "2026-08-19T04:21:07Z",
  "updatedAt": "2026-08-19T04:21:07Z"
}

Error responses