One-click login and checkout via Apple Pay
Watch a video
One Click Apple Pay Checkout eliminates almost all friction for customers willing to buy crypto as seamlessly as possible using Apple Pay. Customers will not be required to enter the email or any other customer or payment data.
After initiating the purchase via Paybis Onramp customers are instantly directed to the payment page where they can finish the payment in 1 click. This functionality is particularly useful for non-custodial solutions but can become a killer feature for any other partner out there.
*customer verification from a certain amount spent can be applied
Prerequisites
Partner application has the capabilities and interfaces to collect and pass to Paybis the following user data: crypto wallet address, crypto amount, preferred fiat currency.
User flow steps
- The user opts to purchase a specific amount of cryptocurrency within the partner's app via Apple Pay.
- Paybis On Ramp is initiated.
- User lands on the Apple Pay checkout page and triggers Apple Pay.
- User provides their email, and first and last names on the Apple Pay form and authorizes the payment using Touch ID or Face ID.
- User confirms the email address in widget by entering OTP.
- After authenticating the user, Paybis charges the funds from the user's credit card.
- After processing the payment, Paybis initiates the cryptocurrency payout to the user's wallet.
- User gets a crypto payout and lands on the transaction completed page.
Integration flow steps
- Partner calls the Buy Crypto Currency Pairs API.
- Paybis returns the list of supported fiat-to-crypto currency pairs for all available payment methods.
- Supported currency pairs for
{partnerName}-credit-card
payment methods are displayed in the partnerβs app. - The user selects the crypto wallet they want to top up and sets the amount.
- Partner calls the POST Quote endpoint with the
paymentMethod={partnerName}-credit-card
. - Paybis returns the ID of the quote and calculated amounts for the
{partnerName}-credit-card
payment method. - Partner calls the POST Request endpoint with the following parameters:
partnerUserId
- this parameter must be unique per Request/Transaction (recommended) or per user. Note that if you use the same partnerUserId for all requests associated with a specific user, the email address confirmed during registration will always be used for authentication in the widget, and the user won't be able to change the email over time.quoteId
- id retrieved in Step 6cryptoWalletAddress
- recipient's wallet address to which the crypto will be sent after successful paymentlocale
paymentMethod={partnerName}-credit-card
- Paybis returns the
requestId
. Note that the uniquerequestId
should be generated for each new transaction. - Partner generates widget URL with the
requestId
retrieved in Step 8 andindexPage=applePay
as query parameters. Optional query parameters can also be added. Refer to the details here.
- Sandbox environment: https://sandbox.widget.paybis.com/?requestId={requestId}&indexPage=applePay
- Production environment: https://widget.paybis.com/?requestId={requestId}&indexPage=applePay
- Open the generated URL with a unique
requestId
in the in-app browser or WebView. - The user lands on the Payment page with the quotation amounts and Apple Pay button. The user clicks the button to trigger Apple Pay.
- The user provides their email, and first and last name on the Apple Pay form and authorizes the payment using Touch ID or Face ID.
- Paybis fetches the userβs email address from Apple.
- Paybis sends the OTP to this email address.
- User is asked to enter the OTP to verify their email address and get authenticated in the Paybis widget. If the provided email address is incorrect, the user can enter another one in the Paybis widget and verify it.
- Upon successful user authentication, the transaction is created on Paybis end and the Transaction Started Webhook notification is sent to the Partner.
- Paybis processes the payment using Apple Pay token data.
- Paybis defines whether KYC is needed to complete the transaction. If the no-KYC limit is reached and the user is not verified, then the user is asked to complete verification in the widget.
- Paybis sends crypto to the recipientβs wallet.
- The user can see that the payout has started on the respective screen.
- Paybis completes the payout and sends the Transaction Completed Webhook to the partner. The user is redirected to the transaction status screen with a link to the transaction on the blockchain.
Updated 5 months ago