Payment mode frontend

Retrieving all the payment modes

get

Retrieves a list of configured payment modes for a given tenant with publicly available properties (excluding all secrets, signatures etc). The endpoint should be used by a frontend application to fetch all the possible payment methods configured for a particular tenant. No scope is required.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed for reading payment modes by a tenant employee.
  • : Needed to manage payment modes by a tenant employee.
  • : Needed to perform a payment authorization flow by a tenant employee.
  • : Needed to perform a payment capture flow by a tenant employee.
  • : Needed to perform a payment refund flow by a tenant employee.
  • : Needed to perform a payment cancel flow by a tenant employee.
  • : Needed to read all transaction details by a tenant employee.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
Responses
200

Payment modes configured in the payment-gateway service for a given tenant that returns only properties publicly available.

application/json
get
/payment-gateway/{tenant}/paymentmodes/frontend

Retrieving a single payment mode

get

Retrieves a single payment mode for a given tenant with publicly available properties (excluding all secrets, signatures etc). The endpoint should be used by a frontend application to fetch a payment method configuration for a particular tenant. No scope is required.

Authorizations
OAuth2clientCredentialsRequired
Token URL:
Available scopes:
  • : Needed for reading payment modes by a tenant employee.
  • : Needed to manage payment modes by a tenant employee.
  • : Needed to perform a payment authorization flow by a tenant employee.
  • : Needed to perform a payment capture flow by a tenant employee.
  • : Needed to perform a payment refund flow by a tenant employee.
  • : Needed to perform a payment cancel flow by a tenant employee.
  • : Needed to read all transaction details by a tenant employee.
Path parameters
tenantstring · min: 3 · max: 16Required

Your Emporix tenant's name. Note: The tenant name should always be written in lowercase.

Pattern: ^[a-z][a-z0-9]+$
idstringRequired

Unique identifier of a payment mode.

Responses
200

Payment modes configured in the payment-gateway service for a given tenant that returns only properties publicly available.

application/json
get
/payment-gateway/{tenant}/paymentmodes/frontend/{id}

Last updated

Was this helpful?