Routestripe
MainKnowledge Base
Support CentreAPI reference
MainKnowledge Base
Support CentreAPI reference
  1. Configuring Payment Methods
  • RouteStripe Knowledge Base
  • User Profile
    • Authorization
      • Sign Up
      • Log in
      • Reset password
      • Log Out
  • Company Profile
    • General
    • Settings
    • API and Webhooks
    • Calculation history
    • Billing info
      • Billing info
      • Link a payment card
      • First payment
      • Plan Upgrade
      • Plan Downgrade
      • Cancel subscription
    • Configuring Payment Methods
      • Payment Methods
      • Integration with “Terminal” app
  • Directories
    • Team
      • Team management
    • Warehouses
      • Create Warehouse
      • Edit Warehouse
      • Remove Warehouse
    • Vehicle
      • Create Vehicle
      • Edit Vehicle
      • Remove Vehicle
    • Courier
      • Create Courier
      • Edit Courier
      • Remove Courier
      • Courier Mobile App
  1. Configuring Payment Methods

Payment Methods

English
Українська

Payment Setup#

This section explains how to accept payments during delivery. It covers the company settings, the visit settings, and the courier screens.
Setup order: 1. Turn on the payment methods in the company settings. 2. Mark the visits that need payment. 3. The courier takes the payment in the courier interface.

Step 1. Turn on the payment methods#

Go to Company > Settings and find the Payment methods section.
image.png
Select the payment methods that couriers can use:
OptionWhat it means
CardThe courier can record a card payment.
CashThe courier can record a cash payment.
Close without paymentThe courier can complete the visit without payment.
Changes are saved automatically.
This section turns on the payment flow only. To accept card payments through the PrivatBank "Terminal" app (Ukraine only), you must also set up the integration in the Payment Methods section. See Integration with "Terminal" app.

Step 2. Mark the visits that need payment#

You can set payment for each visit during planning. Open the visit in Planning and fill in the fields in Operational Details.
image.png
FieldDescription
Payment statusNo need means no payment. Need means the visit needs payment.
Payment amountThe amount to pay. Enter a number of 1 or more. This field appears after you select Need.
Payment typeThe payment method for this visit. This field appears after you select Need.
Options for Payment type:
Card - the courier can accept card payment only.
Cash - the courier can accept cash only.
Any type - the courier chooses the method: Card, Cash, or Close without payment. Only the methods that you turned on in the company settings are available.
💡
After you enter the amount, click another field. This saves the value.
Visits with payment have a $ icon in the route.

Step 3. Take payment in the courier interface#

The courier works in the Tracking tab. The screens below show the phone layout.
1
Open the route and start it
Open the route in Upcoming routes. Visits with payment have a $ icon. Tap START ROUTE and confirm.
2
Open the visit and tap Done
The visit card has the buttons Navigate, Failed, Done, More info, and arrows to move between visits.
3
Choose who received the delivery
Select how the delivery was confirmed, for example Delivered to recipient or Delivered to third party. The list of options depends on the company settings. If the visit has no payment, it is completed right away.
4
Take the payment
The Payment screen opens with the amount. What you see depends on the Payment type of the visit (see below).
5
Tap Done
After payment, the Successful payment screen shows the amount and the method. Tap Done.
6
Finish the route
When all visits are done, tap Finish Route and confirm. You cannot finish the route while there are unserved visits.

Payment screen by type#

Card
The courier sees the amount and the Card payment received button. Tap it when the customer has paid. The Close without payment link completes the visit without payment.
Cash
The courier sees the amount and the Cash received button. Tap it when you have received the cash.
Any type
The courier selects Card, Cash, or Close without payment and taps Confirm. Then the screen for the selected method opens. To change the method, tap Other payment method.

Close a visit without payment#

Select Close without payment. The system asks you to confirm.

If a method is turned off in the settings#

The courier sees only the methods that are turned on in Settings > Payment methods. In this example, Close without payment is turned off.

Payments in the API#

You can create a visit with payment through the API. Add three optional fields to the visit. For the full request, see Store visit.
FieldTypeValuesDescription
payment_statusinteger0, 1, 20 - no payment needed (default). 1 - payment needed. 2 - paid. In requests, use only 0 or 1. RouteStripe sets 2 when the payment is completed.
payment_amountnumberfrom 1.00, or nullThe amount to pay, with 2 decimal places. null, empty, or 0 means the amount is not set.
payment_typestringcard, cash, any, nullcard - by card. cash - by cash. any - the courier chooses on site, from the methods turned on in the company settings. null or empty means the type is not set.
Example of the payment fields in a visit:
{
  "payment_status": 1,
  "payment_amount": 150.5,
  "payment_type": "card"
}
You cannot change the payment fields of a paid visit.
To get updates when the payment is completed, set up a webhook and subscribe to the visit.payment.changed event. The visit has these payment fields: payment_status, payment_amount, payment_type, payment_receipt_url, payment_paid_at.
Store visit
API and Webhooks
Webhooks: real-time updates
Integration with "Terminal" app
Previous
Cancel subscription
Next
Integration with “Terminal” app
Built with