Create payment (draft)
create_paymentCreate a payment as a draft that requires your approval in the Folio app before any money moves. Supports domestic and foreign payments with optional KID or message.
Instructions
Create a new payment. The payment is created as a Draft and must be approved/signed by the user in the Folio app before any money moves. Either kid or message may be set, not both. Foreign (non-NOK) payments require foreignPaymentInfo.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| creditorName | Yes | Name of the recipient | |
| creditorAccountNumber | Yes | Recipient account number (BBAN or IBAN) | |
| debtorAccountNumber | Yes | Your Folio account number to pay from (BBAN) | |
| amount | Yes | Amount as a decimal string, e.g. "1000.00" | |
| currency | No | ISO currency code, e.g. "NOK" or "EUR" | NOK |
| executionDate | Yes | Date the payment should be executed (YYYY-MM-DD) | |
| kid | No | KID number. Mutually exclusive with message. | |
| message | No | Message to recipient. Mutually exclusive with kid. | |
| foreignPaymentInfo | No | Required for payments in a currency other than NOK |