{"id":20294191,"url":"https://github.com/grab/grabpay-merchant-sdk","last_synced_at":"2025-04-11T11:42:40.664Z","repository":{"id":44757336,"uuid":"511440520","full_name":"grab/grabpay-merchant-sdk","owner":"grab","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-07T09:30:30.000Z","size":457,"stargazers_count":14,"open_issues_count":0,"forks_count":5,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-25T08:03:13.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grab.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":"2022-07-07T08:13:12.000Z","updated_at":"2025-01-09T03:10:46.000Z","dependencies_parsed_at":"2023-01-18T14:00:33.540Z","dependency_job_id":null,"html_url":"https://github.com/grab/grabpay-merchant-sdk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grab%2Fgrabpay-merchant-sdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grab%2Fgrabpay-merchant-sdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grab%2Fgrabpay-merchant-sdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grab%2Fgrabpay-merchant-sdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grab","download_url":"https://codeload.github.com/grab/grabpay-merchant-sdk/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248385864,"owners_count":21094963,"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","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":[],"created_at":"2024-11-14T15:28:11.102Z","updated_at":"2025-04-11T11:42:40.644Z","avatar_url":"https://github.com/grab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GrabPay Merchant Integration SDK\n\n[Documentations](https://developer.grab.com/docs/) | [Developer Portal](https://developer.grab.com/)\n\nThe GrabPay Merchant Integration SDK provides the adapters written in Go, PHP, Node.js, Python, Java and .NET, which can be used to integrate payment functionality with GrabPay APIs.\n\nThe official document for GrabPay:\n\n- [One-Time Charge (OTC)](https://developer.grab.com/docs/paysi-agent-partner-v2-otc/)\n- [Point of Sale (POS)](https://developer.grab.com/docs/paysi-partner/)\n\n## Supported Functionality\n\nFor each function, we support merchant to generate headers, which include: authorization, date, SDK version, country. We also help to correct path, http method, parameters in request to GrabPay backend.\n\nThe SDK supports 2 types of payment:\n\n### One-Time Charge (OTC)\n\n| Function             | Description                                               |\n| :------------------- | :-------------------------------------------------------- |\n| `onaChargeInit`      | To init new transaction                                   |\n| `onaCreateWebUrl`    | To generate web URL from API charge init                  |\n| `onaOAuth2Token`     | To get the access_token for using later                   |\n| `onaChargeComplete`  | To complete transaction                                   |\n| `onaGetChargeStatus` | To get status of the transaction, which already completed |\n| `onaRefund`          | To refund the amount of a specific success transaction    |\n| `onaGetRefundStatus` | To check the status of the refund transaction             |\n| `onaGetOTCStatus`    | To get the OAuthCode after user's payment success on IOS  |\n\n### Point of Sale (POS)\n\n| Function              | Description                                            |\n| :-------------------- | :----------------------------------------------------- |\n| `posCreateQRCode`     | To create new QR code                                  |\n| `posPerformQRCode`    | To support payment from customer's QR code             |\n| `posCancel`           | To cancel transaction, do not pay                      |\n| `posRefund`           | To refund the amount of a specific success transaction |\n| `posGetTxnDetails`    | To check the status of the specific transaction        |\n| `posGetRefundDetails` | To check the status of the refund transaction          |\n\n## Usage\n\nThe SDK is provided in several programming languages. You can read more about each SDK package for the programming language of your interest at:\n\n- [Go](Go/README.md)\n- [PHP](Php/README.md)\n- [Node](Node/README.md)\n- [Python 3](Python/README.md)\n- [Java](Java/README.md)\n- [Net](Net/README.md)\n\n## License\n\n© 2022 GrabTaxi Holdings Pte Ltd. All rights reserved.\nAny use of such assets are governed by the API Terms and Conditions (available at [Grab Developer](https://developer.grab.com/pages/terms-of-use)).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrab%2Fgrabpay-merchant-sdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrab%2Fgrabpay-merchant-sdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrab%2Fgrabpay-merchant-sdk/lists"}