Payment Pages
Last updated
Last updated
POST
https://api.lahza.io/page
Create a payment page on your integration
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
GET
https://api.lahza.io/page
List payment pages available on your integration.
GET
https://api.lahza.io/page/:id_or_slug
Get details of a payment page on your integration.
PUT
https://api.lahza.io/page/:id_or_slug
Update a payment page details on your integration
GET
https://api.lahza.io/page/check_slug_availability/:slug
Check the availability of a slug for a payment page.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
authorization*
String
Set value to Bearer SECRET_KEY
content-type*
String
Set value to application/json
name*
String
Name of page
redirect_url
String
If you would like Lahza to redirect someplace upon successful payment, specify the URL here.
metadata
object
Extra data to configure the payment page including, logo image
slug
String
URL slug you would like to be associated with this page. Page will be accessible at https://pay.lahza.iom/[slug]
amount
String
Amount should be in agora if currency is ILS, qirsh, if currency is JOD, and cents, if currency is USD
description
String
A description for this page
custom_fields
array
If you would like to accept custom fields, specify them here.
perPage
integer
Specify how many records you want to retrieve per page. If not specify we use a default value of 50.
page
integer
Specify exactly what page you want to retrieve. If not specify we use a default value of 1.
to
datetime
A timestamp at which to stop listing page e.g. 2023-09-24T00:00:05.000Z, 2023-09-21
from
datetime
A timestamp from which to start listing page e.g. 2023-09-24T00:00:05.000Z, 2023-09-21
authorization*
String
Set value to Bearer SECRET_KEY
id_or_slug*
String
The page ID or slug you want to fetch
authorization*
String
Set value to Bearer SECRET_KEY
authorization*
String
Set value to Bearer SECRET_KEY
id_or_slug
String
Page ID or slug
content-type*
String
Set value to application/json
name*
String
Name of page
amount
integer
Amount should be in aghora if currency is ILS, qirsh, if currency is JOD, and cents, if currency is USD
description
String
A description for this page
active
boolean
Set to false to deactivate page url
slug
String
URL slug to be confirmed
authorization*
String
Set value to Bearer SECRET_KEY