{"id":26579653,"url":"https://github.com/culturekings/afterpay","last_synced_at":"2025-10-24T13:02:46.942Z","repository":{"id":56168500,"uuid":"66226970","full_name":"culturekings/afterpay","owner":"culturekings","description":"PHP Afterpay Integration exposing the Merchant and InStore APIs - Unsupported since April 2021","archived":false,"fork":false,"pushed_at":"2023-01-02T04:10:37.000Z","size":259,"stargazers_count":10,"open_issues_count":5,"forks_count":19,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-10-24T13:02:43.603Z","etag":null,"topics":["afterpay","payments","php"],"latest_commit_sha":null,"homepage":"https://culturekings.github.io/afterpay/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/culturekings.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-22T00:15:31.000Z","updated_at":"2025-08-25T16:35:09.000Z","dependencies_parsed_at":"2023-02-01T01:46:11.456Z","dependency_job_id":null,"html_url":"https://github.com/culturekings/afterpay","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/culturekings/afterpay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culturekings%2Fafterpay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culturekings%2Fafterpay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culturekings%2Fafterpay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culturekings%2Fafterpay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/culturekings","download_url":"https://codeload.github.com/culturekings/afterpay/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/culturekings%2Fafterpay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280799422,"owners_count":26393089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-24T02:00:06.418Z","response_time":73,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["afterpay","payments","php"],"created_at":"2025-03-23T06:18:25.594Z","updated_at":"2025-10-24T13:02:46.908Z","avatar_url":"https://github.com/culturekings.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Afterpay API](https://culturekings.github.io/afterpay/)\n=======================\n\nPHP library to interface with the [Afterpay API](http://docs.afterpay.com.au/)\n\n[![Coverage Status](https://coveralls.io/repos/github/culturekings/afterpay/badge.svg)](https://coveralls.io/github/culturekings/afterpay)\n[![CircleCI](https://img.shields.io/circleci/project/culturekings/afterpay.svg?style=svg)](https://circleci.com/gh/culturekings/afterpay)\n[![Scrutinizer](https://scrutinizer-ci.com/g/culturekings/afterpay/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/culturekings/afterpay/)\n[![SensioLabsInsight](https://img.shields.io/sensiolabs/i/b9b910ea-dc47-4459-a7b1-ff9da76edebd.svg)](https://insight.sensiolabs.com/projects/b9b910ea-dc47-4459-a7b1-ff9da76edebd)\n\n## Installation\n\nThe recommended way to install is via [Composer](http://getcomposer.org).\n\n\n```bash\ncomposer require culturekings/afterpay\n```\n\nDon't forget to include Composer's auto-loader if you haven't already:\n\n```php\nrequire 'vendor/autoload.php';\n```\n\n## Merchant API\n[API Documentation](docs/merchant/api.md)\n\n## InStore API\n[API Documentation](docs/instore/api.md)\n\n## Known Afterpay Issues\n\n1. Passing in a Money value with more than 2 decimal places will result in an error from Afterpay saying 'The request contains improperly formated JSON'. [Issues #33](https://github.com/culturekings/afterpay/issues/33) outlines this problem. \nThis library will not provide rounding or manipulation of values as it's is the responsability of the project to provide accurate values. Thanks @rudolfl for the report.\n\n\n## Special Thanks\n\n[JMS Serializer](https://github.com/schmittjoh/serializer)\n\n[Guzzle](https://github.com/guzzle/guzzle)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fculturekings%2Fafterpay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fculturekings%2Fafterpay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fculturekings%2Fafterpay/lists"}