{"repo":"sumup/sumup-ios-url-scheme","free":true,"listed":false,"github":"https://github.com/sumup/sumup-ios-url-scheme","clone":"git clone https://github.com/sumup/sumup-ios-url-scheme.git","description":"URL scheme documentation and sample app for iOS","language":"Objective-C","stars":22,"topics":["ios","payments","sumup"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"SumUp iOS URL Scheme [![Documentation][docs-badge]](https://developer.sumup.com) This repository documents the lightweight SumUp app-switch integration for iOS. It lets your app hand off a payment request to the SumUp merchant app through a custom URL scheme and receive the result through your own callback URL. Use it when you want to: - start a SumUp card-present payment from a native iOS app - keep the integration surface very small - receive the payment result back through your own URL scheme The sample app in this repository can be used as a reference implementation for the integration contract. If you want to accept payments fully inside your app, use the SumUp iOS SDK instead. Getting Started 1. Create a SumUp account. 2. Generate an affiliate key in me.sumup.com/developers. 3. Register a callback URL scheme for your app in CFBundleURLTypes . 4. Add sumupmerchant to LSApplicationQueriesSchemes so canOpenURL(\"sumupmerchant://\") works. 5. Use a unique foreign-tx-id whenever possible for reconciliation and idempotency. URL Contract The compatibility contract for existing integrators is the launch URL sumupmerchant://pay/1.0 and the query parameter and callback parameter names documented below. Mandatory Query Parameters Key Comment ----------------- :----------------------------------------------------------------------------------------------------------------------------------------------- amount The amount to charge. Use . as the decimal separator. currency ISO 4217 cur","default_branch":null,"files":null,"tree":[],"storefront":"/r/sumup","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sumup/sumup-ios-url-scheme/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}