Get Transactions
Retrieve a paginated, filterable list of transactions for your outlet.
GET
/api/paylater/merchant-portal/v2/web-checkout/transactions
Sandbox
https://connect.uat.paylaterapp.com/api/paylater/merchant-portal/v2/web-checkout/transactions
Production
https://connect.paylaterapp.com/api/paylater/merchant-portal/v2/web-checkout/transactions
Authentication
All requests require a bearer token from the OAuth 2.0 token endpoint. Pass it as Authorization: Bearer <ACCESS_TOKEN>.
Request
Headers
| Header | Value |
|---|---|
Authorization | Bearer <ACCESS_TOKEN> |
Query parameters
sizeIntrequiredRecords per page.
pageIntrequiredPage number.
search_textStringoptionalSearch by customer name / ID.
start_dateDateoptionalStart date filter (YYYY-MM-DD).
end_dateDateoptionalEnd date filter (YYYY-MM-DD).
statusStringoptionalTransaction status filter.
Example request
curl --location 'https://connect.uat.paylaterapp.com/api/paylater/merchant-portal/v2/web-checkout/transactions?size=20&page=0' \
--header 'Authorization: Bearer <ACCESS_TOKEN>'
const res = await fetch(
'https://connect.uat.paylaterapp.com/api/paylater/merchant-portal/v2/web-checkout/transactions?size=20&page=0',
{
method: 'GET',
headers: {
Authorization: `Bearer ${accessToken}`,
},
},
);
const transactions = await res.json();
import requests
resp = requests.get(
"https://connect.uat.paylaterapp.com/api/paylater/merchant-portal/v2/web-checkout/transactions",
headers={
"Authorization": f"Bearer {access_token}",
},
params={
"size": 20,
"page": 0,
},
)
transactions = resp.json()
$ch = curl_init('https://connect.uat.paylaterapp.com/api/paylater/merchant-portal/v2/web-checkout/transactions?size=20&page=0');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . $accessToken,
],
]);
$response = json_decode(curl_exec($ch), true);
Response
Returns a paginated list of transactions, each with customer, loan, and status details (see Get Transaction by Order ID for the per-item shape).
Errors
{
"error": "Invalid API Key"
}
Last updated

