Skip to content

mdyd-dev/platformos-payment-examples

Repository files navigation

marketplace-nearme-example

  1. Install marketplace-kit via npm i -g @platform-os/marketplace-kit.

  2. Add environment for url https://payment-examples.staging.oregon.platform-os.com using your partner portal credentials

  3. Start syncing

List of Examples

Account example

  • create custom Stripe account
  • delete custom Stripe account
  • edit custom Stripe account
  • create charge with destination account
  • refund charge with destination account (reverse transfer)
  • automated payouts
  • webhooks

Charge example

  • create charge with credit card
  • refund charge
  • display list of payments

Customer example

  • create customer with credit card
  • delete customer with credit card
  • charge customer with credit card
  • charge customer with credit card with API call

Elements Example

  • create charge without capture (authorize) with Stripe Elements
  • capture authorized charge
  • refund capture charge