v1
latestOpenAPI 3.1.02026-07-263436159.3 KBCreate Paywall
Use this call to create a new paywall for your customers according to their country of residence and preferred payment methods.
post/paywalls
Headers
Ocp-Apim-Subscription-Keystring required
The subscription key has a length of 32 characters and will be provided within the API keys. <strong style="color:red;">Required only for new integrations from July 24th onwards.</strong>
Request body
Response
200
Example response
{
"uid": "c32dc84f-070f-4ddb-8a3d-33756c93135c",
"trackingId": "10010000A100027",
"amount": 10000,
"currency": "MXN",
"description": "Payment Test",
"createdAt": "2023-01-13T13:35:41.4520468Z",
"returnUrl": "https://payment-form.payretailers.com/return",
"notificationUrl": "https://payment-form.payretailers.com/notification",
"language": "ES",
"totalAmount": 100,
"apiPaymentShopDomainUrl": "https://api.gateway.payretailers.com/",
"customer": {
"firstName": "John",
"lastName": "Doe",
"email": "test@payretailers.com",
"country": "MX",
"city": "Ciudad de México",
"zip": "06010",
"address": "República de Perú 177",
"phone": "5299999999999",
"ip": "150.125.18.159"
},
"form": {
"action": "https://pr1az1pro1paywall1web.z13.web.core.windows.net/?p=c32dc84f-070f-4ddb-8a3d-33756c93135c",
"method": "GET"
},
"testMode": true
}