Create administrative division

Create an administrative division.

This is a v2 endpoint designed for transaction banking. To understand the differences between v1 and v2 endpoints, refer to Platform setup - Holidays and administrative divisions.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Administrative division name

string
enum
required

Admin division type

Allowed:
integer

Parent ID

string

Client-supplied external ID. It must comply with the rule ^[a-zA-Z0-9-]+$.

string

Parent external ID. Must comply with the rule ^[a-zA-Z0-9-]+$.

working_days
array of integers

Week days that are working days where 0 = Sunday and 6 = Saturday. The default - [1,2,3,4,5] - corresponds to Monday through Friday.

working_days
metadata
object

A valid JSON schema as specified in https://json-schema.org/specification.html. Used to register the rules that are used to authorize the transaction.

This object uses parameters to specify business rules for holidays. For details, see Posting Transactions on Holidays.

Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json