Documentation
Test environmentLive environmentStatusContact us
  • Overview
    • Get started
    • Resource guides
      • For business users
      • For finance teams
      • For integration teams
    • Stripe onboarding
    • Live use cases
      • Usage overview
  • Start using the dashboard
    • Access
    • Payment services
    • Collaborators and access control
    • One-time payment links
      • Single link creation
      • Bulk link creation
      • Send payment links
      • Payment link page
      • Payment receipt email
    • Subscriptions
      • Set-up
      • View subscriptions
      • Manage subscriptions
    • Payments and refunds
      • Payment methods
      • Dashboard
      • Refunds
    • Payouts
    • Reports
    • Payment workflows with Plumber
      • Set-up
      • Testing
    • Payment forms
      • Set-up
      • Testing
      • Resources
  • Start an API integration
    • Get started
    • Endpoints
    • Integrating with your e-services
    • Errors
    • Idempotency
    • Pagination
    • Go-live checklist
  • API RESOURCES
    • Events
      • The event object
      • Types of events
    • Payments
      • Create a payment
      • Retrieve payments
      • Send email for payment
      • Cancel a payment
      • Refund a payment
      • Get all payments from payment service
  • WEBHOOKS
    • Introduction
    • Set-up
      • Events
      • Best practices
  • FAQ
    • Access
    • Costs
    • Timeline
    • API keys
    • API integration
    • Payments
    • Payment methods
    • Payouts and transaction fees
    • Refunds
    • Security and compliance
    • Downtime and maintenance
  • Policies
    • Privacy Policy
    • Terms of Use
Powered by GitBook
On this page

Was this helpful?

  1. Start an API integration

Endpoints

PreviousGet startedNextIntegrating with your e-services

Last updated 2 months ago

Was this helpful?

Expected inputs and sample responses for each endpoint can be found .

All testing should be done on test mode only. Test mode base URL:

Live mode base URL:

The paymentServiceID for your created payment service can be found as highlighted below. Please note that you will need to include the payment_service prefix.

Method
Path
Purpose

GET

/v1/payment-services/{paymentServiceId}/payments/{paymentId}

Fetches the payment with the given ID.

GET

/v1/payment-services/{paymentServiceId}/payments

Lists the payments for the given payment service.

POST

/v1/payment-services/{paymentServiceId}/payments

Creates a new payment.

POST

/v1/payment-services/{paymentServiceId}/payments/{paymentId}/cancel

Cancels the payment with the given ID. Only unpaid payments can be cancelled.

POST

/v1/payment-services/{paymentServiceId}/payments/{paymentId}/send-email

Emails the payment with the given ID to the payer through their email.

here
https://api-staging.pay.gov.sg
https://api.pay.gov.sg