For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Status PageContact sales
HomePlatform OverviewAPI ReferenceIntegration GuidesUI GuidesChangelog
HomePlatform OverviewAPI ReferenceIntegration GuidesUI GuidesChangelog
  • Using the API
    • API overview
    • API responses
    • Postman collection
  • API reference
        • POSTCreate payment page
        • GETGet payment page
        • GETGet all page details
        • PUTUpdate payment page
        • DELDelete payment page
LogoLogo
Status PageContact sales
API referencePay In endpointsHosted payment pages

Create payment page

POST
/Paypoint/:entry
POST
/api/Paypoint/:entry
$curl -X POST https://api-sandbox.payabli.com/api/Paypoint/8cfec329267 \
> -H "idempotencyKey: 6B29FC40-CA47-1067-B31D-00DD010662DA" \
> -H "requestToken: <apiKey>" \
> -H "Content-Type: application/json" \
> -d '{}'
1{
2 "isSuccess": true,
3 "pageIdentifier": "null",
4 "responseCode": 1,
5 "responseData": "responseData",
6 "responseText": "Success"
7}

Creates a new payment page for a paypoint. Note: this operation doesn’t create a new paypoint, just a payment page for an exisiting paypoint. See How do I create a paypoint? to understand how paypoints are created.

Was this page helpful?
Previous

Get payment page

Next

Authentication

requestTokenstring
API Key authentication via header

Path parameters

entrystringRequired

The paypoint’s entrypoint identifier. Learn more

Headers

idempotencyKeystringOptional
A unique ID you can include to prevent duplicating objects or transactions if a request is sent more than once. This key is not generated in Payabli, you must generate it yourself.

Request

This endpoint expects an object.
AdditionalDatamap from strings to optional maps from strings to anyOptional

Custom dictionary of key:value pairs. You can use this field to store any data related to the object or for your system. If you are using custom identifiers, pass those in this object. Example usage:

1{
2 "additionalData": {
3 "key1": "value1",
4 "key2": "value2",
5 "key3": "value3"
6 }
7}
credentialslist of objectsOptional
Array of credential objects with active services for the page
lastAccessdatetimeOptional
Timestamp of last access to page structure
pageContentobjectOptional
Sections of page
pageIdentifierstringOptional
Auxiliary validation used internally by payment pages and components.
pageSettingsobjectOptional
Settings of page
publishedintegerOptional

Flag indicating if page is active to accept payments. 0 for false, 1 for true.

receiptContentobjectOptional
Sections of payment receipt
subdomainstringOptional<=50 characters
Page identifier. Must be unique in platform.
totalAmountdoubleOptional
Total amount to pay in this page
validationCodestringOptional
Base64 encoded image of Captcha associated to this page load

Response

Success
isSuccessboolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

pageIdentifierstring
Auxiliary validation used internally by payment pages and components.
responseCodeinteger

Code for the response. Learn more in API Response Codes.

responseDatastring or integer
The response data.
responseTextstring

Response text for operation: ‘Success’ or ‘Declined’.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error
503
Service Unavailable Error