For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
GuidesAPI Reference
GuidesAPI Reference
    • Welcome
  • Product Overview
    • How Cash App Pay Works
    • Cash App Pay on Desktop and POS Devices
    • Cash App Pay on Mobile Devices
  • Partnerships
    • Partner with Cash App Pay
    • Partner Onboarding Requirements
    • Merchant Use Policy
    • Program Rules
  • Technical Guides
    • Cash App Pay Integration Basics
  • Resources
    • Cash App Pay Assets
    • Glossary of Terms
    • Cash App Pay Status
  • Pay Kit SDK
      • Getting Started
      • UI Components
      • Advanced Operations
LogoLogo
On this page
  • Existing customer requests
  • Update an existing customer request
Pay Kit SDKPay Kit Android

Pay Kit Android: Advanced Operations

Was this page helpful?
Previous
Built with

See Getting Started with the Pay Kit Android SDK first to get set up.

Existing customer requests

When you use createCustomerRequest, the system returns a CustomerResponseData object. This object contains the Request ID.

If required, you can save this ID to retrieve the request at a later time.

For existing customer requests, start the SDK by calling startWithExistingCustomerRequest and pass the Request ID.

1cashAppPay.startWithExistingCustomerRequest(customerRequestID)
  • You must call this function only when you start on a new SDK instance.
  • You must register for state updates before calling this function.

Update an existing customer request

Update an existing customer request by calling updateCustomerRequest and passing in the Request ID and a new CashAppPayPaymentAction object.

1fun updateCustomerRequest(
2 requestId: String,
3 paymentAction: CashAppPayPaymentAction,
4)

Use this function only after you’ve already started the SDK with a customer request.