DEVELOPER

Payanywhere Android SDK Specification

Version 1.7.2.0

Payanywhere Android SDK

Refund

post /refund

This function processes a refund for a transaction that has been settled. Credit card and cash sales can be refunded. Credit sale unique IDs start with "ccs_". Cash sale unique IDs start with "cas_".

Request

To refund a transaction, add the following code:

Response

To receive the activity result:

Parameters
transactionUniqueId required
string

Loading...

receiptId required
string

Loading...

refundAmount required
string

Loading...

receiptScreen
boolean

Loading...

signOnPaper
boolean

Loading...

showSignatureScreen
boolean
Example:
true

Loading...

Void

post /void

This function processes a void for a transaction that has not been settled. Credit card sales can be voided but cash sales cannot. Credit sale unique IDs start with "ccs_". If the application tries to send a void request to the SDK for a cash sale, an error message will be thrown. Cash sale unique IDs start with "cas_".

Request

To void a transaction, add the following code:

Response

To receive the activity result:

Parameters
transactionUniqueId required
string

Loading...

receiptId required
string

Loading...

receiptScreen
boolean

Loading...

signOnPaper
boolean

Loading...

showSignatureScreen
boolean
Example:
true

Loading...

©2025 North is a registered DBA of NorthAB, LLC. All rights reserved. North is a registered ISO of BMO Harris Bank N.A., Chicago, IL, Citizens Bank N.A., Providence, RI, The Bancorp Bank, Philadelphia, PA, FFB Bank, Fresno, CA, Wells Fargo Bank, N.A., Concord, CA, and PNC Bank, N.A.