Country specifications

Returns an array containing a country specification

Gets a country specification.

get/country-specs

Request

  • Base URL
    https://api.digitalriver.com
  • URL
    https://api.digitalriver.com/country-specs
  • Auth
    HTTP bearer

Query parameters

countrystring required

Represents the expected billing or ship to country of the customer.

sellingEntitystring required

Represents the selling entity assigned to the order.

Response

200 OK

Example response

{
  "data": [
    {
      "country": "US",
      "sellingEntity": "DR_IRELAND-ENTITY",
      "taxIdentifiersInfo": {
        "type": "ie",
        "customerType": "business",
        "formatPattern": "^[Ii][Ee]\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z]$|^[Ii][Ee]\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z]$|^[Ii][Ee]\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z][A-Za-z]$|^[Ii][Ee]\\\\d[A-Za-z]\\\\d\\\\d\\\\d\\\\d\\\\d[A-Za-z]$",
        "locales": "en_IE"
      },
      "invoiceAttributeInfo": {
        "individual": {
          "type": "cn_individual_general",
          "attributes": {
            "invoiceTitle": "Invoice title",
            "regAccount": "87654",
            "regAddress": "123 Example st.",
            "regBank": "Bank",
            "regPhone": "8005551234"
          }
        },
        "business": {
          "type": "cn_business_general",
          "attributes": [
            {
              "invoiceTitle": "Invoice title",
              "regAccount": "87654",
              "regAddress": "123 Example st.",
              "regBank": "Bank",
              "regPhone": "8005551234"
            }
          ]
        }
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.