Create MyFatoorah payment or invoice link
myfatoorah_create_paymentCreate a payable invoice and receive a customer PaymentURL to share for online payment.
Instructions
Creates a payment/invoice using POST /v3/payments. In a live environment this creates a real payable invoice. Omit paymentMethod to show all enabled methods; use notificationOption for invoicing. The returned PaymentURL is where the customer pays.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount; must be greater than zero. | |
| advanced | No | Additional documented v3 request fields. Explicit fields above take precedence. | |
| currency | No | Display currency. Defaults to the account base currency. | |
| customer | No | ||
| language | No | ||
| suppliers | No | ||
| webhookUrl | No | Per-payment webhook URL. | |
| paymentExpiry | No | UTC ISO-8601 expiration time. | |
| paymentMethod | No | ApiName from myfatoorah_get_payment_methods; omit to show enabled methods. | |
| idempotencyKey | No | ||
| redirectionUrl | No | Customer return URL after payment. | |
| userDefinedFields | No | ||
| externalIdentifier | No | ||
| notificationOption | No | ||
| displayPaymentMethods | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| response | Yes |