💳 Create Payment
AI-generatedSummary
Create a payment request by specifying the amount and currency, optionally adding details like title, description, image, fee strategy, webhook URL, client order ID, and metadata; receive a payment ID, payment URL, and status URL for further processing.
Inputs
- amount (required) — The payment amount as a string (e.g., "29.90", "15.00")
- currency (required) — The three-letter currency code (e.g., "USD", "EUR")
- title — Optional payment title or product name shown to customers
- description — Optional detailed description of the payment for customer reference
- imageUrl — Optional product image URL displayed on payment page
- feeStrategy — Optional selection of who pays the transaction fees: buyer or seller
- webhookUrl — Optional webhook URL to receive payment notifications
- clientOrderId — Optional unique order or invoice ID for your reference
- metadata — Optional additional custom data as JSON for your internal use
Output shape
a single JSON object containing success flag, paymentId, url (payment link), and statusUrl (payment status link)
The returned object includes keys: success (boolean), paymentId (string), url (string for payment), and statusUrl (string). Errors during the request will throw a NodeOperationError.