# Peru

### Country specifications

<table><thead><tr><th align="center">country code</th><th align="center">currency code</th><th width="137.60546875" align="center">amount decimals</th><th>document name</th><th width="149.94921875">document format</th><th align="center">document required?</th></tr></thead><tbody><tr><td align="center"><code>PE</code></td><td align="center"><code>PEN</code> and <code>USD</code></td><td align="center">2</td><td>CE and CPP</td><td>Numeric.<br>Length 9.</td><td align="center">Yes</td></tr></tbody></table>

### Card features

<table><thead><tr><th data-type="checkbox">Card-on-file</th><th width="129.93359375" data-type="checkbox">Subscriptions</th><th width="129.515625" data-type="checkbox">3DS</th><th width="130.22265625" data-type="checkbox">Installments</th><th width="205.6328125" data-type="checkbox">Authorization and Capture</th></tr></thead><tbody><tr><td>false</td><td>false</td><td>true</td><td>false</td><td>false</td></tr></tbody></table>

***

### Brands available

{% hint style="success" %}

### `payment_method` code `CC`

As the payers will be capable to input any card in the displayed checkout form ,the OneShot and Fragments all-in-one solution, we recommend using the payment method code **`CC`**  in the API requests, which is a generic code.

After the payment is attempted, merchants will be capable to know with which card the user paid.
{% endhint %}

<table><thead><tr><th width="95.140625" align="center">Logo</th><th width="160.26171875" align="center">payment_method</th><th width="188.76171875">Name</th></tr></thead><tbody><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/VI.svg" alt="" data-size="original"></td><td align="center"><code>VI</code></td><td>Visa</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/VD.svg" alt="" data-size="original"></td><td align="center"><code>VD</code></td><td>Visa Debit ​</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/MC.svg" alt="" data-size="original"></td><td align="center"><code>MC</code></td><td>Mastercard</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/MD.svg" alt="" data-size="original"></td><td align="center"><code>MD</code></td><td>Mastercard Debit ​</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/AE.svg" alt="" data-size="original"></td><td align="center"><code>AE</code></td><td>American Express</td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/DC.svg" alt="" data-size="original"></td><td align="center"><code>DC</code></td><td>Diners Club</td></tr></tbody></table>

***

### Alternative Payment Methods available

<table><thead><tr><th width="95.125" align="center">Logo</th><th width="160" align="center">payment_method</th><th width="188.59765625">Name</th><th width="175.5625" align="center">payment_type</th><th>Flows<select multiple><option value="MlxRo3RqkuE7" label="Embbeded" color="blue"></option><option value="5krIwkKCYq2Q" label="Redirect" color="blue"></option></select></th></tr></thead><tbody><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/XA.svg" alt="" data-size="original"></td><td align="center"><code>XA</code></td><td>Tupay</td><td align="center"><code>VOUCHER</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="/files/Mq9ujTcPI02LxiK8CnXU" alt="" data-size="original"></td><td align="center"><code>XAQR</code></td><td>Tupay QR</td><td align="center"><code>VOUCHER</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="/files/M3z7Jz8ZcAyKQBevINrc" alt="" data-size="original"></td><td align="center"><code>XABT</code></td><td>Tupay Bank Transfers</td><td align="center"><code>VOUCHER</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="/files/nh1kM7zzY2L9nXEa2Fod" alt="" data-size="original"></td><td align="center"><code>XACC</code></td><td>Credit Cards by Tupay</td><td align="center"><code>VOUCHER</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/EF.svg" alt="" data-size="original"></td><td align="center"><code>EF</code></td><td>Pago Efectivo</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="/files/3jfnhFWEfjBUEesxvBtw" alt="" data-size="original"></td><td align="center"><code>YP</code></td><td>Yape</td><td align="center"><code>WALLET</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/IB.svg" alt="" data-size="original"></td><td align="center"><code>IB</code></td><td>Interbank</td><td align="center"><code>BANK_DEPOSIT</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/BC.svg" alt="" data-size="original"></td><td align="center"><code>BC</code></td><td>BCP</td><td align="center"><code>BANK_DEPOSIT</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/ST.svg" alt="" data-size="original"><a href="https://resources.directa24.com/cashin/payment_method/square/ST.svg"><img src="https://resources.directa24.com/cashin/payment_method/square/ST.svg" alt="" data-size="line"></a></td><td align="center"><code>ST</code></td><td>Scotia</td><td align="center"><code>BANK_DEPOSIT</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"> <img src="https://resources.directa24.com/cashin/payment_method/square/BAB.svg" alt="" data-size="original"></td><td align="center"><code>BAB</code></td><td>Banbif</td><td align="center"><code>BANK_DEPOSIT</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"> <img src="https://resources.directa24.com/cashin/payment_method/square/RY.svg" alt="" data-size="original"></td><td align="center"><code>RY</code></td><td>Banco Ripley</td><td align="center"><code>BANK_DEPOSIT</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/NAG.svg" alt="" data-size="original"></td><td align="center"><code>NAG</code></td><td>Niubiz Agents Payment</td><td align="center"><code>VOUCHER</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/RDP.svg" alt="" data-size="original"><img src="https://resources.directa24.com/cashin/payment_method/square/RDP.svg" alt="" data-size="line"></td><td align="center"><code>RDP</code></td><td>Red Digital</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><a href="https://resources.directa24.com/cashin/payment_method/square/WU.svg"><img src="https://resources.directa24.com/cashin/payment_method/square/WU.svg" alt="" data-size="line"></a><img src="https://resources.directa24.com/cashin/payment_method/square/WU.svg" alt=""></td><td align="center"><code>WU</code></td><td>Western Union</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/BP.svg" alt="" data-size="original"></td><td align="center"><code>BP</code></td><td>BBVA</td><td align="center"><code>BANK_DEPOSIT</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="/files/-MOIFHTPuX5vGhzRfeFs" alt="" data-size="original"></td><td align="center"><code>KE</code></td><td>Kasnet</td><td align="center"><code>VOUCHER</code></td><td><span data-option="MlxRo3RqkuE7">Embbeded, </span><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="/files/-MihQsINrvDjm1yQIrnP" alt="" data-size="original"> </td><td align="center"><code>TM</code></td><td>Tambo</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/HC.svg" alt="" data-size="original"></td><td align="center"><code>HC</code></td><td>Caja Huancayo</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><a href="https://resources.directa24.com/cashin/payment_method/square/US.svg"><img src="https://resources.directa24.com/cashin/payment_method/square/US.svg" alt="" data-size="line"></a><img src="https://resources.directa24.com/cashin/payment_method/square/US.svg" alt="" data-size="original"></td><td align="center"><code>US</code></td><td>Caja Cusco</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/JA.svg" alt="" data-size="original"></td><td align="center"><code>JA</code></td><td>Caja Arequipa</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/JI.svg" alt="" data-size="original"></td><td align="center"><code>JI</code></td><td>Caja ICA</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/JP.svg" alt="" data-size="original"></td><td align="center"><code>JP</code></td><td>Caja Piura</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr><tr><td align="center"><img src="https://resources.directa24.com/cashin/payment_method/square/JT.svg" alt="" data-size="original"></td><td align="center"><code>JT</code></td><td>Caja Tacna</td><td align="center"><code>VOUCHER</code></td><td><span data-option="5krIwkKCYq2Q">Redirect</span></td></tr></tbody></table>

#### Fields required for the [OneShot](/guides/deposits/solutions/oneshot.md) solution <a href="#fields-required-for-the-oneshot-experience" id="fields-required-for-the-oneshot-experience"></a>

<table data-header-hidden><thead><tr><th width="230.625">Payment Method Name</th><th width="99.52734375" align="center">country</th><th width="109.91796875" align="center">amount</th><th width="109.78515625" align="center">payer[]</th><th width="150.27734375" align="center">payment_method</th></tr></thead><tbody><tr><td><strong>Payment method name</strong></td><td align="center"><strong><code>country</code></strong></td><td align="center"><strong><code>amount</code></strong></td><td align="center"><strong><code>payer[]</code></strong></td><td align="center"><strong><code>payment_method</code></strong></td></tr><tr><td>All</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td></tr></tbody></table>

#### `payer[]` object requirements <a href="#payer-object-requirements" id="payer-object-requirements"></a>

<table data-header-hidden><thead><tr><th width="230.6015625">Payment Method Name</th><th width="100.12109375" align="center">document</th><th align="center">email</th><th align="center">first_name</th><th align="center">last_name</th></tr></thead><tbody><tr><td><strong>Payment method name</strong></td><td align="center"><strong><code>document</code></strong></td><td align="center"><strong><code>email</code></strong></td><td align="center"><strong><code>first_name</code></strong></td><td align="center"><strong><code>last_name</code></strong></td></tr><tr><td>All</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td><td align="center">Yes</td></tr></tbody></table>

{% hint style="success" %}
Other fields not in these lists are optional.
{% endhint %}

{% hint style="info" %}

### If any of the required fields are missing the `HOSTED` flow will be triggered

In that case you will receive the `HOSTED` value in the `checkout_type` parameter.\
You will have to redirect the user to the `redirect_url`
{% endhint %}

### <img src="https://resources.directa24.com/cashin/payment_method/square/XA.svg" alt="" data-size="line"> Tupay methods description

Tupay is peruvian payment solution that allow users to pay with their all their preffered local solutions, within a single checkout.

Merchants can opt to use the payment methods contained within Tupay as standalone by itself, different payment methods include:

<table data-header-hidden><thead><tr><th width="126.2265625" align="center"></th><th width="77.421875" align="center"></th><th></th><th data-hidden data-type="files"></th></tr></thead><tbody><tr><td align="center"><strong>Tupay voucher</strong></td><td align="center"><strong><code>XA</code></strong></td><td>The payment method Tupay, includes all the payment methods available via this channel, including digital wallets, bank transfers, credit cards, and cash methods.<br><br>The customer can choose whatever method they want to complete the transaction.</td><td><a href="/files/biQjtnaSVi4nZ3DDEyi1">/files/biQjtnaSVi4nZ3DDEyi1</a></td></tr><tr><td align="center"><strong>Tupay QR</strong></td><td align="center"><strong><code>XAQR</code></strong></td><td>This payment method includes both Yape and Plin, which are the most used digital wallets in Peru, together with other smaller digital wallets. The QR code within can be used to pay with any of these digital wallets.<br></td><td><a href="/files/ThAcNkU3gCgyyRaURYTd">/files/ThAcNkU3gCgyyRaURYTd</a></td></tr><tr><td align="center"><strong>Tupay Bank Transfers</strong></td><td align="center"><strong><code>XABT</code></strong></td><td>Tupay Bank Transfers lets the final customer utilize whatever bank that they have, in order to make a bank transfer as a payment.</td><td></td></tr><tr><td align="center"><strong>Tupay Credit Cards</strong></td><td align="center"><strong><code>XACC</code></strong></td><td>This allows customers to pay with a credit card, Visa or MasterCard. Also, it can include debit cards.</td><td></td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pandablue.com/guides/deposits/payment-methods/america/peru.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
