/v1/paymentsCreate a payment
Charge a customer's payment method. Returns a PaymentIntent you can confirm on the client.
Parameters
amountintegerRequiredAmount in the smallest currency unit (e.g. pence).currencystringRequiredThree-letter ISO code, e.g. gbp.customerstringID of an existing customer to charge.descriptionstringArbitrary string shown on the merchant dashboard.metadataobjectUp to 50 key-value pairs of your own data.
Request
curl https://api.paytab.co.uk/v1/payments \
-H "Authorization: Bearer sk_test_..." \
-d amount=2500 \
-d currency=gbp \
-d "description=Order #4102"Response
{
"id": "pay_1P4kJ9L2c...",
"object": "payment",
"amount": 2500,
"currency": "gbp",
"status": "requires_confirmation",
"client_secret": "pay_1P4kJ9L2c..._secret_x",
"created": 1751824512,
"livemode": false
}