Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ Invoked when the terminal finishes processing the transaction.

`MoToSale`

Mail Order /Telephone Order (MOTO) sale. MOTO is a type of card-not-present (CNP) transaction in which services are paid and delivered via telephone, mail, fax, or internet communication. MOTO has become synonymous with any financial transaction where the entity taking payment does not physically see the card used to make the purchase.
Mail Order /Telephone Order (MOTO) sale. MOTO is a type of card-not-present (CNP) transaction in which services are paid and delivered via telephone, mail, fax, or internet communication. MOTO has become synonymous with any financial transaction where the entity taking payment does not physically see the card used to make the purchase. This operation now supports the use of a **cardToken** via MoToOptions for secure, card-less transactions.


**Parameters**
Expand Down Expand Up @@ -423,6 +423,19 @@ api.motoSale(new BigInteger("1000"), Currency.USD, moToOptions);

```

**Code Example 2**

```java
// Initiate a MoTo sale using a cardToken
MoToOptions options = new MoToOptions();
options.setCardToken("your-stored-card-token");
options.setChannel(MoToChannel.TO);

api.motoSale(new BigInteger("1000"), Currency.EUR, options);

```


**Events invoked**

[**currentTransactionStatus**](androideventlisteners.md#14)
Expand Down Expand Up @@ -510,6 +523,8 @@ A MOTO reversal, also called VOID allows the user to reverse a previous sale/ref
| Parameter | Notes |
| ----------- | ----------- |
| `originalTransactionId` <span class="badge badge--primary">Required</span> <br />*String* | Id of the original sale transaction.|
| `amount` <br />*String* | (Optional) The amount to reverse from the original transaction. (Required for partial reversals). Check with Integration Support if your acquirer supports Partial Reversals|
| `currency` <br />*String* | (Optional) The currency of the original transaction. (Required for partial reversals)|
| `options` <br />[*MoToOptions*](androidobjects.md#moto-options) | An object to store optional parameters for a MoTo reversal.|

**Code example**
Expand All @@ -519,6 +534,12 @@ MoToOptions options = new MoToOptions();
options.setCustomerReference("MoTo Reversal Example");

api.motoReversal("00000000-0000-0000-0000-000000000000",options);

// Simple MoTo reversal
api.motoReversal("00000000-0000-0000-0000-000000000000");

// MoTo reversal with explicit amount and currency
api.motoReversal("1000", "EUR", "00000000-0000-0000-0000-000000000000");
```
**Events invoked**

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,10 @@ All request and response payloads are defined in the corresponding [Moto objects

### /moto/sale

:::warning
MotoSale with cardToken is not available for all Token Providers. Contact your Handpoint relationship manager to find out if this feature is supported for your Token Provider.
:::

`MotoSale`

`POST /moto/sale` is used to perform a **MOTO sale without a payment reader**, using a **card token** (`cardToken`)
Expand Down