Skip to main content

Payments via bank card

If you have decided not to collect or store bank card data on your side, accept payments through our payment form.

You can accept payments by Visa and/or Mastercard cards.

Card payment scenario

This scenario does not include the payment capture step. How to make a delayed capture payment.

  1. Create a payment session that is separate from the actual payment (session/create) or a single combined session (session/init/payment).

    At this point, you can tokenize the bank card to accept payments without the widget.

  2. If you have created the session separately from the start of the payment, then send a session/start/payment request.

  3. Pike will send you a ready_to_confirm webhook, which means that the Bank is ready to make the payment and is waiting for your confirmation.

  4. Confirm (session/confirm) or cancel (session/cancel) the payment.

  5. Pike will send you an action_required webhook in case additional actions are required for the payment, e. g. 3D Secure verification. Redirect the user to the address for 3D Secure.

  6. Pike will send you a payment_finished webhook containing the result of the payment. If the status is succeeded, this tells you that the payment was successful.

Card payment diagram

Card payment diagram

Tokenize card without widget

Pike can store tokenized card data on its side. This may be convenient in case you decided not to store the bank card details that demand compliance with the additional PCI DSS requirements, or if you decide not to use the tokenization widget for some reason. You can pass tokenized data to Pike after the first payout transaction and use it for further payouts.

You can also reuse the card data received during a payment transaction to make payouts to the same card later. This works both for hashed acquiring data and tokens.

To tokenize card data without the widget, use the tokenized/elements method. Use the token returned by the method in further payment or payout requests.

All data tokenized in this way is not project dependent (e.g., a payout project token can be used to accept payments in another project, etc.)