Create Product

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

An account identifier.

Body Params

Request to create a retirement account product for a customer account.

string
enum
required

The type of product to create.

Allowed:
string
required

The identifier of the certified product contract that the retirement product is based on. A product contract is a certified contract template, and many retirement products can use the same product contract. Use GET /product_contracts to find the product contracts available to you.

string
deprecated

The identifier of the certified product contract.
Deprecated: Use the product_contract field instead. If both fields are sent, product_contract is used. This field will be removed in a future version.

integer
required

The age at which payouts from the retirement account will begin.

accepted_agreements
array of objects
required
length ≥ 1

A list of retirement-related legal agreements that have been accepted.

Accepted Agreements*
string
length between 1 and 20
^[A-Za-z0-9_-]+$

The contract number of the retirement product. It is used in all communication with the ZfA. It is not the certification_number of the product_contract. Only ASCII letters, digits, dashes (-) and underscores (_) are allowed. If the field is omitted, a contract number is generated. The value must be unique across all retirement products. Upper and lower case are not distinguished, so ABC1 and abc1 are treated as the same number. A request with a contract number that is already used is rejected with a 400 error. The contract number cannot be changed after the retirement product is created.

Headers
string
required
string
required
string
length ≤ 100

An optional idempotency key to safely retry requests without creating duplicate resources. Pass a unique string (UUID recommended, max 100 characters). Retrying with the same key returns the product created by the first request. For full details see the Idempotency guide.

Responses

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