checkout_sid_vipps_payments_orderid_post
curl --request POST \
--url https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id} \
--header 'Content-Type: application/json' \
--data '
{
"merchantSerialNumber": "<string>",
"orderId": "<string>",
"transactionInfo": {
"amount": 123,
"timeStamp": "2023-11-07T05:31:56Z",
"transactionId": "<string>"
}
}
'import requests
url = "https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}"
payload = {
"merchantSerialNumber": "<string>",
"orderId": "<string>",
"transactionInfo": {
"amount": 123,
"timeStamp": "2023-11-07T05:31:56Z",
"transactionId": "<string>"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
merchantSerialNumber: '<string>',
orderId: '<string>',
transactionInfo: {amount: 123, timeStamp: '2023-11-07T05:31:56Z', transactionId: '<string>'}
})
};
fetch('https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}"
payload := strings.NewReader("{\n \"merchantSerialNumber\": \"<string>\",\n \"orderId\": \"<string>\",\n \"transactionInfo\": {\n \"amount\": 123,\n \"timeStamp\": \"2023-11-07T05:31:56Z\",\n \"transactionId\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}")
.header("Content-Type", "application/json")
.body("{\n \"merchantSerialNumber\": \"<string>\",\n \"orderId\": \"<string>\",\n \"transactionInfo\": {\n \"amount\": 123,\n \"timeStamp\": \"2023-11-07T05:31:56Z\",\n \"transactionId\": \"<string>\"\n }\n}")
.asString();{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}vipps
Handle Vipps callback after the payment request
POST
https://checkout.dintero.com/v1
/
sessions
/
{session_id}
/
vipps
/
v2
/
payments
/
{order_id}
checkout_sid_vipps_payments_orderid_post
curl --request POST \
--url https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id} \
--header 'Content-Type: application/json' \
--data '
{
"merchantSerialNumber": "<string>",
"orderId": "<string>",
"transactionInfo": {
"amount": 123,
"timeStamp": "2023-11-07T05:31:56Z",
"transactionId": "<string>"
}
}
'import requests
url = "https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}"
payload = {
"merchantSerialNumber": "<string>",
"orderId": "<string>",
"transactionInfo": {
"amount": 123,
"timeStamp": "2023-11-07T05:31:56Z",
"transactionId": "<string>"
}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
merchantSerialNumber: '<string>',
orderId: '<string>',
transactionInfo: {amount: 123, timeStamp: '2023-11-07T05:31:56Z', transactionId: '<string>'}
})
};
fetch('https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}"
payload := strings.NewReader("{\n \"merchantSerialNumber\": \"<string>\",\n \"orderId\": \"<string>\",\n \"transactionInfo\": {\n \"amount\": 123,\n \"timeStamp\": \"2023-11-07T05:31:56Z\",\n \"transactionId\": \"<string>\"\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://checkout.dintero.com/v1/sessions/{session_id}/vipps/v2/payments/{order_id}")
.header("Content-Type", "application/json")
.body("{\n \"merchantSerialNumber\": \"<string>\",\n \"orderId\": \"<string>\",\n \"transactionInfo\": {\n \"amount\": 123,\n \"timeStamp\": \"2023-11-07T05:31:56Z\",\n \"transactionId\": \"<string>\"\n }\n}")
.asString();{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}Last modified on July 31, 2026
⌘I