Get payment configuration by name

Returns the full record for a single payment configuration on an app, identified by its configuration name.

Request parameters

Path parameters

KeyDescriptionValuesData TypeRequired/Optional
appIdIdentifier of the WhatsApp app the call acts on.6f414190-d45c-4671-bca1-fb6c3018cb13StringRequired
configurationNameName of the payment configuration.test-payment-configurationStringRequired

Sample cURL — Get payment configuration by name.

curl --request GET \
  --url 'https://partner.gupshup.io/partner/bizgate/app/6f414190-d45c-4671-bca1-fb6c3018cb13/payment/configuration/test-payment-configuration' \
  --header 'Authorization: Bearer <UT>' \
  --header 'Accept: application/json'

Sample success response (200)

{
  "status": "success",
  "data": {
    "data": [
      {
        "configuration_name": "test-payment-configuration",
        "merchant_category_code": {
          "code": "0000",
          "description": "Test MCC Code"
        },
        "purpose_code": {
          "code": "00",
          "description": "Test Purpose Code"
        },
        "status": "Active",
        "provider_mid": "test-payment-gateway-mid",
        "provider_name": "RazorPay",
        "created_timestamp": 1720203204,
        "updated_timestamp": 1721088316
      }
    ]
  }
}
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Identifier of the WhatsApp app the call acts on.

string
required

Name of the payment configuration.

Responses

Language
Credentials
Bearer
Universal Token (UT)
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json