Cashramp
  • Introduction
    • Getting Started
    • Payment Rails
    • API Endpoints
    • Authentication
    • Webhooks
    • Integration Guide
    • SDKs
  • Hosted Ramp
    • Overview
    • Deposits
    • Withdrawals
    • Cancel Payment
  • Direct Ramp
    • Overview
    • Ramp Quotes
    • Deposits
    • Withdrawals
  • Onchain Ramp
    • Overview
    • On-Off Ramp
  • Cashramp API
    • Queries
    • Customers
    • Payment Methods
    • Withdraw Onchain
Powered by GitBook
On this page
  • Features
  • Integration Steps
  • Common Use Cases
  1. Hosted Ramp

Overview

Hosted Ramp provides a pre-built, customizable checkout experience that lets your customers pay in local African currencies while you receive instant USD stablecoin settlements.

Features

  • Low-Code Integration: Drop in our widget with minimal setup

  • Multi-Currency: Accept 10+ African currencies via popular payment methods

  • Instant Settlement: Receive USD stablecoins as soon as the payment is confirmed

Integration Steps

  1. Create Payment Link

    mutation {
      initiateHostedPayment(
        paymentType: deposit,
        amount: 100,
        currency: usd,
        countryCode: "NG",
        reference: "order_123",
        email: "test@test.com",
        firstName: "John",
        lastName: "Doe",
        metadata: {
          "customer_id": "123",
          "order_id": "456"
        }
      ) {
        hostedLink
        id
      }
    }
  2. Redirect Customer

    // Redirect to hosted checkout
    window.location.href = hostedLink;
    
    // Or embed in iframe
    <iframe src={hostedLink} />;

Common Use Cases

Industry
Implementation

E-Commerce

Embed checkout in cart flow

SaaS

Subscription & one-time payments

Marketplaces

Multi-vendor payments

Digital Services

Pay-as-you-go billing

PreviousSDKsNextDeposits

Last updated 9 days ago