# PaySG

## What is PaySG?

PaySG is a self-service and free-of-charge service designed specifically for public sector organisations to accept online payments. With PaySG, there are no monthly fees, setup charges, or cumbersome procurement processes to navigate. It empowers teams to swiftly replace existing payment methods with a secure, accessible, and fully compliant user experience hosted on the PaySG platform.&#x20;

{% hint style="info" %}
For more information on setting up a PaySG account, refer to PaySG's [documentation](https://guide.pay.gov.sg/overview/introduction).
{% endhint %}

## Getting started

1. Upon choosing any of the payment options below, you will be required to connect to PaySG.

<figure><img src="https://2212031742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXyVsBiX9OwOL1o9g5hLM%2Fuploads%2Fgr8z3FQw4Ncvnj6T9pby%2Fimage.png?alt=media&#x26;token=fc2d5836-11ba-4859-ab61-ae1273aba0ff" alt=""><figcaption></figcaption></figure>

2. Under "Label", give a name you like for the connection. This is just for your own identification purpose.
3. Under "Payment Service ID", you may refer to the example below.

This is the string right after `services` in your payment service's URL. For example:

* If the URL is `http://pay.gov.sg/admin/services/`**`payment_service_1534d338-8dca-4c1a-84f3-895b7fe96d81`**`/payments`
* The Payment Service ID is `payment_service_1534d338-8dca-4c1a-84f3-895b7fe96d81.`

4. Under "API key"**,** enter the API key provided to you by the PaySG team.
5. Click "Connect" once you're done.

<figure><img src="https://2212031742-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXyVsBiX9OwOL1o9g5hLM%2Fuploads%2FNb0JlE3wvV1LrPV4Vk4g%2Fimage.png?alt=media&#x26;token=0266d0b5-8238-4044-a56c-94c0f56dc5c4" alt=""><figcaption></figcaption></figure>

## PaySG options

<table><thead><tr><th width="137.540771484375">Feature</th><th width="135.7664794921875">Description</th><th>How to use</th></tr></thead><tbody><tr><td>Create payment</td><td>Create a new PaySG payment</td><td><p></p><ol><li>Select <strong>PaySG > Create payment</strong></li><li>Select a PaySG connection</li><li>Choose an existing connection</li><li>Click <strong>Add step</strong></li><li><p>Complete the following required fields:</p><ol><li><strong>Reference ID</strong></li><li><strong>Payer Name</strong></li><li><strong>Description</strong></li><li><strong>Payment amount (in cents)</strong></li></ol></li></ol><p>Refer to PaySG's <a href="https://guide.pay.gov.sg/api-resources/payments/create-a-payment">documentation</a> if you need additional guidance.</p><ol start="6"><li>Complete any optional fields if needed</li><li>Click <strong>Check step</strong> to verify that the payment is created</li></ol></td></tr><tr><td>Get payment</td><td>Get details of a payment that has previously been created</td><td><p></p><ol><li>Select <strong>PaySG > Get payment</strong></li><li>Select a PaySG connection</li><li>Click <strong>Add step</strong></li><li>Enter the <strong>Payment ID</strong></li><li>Click <strong>Check step</strong> to verify that the details of the corresponding payment are retrieved</li></ol></td></tr><tr><td>Send payment email</td><td>Send email to payee for a payment that has previously been created</td><td>Refer to PaySG's <a href="https://guide.pay.gov.sg/start-using-the-dashboard/payment-workflows-with-plumber/set-up#sending-emails">documentation</a> for a demo on setting up payment emails.</td></tr><tr><td>Create payment form submission for one-time payment</td><td>Create a new submission for a payment form, and initiate a one-time payment</td><td>Refer to PaySG's <a href="https://guide.pay.gov.sg/start-using-the-dashboard/payment-forms/set-up">documentation</a> for a demo on how to create a payment form submission for one-time payment.</td></tr><tr><td>Create payment form submission for subscription</td><td>Create a new submission for a payment form, and initiate a subscription</td><td>Refer to PaySG's <a href="https://guide.pay.gov.sg/start-using-the-dashboard/payment-forms/set-up">documentation</a> for a demo on how to create a payment form submission for subscription.</td></tr></tbody></table>

## FAQ

<details>

<summary>Do I need a Stripe account to use PaySG?</summary>

Yes, you will need to create a Stripe account. Refer to PaySG’s [documentation](https://guide.pay.gov.sg/overview/stripe-onboarding) for instructions on how to onboard to Stripe.

</details>
