Ping
curl --request POST \
--url https://20b9-41-90-209-232.ngrok-free.app/v1/ping \
--header 'Authorization: Bearer <token>'const url = 'https://20b9-41-90-209-232.ngrok-free.app/v1/ping';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://20b9-41-90-209-232.ngrok-free.app/v1/ping"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://20b9-41-90-209-232.ngrok-free.app/v1/ping"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "event",
"type": "event.ping",
"created": 123,
"livemode": true,
"data": {},
"environment": "live"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "Invalid API key provided."
}
}Account
Ping
Persists event.ping and queues a delivery when the env webhook is
active and subscribed to that type.
POST
/
ping
Ping
curl --request POST \
--url https://20b9-41-90-209-232.ngrok-free.app/v1/ping \
--header 'Authorization: Bearer <token>'const url = 'https://20b9-41-90-209-232.ngrok-free.app/v1/ping';
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
fetch(url, options)
.then(res => res.json())
.then(json => console.log(json))
.catch(err => console.error(err));import requests
url = "https://20b9-41-90-209-232.ngrok-free.app/v1/ping"
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, headers=headers)
print(response.text)package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://20b9-41-90-209-232.ngrok-free.app/v1/ping"
req, _ := http.NewRequest("POST", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"object": "event",
"type": "event.ping",
"created": 123,
"livemode": true,
"data": {},
"environment": "live"
}{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "Invalid API key provided."
}
}Authorizations
Secret API key from Settings → Developers → API keys.
Example: Authorization: Bearer sk_test_…
Response
Queued event
Event id (also used for webhook delivery tracking).
Object type discriminator.
Available options:
event Event type string (e.g. event.ping, event.payout.completed).
Example:
"event.ping"
Unix seconds when the event was persisted.
true when emitted in the live environment.
Event-specific payload (shape depends on type).
Environment that produced the event.
Available options:
live, sandbox