Set up

Complete the following configuration steps to start accepting Swish payments.

  1. Create, verify, and link a PayPal business account in the Braintree Control Panel.
  2. Generate a client token on your server to initialize the Braintree SDK.
  3. Integrate the Braintree Web SDK v3 on your client-side application.
  4. Set up server-side transaction processing to create local payment transactions.
  5. Configure webhooks to receive payment status updates

Configure webhooksAnchorIcon

Set up webhooks to receive real-time payment status notifications.

  1. In the Braintree Control Panel, go to Settings > Webhooks.
  2. Add your webhook endpoint URL (must use HTTPS in production).
  3. Subscribe to the following events:
    • local_payment_completed
    • local_payment_reversed

See Handle webhooks for implementation details.