creditcard_create_payment
Creates a credit/debit card payment session and returns a payment URL. The customer is redirected to a hosted checkout page to complete payment with their card.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in EUR (e.g. 10.50). | |
| language | No | Language for the checkout page (e.g. "pt", "en"). Defaults to "pt". | |
| order_id | Yes | Unique order identifier in your system (max 15 characters). | |
| ccard_key | Yes | ifthenpay Credit Card key. | |
| error_url | Yes | URL to redirect the customer if the payment fails. | |
| cancel_url | Yes | URL to redirect the customer if they cancel the payment. | |
| success_url | Yes | URL to redirect the customer after a successful payment. |