Orangepill Docs
  • Getting Started
    • Introduction
  • Orangepill API
    • Overview
    • Realms and Admins
    • Identities and Users
    • Persons and Companies
    • Messaging Channels
    • Digital Assets
    • Custom Digital Assets
    • Virtual Currencies
    • Ramp Accounts
    • Deposit Accounts
    • Virtual Accounts
    • Aliases
    • Withdrawal
    • Transactions
    • Payment gateways
    • Payouts
    • KYC
  • SmartApps
    • Payment Request
      • Payment Request v1.0
    • Forwarding Transactions
    • Blockchain Deposits
    • Accept Blockchain Payments
    • Orderbook
    • Exchange Rates
  • WebSocket Subscriptions
  • Extensions
    • Infobip People CDP
  • On Ramps and Off Ramps
  • Integrations
    • Infobip Exchange
  • Tutorials
    • Conversational Wallet
    • Crypto Payments Processor
      • Project Setup
      • Merchants Onboarding
      • Process Payment
      • Withdraw Revenue
      • Build Reports
      • Automatic Revenue Fees
    • Cryptocurrency Exchange
    • Simple ETH Wallet
  • Orangepill API Reference
Powered by GitBook
On this page
  • Retrieve Supported Crypto Currencies and Prices
  • Create a Customer Profile
  • Create a Payment Request
  • Implement Websocket Client for Payment Notifications

Was this helpful?

  1. Tutorials
  2. Crypto Payments Processor

Process Payment

Create payment requests and subscribe for notifications on payment status.

PreviousMerchants OnboardingNextWithdraw Revenue

Last updated 1 year ago

Was this helpful?

Retrieve Supported Crypto Currencies and Prices

Call the Orangepill API to receive a list of Ramp accounts and supported crypto currencies.

Use endpoint https://api.orangepill.cloud/v1/accounts?query=:{"type":"ramp"}&fields=asset.

In response you will get the list of Ramp accounts assets.

Display the current price for each currency by calling the Orangepill API to .

Create a Customer Profile

Create a customer profile, ensuring at least the customer's email is set. This email will be used to send successful payment notifications. Optionally, fill in the information.

Call the Orangepill API to check if the customer already exists.

Use endpoint https://api.orangepill.cloud/v1/identities/persons?email=EMAIL to find customer with specific email.

If the customer doesn't exist, use the Orangepill API to onboard the new customer.

Check documentation on .

Create a Payment Request

Call the Orangepill API to create a new object for the payment request.

As a destination use alias of merchants virtual account.

Display the payment amount in the selected currency and a unique blockchain address where the payment should be made. Show a timer indicating the timespan within which the payment needs to be completed.

Implement Websocket Client for Payment Notifications

Implement a websocket client to listen for notifications on the payment status. When a payment status update is received, process the notification accordingly.

Check documentation on .

WebSocket subscription
Apps.Payment
creating new customer
complete customer profile
retrieve price data