MOTO payments
MOTO (Mail Order / Telephone Order) is a way to take a card payment when the cardholder is not present - for example, an order placed over the phone or by mail. The operator keys the card details (number, expiry, and security code) into the terminal instead of the customer tapping or inserting a card.
How it works
There is no separate MOTO request and no MOTO flag to send. A MOTO payment is created as a normal SALE payment request. The operator selects manual (MOTO) card entry on the terminal and keys the card details taken over the phone or by mail. MOTO is surfaced back through the payment's progress status and its completion metadata - not through anything set on the request.
The flow:
- The ePOS creates a normal
SALEpayment request. - The operator selects MOTO / manual entry on the terminal and enters the card details.
- While the form is open, the terminal reports the progress status
MOTO_FORM_SHOWN. - The terminal submits the transaction as card-not-present (MOTO).
- The payment completes on the standard
SALElifecycle, with MOTO markers in the completion metadata.
Create the payment
A MOTO payment uses the same create a payment request call as any card payment, with transaction_type set to SALE. There is nothing MOTO-specific in the request - the choice to key card details is made by the operator on the terminal.
POST /poslink/v3/payment-requests HTTP/1.1
Content-Type: application/json
Authorization: Bearer <ACCESS_TOKEN>
Idempotency-Key: 9f1c2e7a-3b4d-4e5f-8a9b-0c1d2e3f4a5b
Host: api.teya.com
{
"store_id": "eac4d470-4731-45b2-af6b-c828f03c1f9d",
"terminal_id": "70dc65ba-1c13-492a-82a0-15821e5f63ba",
"requested_amount": {
"amount": 1500,
"currency": "GBP",
"tip": 0
},
"transaction_type": "SALE",
"merchant_reference": "ORDER_123"
}
Follow the payment and detect MOTO
Follow the live status on the V3 retrieve endpoint, the same way as any payment (see Send a payment request):
GET /poslink/v3/payment-requests/{payment-request-id} HTTP/1.1
Accept: text/event-stream
Authorization: Bearer <ACCESS_TOKEN>
Host: api.teya.com
While the payment is in progress, a progress_status of MOTO_FORM_SHOWN means the operator is entering card details.
When the payment completes, the response metadata shows that the card details were keyed in manually:
"metadata": {
"payment_method_details": {
"entry_mode": "KEYED",
"verification_method": "NONE",
"card": { "last4": "4242", "brand": "VISA", "type": "CREDIT" },
"authorisation_code": "A8RLR8",
"response_code": "00"
}
}
An entry_mode of KEYED (with verification_method of NONE) is the definitive marker that a completed payment was taken as MOTO / manual entry.
Availability
MOTO support is delivered by the terminal. Until a terminal supports it, the MOTO_FORM_SHOWN progress status stays dormant. Confirm the minimum terminal app version with Teya before going live.
As with all payment statuses, the progress_status and status_reason handling should tolerate new or unrecognised values, so the integration keeps working as new states are introduced.