-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpayment.http
More file actions
34 lines (29 loc) · 966 Bytes
/
payment.http
File metadata and controls
34 lines (29 loc) · 966 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
### zapytania dla NIP1
POST https://{{host}}.mf.gov.pl/api/online/Payment/Identifier/Request
Accept: application/json
SessionToken: {{token}}
Content-Type: application/json
{
"ksefReferenceNumberList": [
"{{ksef_nr2}}"
]
}
### zapytania dla NIP2
POST https://{{host}}.mf.gov.pl/api/online/Payment/Identifier/Request
Accept: application/json
SessionToken: {{token}}
Content-Type: application/json
{
"ksefReferenceNumberList": [
"3333333333-20230922-5E54F8119298-E2",
"3333333333-20230921-445411F1006D-FD",
"3333333333-20230921-076B383C2B35-66",
"3333333333-20230920-2FF2E8D6D59D-9C",
"9781399259-20230919-C3D00B4CD97A-62",
"3896717236-20230919-92AE96528F8C-6C"
]
}
### Rozkodowanie ID - nie działa, niezależnie czy z tokenem czy bez: "24001 Nieprawidłowy numer referencyjny"
GET https://ksef.mf.gov.pl/api/online/Payment/Identifier/GetReferenceNumbers/{{paymentIdentifier}}
accept: application/json
SessionToken: {{token}}