Managing payment gateway configurations

This REST API is used to set up payment gateway configurations.

List of resources

  • GET /paymentgateway/user/signature

    Retrieves the setup intent code that can be used to initialize UI to get card details in STRIPE payment gateway.

  • GET /paymentgateway/user/card

    Retrieves the card details from payment gateway.

  • POST /paymentgateway/user/card

    Allows you save the unique object ID of a card.

  • GET /paymentgateway/test

    Allows you to the check a payment gateway connection using a secret key.

  • POST /user/{userid}/info

    Retrieves the payment gateway details of the given user Id.

Sample cURL Command

curl --location --request GET 'developer_portal_rest_base/paymentgateway/user/signature' \
--header 'Accept: text/plain'

The paymentgateway.yaml file is located at SAGInstallDir\DeveloperPortal\developers\openapis.

curl --location 'http://localhost:18101/portal/rest/v1/paymentgateway/user/signature' \

--header 'Accept: text/plain'