Request payment


Request a payment. The user would like to initate a request for payment by another user. This could be e.g. a merchant asking another user to pay for goods or services.

Applications can use startActivityForResult() to launch this request to get information about the state of the payment request.


public void startRequestPayment(int amount) {
    Intent intent = new Intent("org.openintents.action.REQUEST_PAYMENT"); 
    intent.putExtra("org.openintents.extra.AMOUNT", amount); // int
    if (intent.resolveActivity(getPackageManager()) != null) { 
      startActivityForResult(intent, REQUEST_CODE);

protected void onActivityResult(int requestCode, int resultCode, Intent data) {
    if (requestCode == REQUEST_CODE && resultCode == RESULT_OK) { 
      String state = data.getStringExtra(org.openintents.extra.STATE);
      // handle result

Example intent filter

<activity ...>
        <action android:name="org.openintents.action.REQUEST_PAYMENT" />
        <category android:name="android.intent.category.DEFAULT" />

Apps Providing an Implementation

Search on Github

Search on Google Play, AppBrain, Amazon App store or similar (not yet available - please make this happen!)

For Specification Writers

Edit on Github