Repository navigation
Release 5.7.0 (#472)
This release adds comprehensive support for Cash App Pay and enhanced customer information to the Payment Setups API, including updates to the API documentation and integration tests. The main changes include detailed JSDoc documentation for the new fields, support for customer device and identification fields, and new integration tests to ensure these features work as expected.
Cash App Pay and Customer Support Enhancements:
- Expanded the JSDoc documentation in
payment-setups.jsto describe the newpayment_methods.cashappobject, including its request and response fields, and the newcustomerobject fields (device, id, country, tax_number, etc.). This covers all endpoints: create, update, get, and confirm. [1] [2] [3] [4] - Standardized documentation for existing fields by replacing dashes with colons for consistency (e.g.,
billing_descriptor: ...). [1] [2] [3]
Integration Tests:
- Added new integration tests in
payment-setups-it.jsto verify that customer device fields, customer identifiers, and Cash App Pay payment methods are correctly handled and echoed by the API. These tests also check the correct handling of the Cash App Pay initialization and status fields.
These changes ensure that the Payment Setups API now fully supports Cash App Pay and richer customer data, with clear documentation and robust test coverage.