DevPortalPagoPA




Table of contents

Manage Service: Create

Description

This API makes it possible to create a service.

Examples

Here is an example with minimum information for creating a test service:
1### REQUEST
2curl --location --request POST 'https://api.io.pagopa.it/api/v1/manage/services' \
3--header 'Ocp-Apim-Subscription-Key: __YOUR_API_KEY__' \
4--header 'Content-Type: application/json' \
5--data-raw '{
6  "name": "string",
7  "description": "string",
8  "organization": {
9    "name": "string",
10    "fiscal_code": "12345678901",
11    "department_name": "string"
12  },
13  "require_secure_channel": false,
14  "authorized_cidrs": [
15    "85.338.5.14/32"
16  ],
17  "metadata": {
18    "web_url": "string",
19    "app_ios": "string",
20    "app_android": "string",
21    "tos_url": "string",
22    "privacy_url": "string",
23    "address": "string",
24    "phone": "string",
25    "email": "string",
26    "pec": "string",
27    "cta": "string",
28    "token_name": "string",
29    "support_url": "string",
30    "scope": "LOCAL",
31    "topic_id": 3
32  }
33}'
34
1### RESPONSE
2{
3  "id": "string",
4  "status": {
5    "value": "draft",
6    "reason": "string"
7  },
8  "version": 0,
9  "last_update": "2018-10-13T00:00:00.000Z",
10  "name": "string",
11  "description": "string",
12  "organization": {
13    "name": "string",
14    "fiscal_code": "12345678901",
15    "department_name": "string"
16  },
17  "require_secure_channel": false,
18  "authorized_recipients": [],
19  "authorized_cidrs": [
20    "85.338.5.14/32"
21  ],
22  "max_allowed_payment_amount": 0,
23  "metadata": {
24    "web_url": "string",
25    "app_ios": "string",
26    "app_android": "string",
27    "tos_url": "string",
28    "privacy_url": "string",
29    "address": "string",
30    "phone": "string",
31    "email": "string",
32    "pec": "string",
33    "cta": "string",
34    "token_name": "string",
35    "support_url": "string",
36    "scope": "LOCAL",
37    "topic": {
38      "id": 3,
39      "name": "Social welfare"
40    }
41  }
42}
43

Useful resources

Haven't completed onboarding yet and need help?

Write an email describing your problem or question to the address areariservata@assistenza.pagopa.it.

Need help with APIs and Integration?

Write an email describing your problem or question to the address:

io-service-management@pagopa.it

Tell us what you think

To report problems or give feedback, leave a comment in the GitHub space of the IO app