Create Service
Create service
POST https://tvqrh430ul.execute-api.eu-west-1.amazonaws.com/Prod
This endpoint allows you to create a service.
Headers
Name
Type
Description
X-Client
string
Paylands client uuid.
Request Body
Name
Type
Description
name
string
Service name
emplacement
string
The emplacement of the link to pay.
default_amount
integer
Default amount to charge.
payment_gateway_configuration
object
Paylands configuration.
{
"id": "d5c535d3-f7ed-43f9-8252-d7b6d616f172",
"name": "::Sample::",
"emplacement": "::sample::",
"payment_gateway_configuration": {
"service_uuid": "::service_uuid::",
"apikey": "::apiKey::",
"signature": "::signature::",
"template_uuid": "::template_uuid::",
"url_ok":"https://url.ok",
"url_ko":"https://url.ko",
"url_post":"https://url.post"
},
"default_amount": "1000"
}Payment gateway credentials object
{
"service_uuid": "provided by Paylands",
"apikey": "provided by Paylands",
"signature": "provided by Paylands",
"template_uuid": "provided by Paylands",
"url_ok":"https://url.ok",
"url_ko":"https://url.ko",
"url_post":"https://url.post"
}Last updated
Was this helpful?