Main actors: Unlimint UI SDK, Merchant backend, Unlimint API
Goal: Get mobile token for further payments
Trigger: Request was sent to get mobile token
Precondition:
- Merchant has credentials: terminal_code and password
- Unlimint API authentication is imbedded in Merchant backend
Postcondition: Merchant has had mobile token
- Some process with payment was started in merchant application on Android device
- Merchant backend sends request to api/mobile/token to obtaining mobile token using basic authentication to Unlimint API.
- Unlimint API returns mobile token
- Merchant backend provides mobile token to Merchant Host App
- Merchant Host App stores mobile token
- Some process with payment was started in merchant application on Android device
- Merchant backend sends request to api/mobile/token to obtaining mobile token using basic authentication to Unlimint API.
- Unlimint API return error
Main actors: User, Unlimint UI SDK, Merchant backend, Unlimint API
Goal: Get card token for futher payments
Trigger: Request was sent to get mobile token
Precondition:
- Merchant has credentials: terminal_code and password
- Merchant implements get payment endpoint in backend or callback scheme is implemented
- Merchant has mobile token
Postcondition: Merchant has card token for further payments
- User initiates card data entry
- Merchant Host Application call function bindNewCardForResult(). Type of binding data must be set 'RECURRING' for recurrent payments or 'PAYMENT' for payments with card token
- Unlimint UI SDK shows form for entering card data
- User enters card dats
- Unlimint UI SDK sends Card binding request
- Unlimint returns Authentication URL and payment Id
- Unlimint UI SDK shows authentication page for user
- User passes authentication successfully
- Unlimint UI SDK shows result page. If Merchant wants to use own success page, then parameter showStatusScreen must be false.
- Unlimint creates and reverses payment with minimum amount
- Merchant backend sends GET request to api/payments/{transactionId}.
- Unlimint API returns a card token in case of successful payment
- Merchant backend provides card data to Merchant Host application
- Merchant Host application saves a card token for future using
- User initiates card data entry
- Merchant Host Application call function bindNewCardForResult(). Type of binding data must be set 'RECURRING' for recurrent payments or 'PAYMENT' for payments with card token
- Unlimint UI SDK shows form for entering card data
- User enters card dats
- Unlimint UI SDK sends Card binding request
- Unlimint returns Authentication URL and payment Id
- Unlimint UI SDK shows authentication page for user
- User does not pass authentication successfully
- Result page with Decline is showed
- Card token is not created
Main actors: User, Unlimint UI SDK, Merchant backend, Unlimint API
Goal: Get card token for futher payments
Trigger: Request was sent to get mobile token
Precondition:
- Merchant has credentials: terminal_code and password
- Merchant implements get payment endpoint in backend or callback scheme is implemented
- Merchant has mobile token
Postcondition: Merchant has card token for further payments
Interaction steps:
- User initiates card payment
- Merchant Host Application call function paymentForResult()
- Unlimint UI SDK shows form for entering security code
- User enters security code
- Unlimint UI SDK sends payment request
- Unlimint returns Authentication URL and payment Id
- Unlimint UI SDK shows authentication page for user
- User passes authentication successfully
- Unlimint UI SDK shows result page. If Merchant wants to use own success page, then parameter showStatusScreen must be false.
- Merchant backend sends GET request to api/payments/{transactionId}.
- Unlimint API returns a card token in case of successful payment
- Merchant backend have to send PATCH request /api/payments/{payment_id} to complete two-phase payment
- User initiates card payment
- Merchant Host Application call function paymentForResult()
- Unlimint UI SDK shows form for entering security code
- User enters security code
- Unlimint UI SDK sends payment request
- Unlimint returns Authentication URL and payment Id
- Unlimint UI SDK shows authentication page for user
- User does not pass authentication successfully
- Result page with Decline is showed
Main actors: User, Unlimint Swift UI SDK, Merchant backend, Unlimint API
Goal: Get card token for further payments
Trigger: Request was sent to get mobile token
Precondition:
- Merchant has credentials: terminal_code and password
- Merchant implements get payment endpoint in backend or callback scheme is implemented
- Merchant has mobile token
- COF payments are available for Merchant in Unlimint system
Postcondition:
- Scheduled by Unlimint (SA): subscription is created.
- Scheduled by Merchant (SA): filing id is sent by Unlimint
- User initiates card payment
- Merchant Host Application call function recurringForResult()
- Unlimint UI SDK shows form for entering security code or full card data depending on request.
- User enters card data
- Unlimint UI SDK sends COF payment request. Merchant can choose SM or SA scheduled payments are used
- Unlimint returns Authentication URL and payment Id
- Unlimint UI SDK shows authentication page for user
- User passes authentication successfully
- Unlimint UI SDK shows result page. If Merchant wants to use own success page, then parameter skipStatusPages must be true.
- Merchant backend sends GET request to api/payments/{transactionId}.
- Unlimint API returns a status of payment, filing.is that can be used in next SM payments, subscription.id that can be used for managing of subscription in case of SA payments.
- User initiates card payment
- Merchant Host Application call function recurringForResult()
- Unlimint UI SDK shows form for entering security code or full card data depending on request.
- User enters card data
- Unlimint UI SDK sends COF payment request. Merchant can choose SM or SA scheduled payments are used
- Unlimint returns Authentication URL and payment Id
- Unlimint UI SDK shows authentication page for user
- User does not pass authentication successfully
- Result page with Decline is showed


