Skip to main content
POST
Create payment

Body

application/json

Payment data

amount
number
required

Payment amount

Example:

29.99

currency
enum<string>
required

Currency

Available options:
EUR
Example:

"EUR"

mollie_customer_id
string
required

Mollie customer ID

Example:

"cst_abc123"

description
string
required

Payment description

Example:

"Order #2025-001"

redirect_url
string
required

URL to redirect after payment

Example:

"https://example.com/thank-you"

method
enum<string>

Payment method

Available options:
ideal,
creditcard,
bancontact,
sofort,
eps,
giropay,
belfius,
kbc,
banktransfer
Example:

"ideal"

webhook_url
string

Webhook URL for status updates

Example:

"https://example.com/webhook"

mollie_profile_id
string

Mollie profile ID

Example:

"pfl_abc123"

Response

Payment created successfully

id
string
required
Example:

"pay_abc123"

mollie_payment_id
string
required
Example:

"tr_abc123"

status
enum<string>
required
Available options:
open,
pending
Example:

"open"

mollie_checkout_url
string
required
Example:

"https://www.mollie.com/checkout/test-mode?method=ideal&token=abc123"