checkout_sid_lock
curl --request POST \
--url https://checkout.dintero.com/v1/view/{session_id}/session/lockimport requests
url = "https://checkout.dintero.com/v1/view/{session_id}/session/lock"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://checkout.dintero.com/v1/view/{session_id}/session/lock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://checkout.dintero.com/v1/view/{session_id}/session/lock"
req, _ := http.NewRequest("POST", url, nil)
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/view/{session_id}/session/lock")
.asString();{
"pay_lock": {
"pay_lock_id": "7ffdbd47-a7c8-476b-b06b-39e0a3f2a4c6"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}view
Lock a checkout session
When locked, the session can not be paid. Locking the session is only available when express is enabled.
POST
https://checkout.dintero.com/v1
/
view
/
{session_id}
/
session
/
lock
checkout_sid_lock
curl --request POST \
--url https://checkout.dintero.com/v1/view/{session_id}/session/lockimport requests
url = "https://checkout.dintero.com/v1/view/{session_id}/session/lock"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://checkout.dintero.com/v1/view/{session_id}/session/lock', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://checkout.dintero.com/v1/view/{session_id}/session/lock"
req, _ := http.NewRequest("POST", url, nil)
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/view/{session_id}/session/lock")
.asString();{
"pay_lock": {
"pay_lock_id": "7ffdbd47-a7c8-476b-b06b-39e0a3f2a4c6"
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}{
"error": {
"message": "<string>",
"code": "<string>",
"errors": [
{}
]
}
}Last modified on August 19, 2026
⌘I