Integrating a single payment method

Step 3: Create an order

Collect payment data

1. To collect the customer’s payment details from the Payment Component UI, call the PaymentComponent.getPaymentData() method:


2. Pass the payment_data to your server.

Create an order

Create an order from your server, appending the payment_data collected from the Payment Component UI to the order data.

See API reference – Payment Component order.

Redirect the customer

1. From your server, pass the response to the POST /orders request to the customer’s device.

2. Check that response.success is true.

3. Handle the response:

Bank transfer payments

In the gateway_info object, you receive the bank account details for the customer to wire the funds to.

Render the account details in the interface for the customer with clear instructions. (MultiSafepay also emails these details to the customer.)

Example gateway_info object

    "account_holder_name":"testperson-nl approved",

Other payment methods

Call the PaymentComponent.init() method using the following arguments:

PaymentComponent.init('redirection', {

If 3D Secure verification is:

  • Required, the customer is first directed to 3D Secure. If successful, the customer is then redirected to the redirect_url.
  • Not required, the customer is redirected to the redirect_url.


Propose a change on GitHubexternal-link-icon or
send an email to [email protected]

Other languages

For an explanation in another language, contact your account manager.