# Cash App Pay

> Accept one-time USD payments with Cash App Pay through Checkout and confirm the result on your server.

## Basic information

The customer selects Cash App Pay in Checkout and approves the payment in Cash App.

- Integration path: [Checkout](/payments/versions/v2/online-payments/checkout)
- Transaction type: One-time payment
- `lpmsInfo.lpmsType`: `CASH_APP`

| Customer country/region | Order currency |
| --- | --- |
| 🇺🇸 US | USD |

The customer country/region is the `billingInformation.country` value in the payment request.

This guide applies to merchants and applications enabled for this flow.

## Before you begin

Complete [Setup](/payments/versions/v2/get-started/setup) and confirm that your merchant and application are enabled for this payment flow. Confirm your transaction limits, payment expiry, settlement arrangements, and test procedure with Onerway. Follow [Currency and amount validation](/payments/versions/v2/get-started/currency-and-amount) for USD order amounts.

Supply actual customer and product information according to the API requirements, including the customer’s email and billing country `US`. Configure your return page and notification endpoint, and store the mapping between your order and the Onerway payment identifiers.

## Start the payment through Checkout

1. On your server, call [Create Checkout Payment](/payments/versions/v2/api-reference/endpoints/create-checkout-payment) with `productType=ALL`, `subProductType=DIRECT`, `txnType=SALE`, `paymentMode=WEB`, and `orderCurrency=USD`. To show only Cash App Pay, set [`lpmsInfo.lpmsType`](/payments/versions/v2/api-reference/endpoints/create-checkout-payment#request-lpmsInfo) to `CASH_APP`, sending `lpmsInfo` as a JSON string. If you omit `lpmsInfo`, the customer chooses from the methods available for the order.
2. Supply the customer and product details, notification URL, and return URL required by the API. Encode `billingInformation`, `shippingInformation`, and `txnOrderMsg` as JSON strings. Keep product and order currencies consistent and ensure the product amounts, discounts, and shipping charges total `orderAmount`.<br />Select the request example “Unified Checkout with all available payment methods”. Replace the placeholders with your order and customer data, use USD, and remove `cardInfo` for this flow. Add this method's `lpmsInfo` if you want to show only Cash App Pay. The example shows the shared Checkout request structure.
3. Select the response example “Unified Checkout session created”. Store the returned `paymentId` and `transactionId` against your order, then redirect the customer's browser to `redirectUrl`. The initial `status=U` means the payment is unpaid.
4. The customer selects or confirms Cash App Pay in Checkout. Checkout handles the subsequent payment page. If the method is absent, contact Onerway to check application enablement and order conditions.

See [Checkout integration](/payments/versions/v2/online-payments/checkout) for request authentication and return-page handling. Before creating the payment, you can use [List available payment methods](/payments/versions/v2/api-reference/endpoints/list-available-payment-methods) to check availability for the current order.

## Customer actions and final result

The customer needs Cash App. The payment page may open the app on a mobile device or show a QR code to scan with Cash App on another device. Follow the instructions for the device in use and approve the payment in the app.

See [Cash App Pay’s instructions](https://developers.cash.app/docs/partner/product-documentation/how-cash-app-pay-works) for customer guidance; follow the options offered on the payment page.

Returning to your website does not confirm payment success. Process the signature-verified [Payment Result notification](/payments/versions/v2/api-reference/webhooks/payment-result) on your server. If the notification is missing or you need to check the result, call [Query payments](/payments/versions/v2/api-reference/endpoints/query-payments) with the saved `paymentId`. See [Webhooks](/payments/versions/v2/get-started/webhooks) for verification, acknowledgement, idempotency, and query fallback.

Fulfil the order only after your server confirms payment success. If the customer cancels or leaves payment incomplete, check the existing payment before creating a replacement.

## Refunds and disputes

Confirm the refund capabilities, partial-refund support, request deadlines, and dispute process enabled for your account with Onerway. If refunds are enabled, follow [Refunds](/payments/versions/v2/online-payments/scenarios/refunds) and track the refund result separately.

## Testing and go-live

Agree the test environment and customer approval procedure with Onerway, then follow [Sandbox testing](/payments/versions/v2/get-started/testing).

1. Create a USD order with the required customer and product details. Verify that the returned URL opens Checkout and Cash App Pay is available.
2. Select the method, check the displayed amount, and complete the agreed customer actions. Retain the notification and acknowledgement for the same order, then query the payment and check that the results agree.
3. Test cancellation, incomplete payment, and returning before the final result. Confirm that a return alone never marks the order paid, duplicate notifications are handled idempotently, and missing notifications can be reconciled by querying the payment.
4. Before launch, verify production enablement, notification and return URLs, USD order support, limits, and expiry. Test refunds separately if enabled.
