# sequra/3.1.1/src/Services/Payment/interface-payment-service.php

seQura, version 3.1.1. 48 lines.

- Page: https://pluginprobe.com/plugins/sequra/3.1.1/code/src/Services/Payment/interface-payment-service.php
- Raw: https://pluginprobe.com/plugins/sequra/3.1.1/raw/src/Services/Payment/interface-payment-service.php
- Modified: 2024-10-29T15:19:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/sequra/3.1.1/code/src/Services/Payment/interface-payment-service.php#L10-L20`.

```php
<?php
/**
 * Payment service interface
 *
 * @package    SeQura/WC
 * @subpackage SeQura/WC/Services
 */

namespace SeQura\WC\Services\Payment;

/**
 * Handle use cases related to payments
 */
interface Interface_Payment_Service {

	/**
	 * Get payment gateway ID
	 * 
	 * @return string
	 */
	public function get_payment_gateway_id(): string;

	/**
	 * Get current merchant ID
	 */
	public function get_merchant_id(): ?string;

	/**
	 * Sign the string using HASH_ALGO and merchant's password
	 */
	public function sign( string $message ): string;

	/**
	 * Get IPN webhook identifier
	 */
	public function get_ipn_webhook(): string;

	/**
	 * Get return URL webhook identifier
	 */
	public function get_return_webhook(): string;

	/**
	 * Get event webhook identifier
	 */
	public function get_event_webhook(): string;
}

```
