@@ -4070,6 +4070,7 @@ paths:
40704070 tags :
40714071 - Page
40724072 summary : Create Page
4073+ description : Create a webpage to receive payments
40734074 operationId : page_create
40744075 requestBody :
40754076 content :
@@ -4090,13 +4091,16 @@ paths:
40904091 tags :
40914092 - Page
40924093 summary : List Pages
4094+ description : List all previously created payment pages
40934095 operationId : page_list
40944096 parameters :
40954097 - in : query
40964098 name : perPage
40974099 schema :
40984100 type : integer
4101+ default : 50
40994102 description : Number of records to fetch per page
4103+ example : 10
41004104 - in : query
41014105 name : page
41024106 schema :
@@ -4127,13 +4131,16 @@ paths:
41274131 parameters :
41284132 - name : id
41294133 in : path
4134+ description : The unique identifier of a payment page
41304135 required : true
41314136 schema :
4132- type : string
4137+ type : integer
4138+ example : 1891222
41334139 get :
41344140 tags :
41354141 - Page
41364142 summary : Fetch Page
4143+ description : Get a previously created payment page
41374144 operationId : page_fetch
41384145 responses :
41394146 ' 200 ' :
@@ -4148,6 +4155,7 @@ paths:
41484155 tags :
41494156 - Page
41504157 summary : Update Page
4158+ description : Update a previously created payment page
41514159 operationId : page_update
41524160 requestBody :
41534161 content :
@@ -4170,13 +4178,16 @@ paths:
41704178 parameters :
41714179 - name : slug
41724180 in : path
4181+ description : The custom slug to check
41734182 required : true
41744183 schema :
41754184 type : string
4185+ example : risky-burger
41764186 get :
41774187 tags :
41784188 - Page
41794189 summary : Check Slug Availability
4190+ description : Check if a custom slug is available for use when creating a payment page
41804191 operationId : page_checkSlugAvailability
41814192 responses :
41824193 ' 200 ' :
@@ -4198,6 +4209,9 @@ paths:
41984209 tags :
41994210 - Page
42004211 summary : Add Products
4212+ description : |
4213+ Add products to a previously created payment page. You can only add products to pages
4214+ that was created with a `product` type.
42014215 operationId : page_addProducts
42024216 requestBody :
42034217 content :
@@ -15715,6 +15729,9 @@ components:
1571515729 type : array
1571615730 items :
1571715731 type : object
15732+ example :
15733+ name : Extra Charges
15734+ amount : 200000
1571815735 PageCreateResponse :
1571915736 type : object
1572015737 properties :
@@ -15858,11 +15875,13 @@ components:
1585815875 description : The description of the page
1585915876 type : string
1586015877 amount :
15861- description : Amount should be in kobo if currency is NGN, pesewas, if currency is GHS, and cents, if currency is ZAR
15878+ description : Amount should be in the subunit of the currency
1586215879 type : integer
1586315880 active :
1586415881 description : Set to false to deactivate page url
1586515882 type : boolean
15883+ example :
15884+ name : Backyard Sale
1586615885 PageUpdateResponse :
1586715886 type : object
1586815887 properties :
@@ -15957,13 +15976,17 @@ components:
1595715976 PageProduct :
1595815977 type : object
1595915978 required :
15960- - product
15979+ - products
1596115980 properties :
15962- product :
15963- description : IDs of all products to add to a page
15981+ products :
15982+ description : A list of IDs of products to add to a page.
1596415983 type : array
1596515984 items :
15966- type : string
15985+ type : integer
15986+ example :
15987+ products :
15988+ - 2196244
15989+ - 2179824
1596715990 PageProductsArray :
1596815991 type : object
1596915992 properties :
0 commit comments