Field | Input name | Value | Format | Min lenght | C/O |
---|---|---|---|---|---|
Seller ID | gpp_sellerid | AN50 | 4 | C | |
The total amount of the order that the buyer is about to pay, including all the costs. | gpp_amounttotal | e.g. 573,10 | AN17 | 4 | C |
The currency of the total amount | gpp_amountcurrency | EUR, SEK, USD | A2 | 0 | O |
Language | request_locale | fi, sv, en | A2 | 2 | O |
ResaultCode | ResultTest | Description |
---|---|---|
00 | SUCCESS | OK |
10 | NO_PLANS_AVAILABLE | Usually because of too small total amount |
99 | ERROR | See below examples |
Status query for Part Payment payment
Status queries are handled the same way as for S2S Invoice. See here for more information: https://sveapayments.atlassian.net/wiki/spaces/DOCS/pages/374046721/Svea+S2S+invoice#Status-query-for-Invoice-payment
Get Part Payment Plans
Field
Input name
Value
Format
Min lenght
C/O
Seller ID
gpp_sellerid
AN50
4
C
The total amount of the order that the buyer is about to pay, including all the costs.
gpp_amounttotal
e.g. 573,10
AN17
4
C
The currency of the total amount
gpp_amountcurrency
EUR, SEK, USD
default: EUR
A2
0
O
Language
This influences mostly error messages since the OK-response contains only numeric data.
request_locale
fi, sv, en
default: fi
A2
2
O
Response
The response (JSON document, UTF-8) is returned as direct response to the HTTP GET/POST request. the result contains a list of campaign objects with relevant information. For creating a S2S Part Payment, the CampaignCode value is the one you want to pass to the Payment API request, to select that campaign.
ResaultCode
ResultTest
Description
00
SUCCESS
OK
10
NO_PLANS_AVAILABLE
Usually because of too small total amount
99
ERROR