📨Create Transaction
Overview
This endpoint allows you to initiate a payment transaction. Ensure your request includes all required parameters and valid authorization headers to process the payment successfully.
HTTP Request
Headers
Header | Value |
---|---|
MALUM |
|
Request Body
Send data in JSON format. The following table outlines all parameters, noting which are required:
Parameter | Type | Required | Description |
---|---|---|---|
| float | Yes | Amount to be collected. |
| string | Yes | Currency code (e.g., EUR, USD, JPY, AUD, GBP, RUB). |
| string | Yes | Email address of the customer. |
| string | Yes | URL to navigate to if the transaction is cancelled. |
| string | Yes | URL to redirect the customer to after successful payment. |
| string | Yes | URL to send webhook notifications to. |
| boolean | No | Whether the customer should pay the merchant fee. |
| string | No | Additional metadata about the transaction (max 255 chars). |
Success Response
A successful request returns the following JSON structure:
Error Response
An unsuccessful request returns the following JSON structure, indicating the nature of the error:
Additional Notes
Ensure that all required parameters are included in your request.
The
Authorization
header should be properly formatted with your business ID and secret key.
Last updated