ShareMint
  • ๐Ÿ‘‹Introduction
  • Overview
    • ๐Ÿ’กWhat we do
    • โœจFeatures
    • ๐Ÿง‘โ€๐Ÿคโ€๐Ÿง‘Partner Program
  • Fundamentals
    • ๐Ÿ› ๏ธGetting Started
    • โšกAffiliate Sign Up Page
    • ๐ŸŒ๏ธReferee Sign Up Page
    • ๐Ÿ“Integrating ShareMint into your Website
    • ๐ŸŽAPI
    • ๐ŸŽชAffiliate Token Gating
    • ๐Ÿง‘Inviting other Admins
    • ๐Ÿš…Bulk Upload Users
    • ๐Ÿ“–Export as CSV
    • ๐Ÿ’ตBulk Payouts
    • ๐Ÿ’ธSupport for fiat payments
    • ๐Ÿ—ผTiered Rewards
    • ๐ŸŽฐReferee Requirements
      • Smart Contract Events
      • API Events
      • API Points
    • ๐ŸงชChecking your program before launch
  • Use Cases
    • ๐ŸŽจFor NFT Collections
    • ๐ŸงบFor NFT Marketplaces
    • ๐ŸŽฎFor Gaming
    • ๐Ÿ’ฑFor DeFi Protocols
    • ๐Ÿ’ธFor DEXs
    • ๐Ÿ—ž๏ธFor Newsletters
  • Case Studies
    • ๐ŸŽจNFT Mints
    • ๐Ÿ’ฑDeFi Protocols
Powered by GitBook
On this page
  1. Fundamentals

Support for fiat payments

ShareMint supports for fiat payments via our API.

To use this feature visit the Admin page of your project. In the section you can get an API access key. This key is secret and allows you to add payments made in fiat.

The API endpoint to add a fiat payment is:

POST https://sharemint.xyz/api/external/save-payment

With data:

slug: string
apiSecret: string
invitedById: string
value: string
quantity?: string
address?: string
email?: string

slug is the ShareMint project slug.

apiSecret can be found on the project's Admin page.

invitedById is the referral code of the user that referred this payment.

value is the amount paid in US Dollars.

quantity is the quantity of items purchased. Optional and defaults to 1.

address is the purchaser's crypto wallet address.

email is the purchaser's email address.

One of address or email is required.

PreviousBulk PayoutsNextTiered Rewards

Last updated 1 year ago

๐Ÿ’ธ