Payment Pages
List all Payments
Retrieves all transactions associated with a specific payment page.
This endpoint uses cursor-based pagination.
Use the Next-Cursor and Prev-Cursor headers to paginate through results.
GET
/
collect
/
payment_pages
/
{id}
/
transactions
Get Payment Page Transactions
curl --request GET \
--url https://api.momentpay.net/collect/payment_pages/{id}/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.momentpay.net/collect/payment_pages/{id}/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.momentpay.net/collect/payment_pages/{id}/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.momentpay.net/collect/payment_pages/{id}/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.momentpay.net/collect/payment_pages/{id}/transactions"
req, _ := http.NewRequest("GET", 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))
}HttpResponse<String> response = Unirest.get("https://api.momentpay.net/collect/payment_pages/{id}/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.momentpay.net/collect/payment_pages/{id}/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "pt_9N2a38DJQWPL8K4X",
"payment_page_id": "pp_EVT9283NAKSD8234SKJD",
"status": "succeeded",
"amount": 1000,
"currency": "ZAR",
"customer": {
"name": "John Smith",
"email": "john@example.com",
"phone": "+1234567890"
},
"custom_fields": {
"session_choice": "Morning (8AM–12PM)",
"dietary_restrictions": "Vegan",
"referral_code": "FITWELL100"
},
"payment_id": "p_xyz789abc123def456",
"products": [
{
"product_id": "product_123123",
"product_name": "sample product",
"qty": 123,
"price": 1123,
"currency": "ZAR",
"description": "testing product desc"
}
],
"checkout_session_id": "chk_456789abc123def",
"delivery_address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "Cape Town",
"state": "Western Cape",
"country": "ZA",
"postal_code": "8001"
},
"metadata": {
"event_id": "wellness_nairobi_2025"
},
"created_at": "2025-06-18T08:45:00Z",
"updated_at": "2025-06-18T08:45:10Z"
}
]
}Authorizations
Authentication using Bearer tokens. Include your API key in the Authorization header.
Key Types:
- Test Keys:
sk_test_*for development and testing - Live Keys:
sk_*for production environments - Public Keys:
pk_test_*orpk_*for client-side operations
📩 Need access? Contact Support to request your API keys.
Usage:
Authorization: Bearer sk_test_4eC39HqLyjWDarjtT1zdp7dc
Path Parameters
Unique identifier for the payment page. Must be a valid payment page ID.
Unique identifier for a payment page
Example:
"pp_SjSA234ADKA25245ADJKS"
Query Parameters
Cursor pointing to the next or previous page of results.
Example:
"txn_abc123xyz"
Number of transactions to return (default: 20, max: 100)
Required range:
x <= 100Response
A list of transactions for the payment page.
Show child attributes
Show child attributes
Was this page helpful?
⌘I
Get Payment Page Transactions
curl --request GET \
--url https://api.momentpay.net/collect/payment_pages/{id}/transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.momentpay.net/collect/payment_pages/{id}/transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.momentpay.net/collect/payment_pages/{id}/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.momentpay.net/collect/payment_pages/{id}/transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.momentpay.net/collect/payment_pages/{id}/transactions"
req, _ := http.NewRequest("GET", 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))
}HttpResponse<String> response = Unirest.get("https://api.momentpay.net/collect/payment_pages/{id}/transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.momentpay.net/collect/payment_pages/{id}/transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "pt_9N2a38DJQWPL8K4X",
"payment_page_id": "pp_EVT9283NAKSD8234SKJD",
"status": "succeeded",
"amount": 1000,
"currency": "ZAR",
"customer": {
"name": "John Smith",
"email": "john@example.com",
"phone": "+1234567890"
},
"custom_fields": {
"session_choice": "Morning (8AM–12PM)",
"dietary_restrictions": "Vegan",
"referral_code": "FITWELL100"
},
"payment_id": "p_xyz789abc123def456",
"products": [
{
"product_id": "product_123123",
"product_name": "sample product",
"qty": 123,
"price": 1123,
"currency": "ZAR",
"description": "testing product desc"
}
],
"checkout_session_id": "chk_456789abc123def",
"delivery_address": {
"line1": "123 Main Street",
"line2": "Apt 4B",
"city": "Cape Town",
"state": "Western Cape",
"country": "ZA",
"postal_code": "8001"
},
"metadata": {
"event_id": "wellness_nairobi_2025"
},
"created_at": "2025-06-18T08:45:00Z",
"updated_at": "2025-06-18T08:45:10Z"
}
]
}
