Class SatimEndpoints

java.lang.Object
com.akraml.satim.http.SatimEndpoints

public final class SatimEndpoints extends Object
A static class providing HTTP endpoints to access SATIM API.

These endpoints are used by SatimHttpClient implementations to construct full URLs for API requests.

The Satim API provides both production and test (sandbox) environments. The appropriate base URL is selected based on the client configuration.

  • Field Details

    • TEST_BASE_URL

      public static final String TEST_BASE_URL
      See Also:
    • PRODUCTION_BASE_URL

      public static final String PRODUCTION_BASE_URL
      See Also:
    • REGISTER

      public static final String REGISTER
      Endpoint for registering a new payment order.

      Method: POST

      Response: JSON containing orderId and formUrl

      See Also:
    • REGISTER_PRE_AUTH

      public static final String REGISTER_PRE_AUTH
      Endpoint for registering a pre-authorized payment.

      Method: POST

      Response: JSON containing orderId and formUrl

      See Also:
    • CONFIRM

      public static final String CONFIRM
      Endpoint for confirming/completing a payment.

      Method: POST

      Response: JSON containing order status and transaction details

      See Also:
    • GET_ORDER_STATUS

      public static final String GET_ORDER_STATUS
      Endpoint for retrieving basic payment status.

      Method: POST

      Response: JSON containing order status

      See Also:
    • GET_ORDER_STATUS_EXTENDED

      public static final String GET_ORDER_STATUS_EXTENDED
      Endpoint for retrieving extended payment status with full details.

      Method: POST

      Response: JSON containing extended order information

      See Also:
    • REFUND

      public static final String REFUND
      Endpoint for refunding a deposited payment.

      Method: POST

      Response: JSON containing refund result

      See Also:
    • REVERSE

      public static final String REVERSE
      Endpoint for reversing/canceling a payment before deposit.

      Method: POST

      Response: JSON containing reversal result

      See Also:
    • DEPOSIT

      public static final String DEPOSIT
      Endpoint for depositing a pre-authorized payment.

      Method: POST

      Response: JSON containing deposit result

      See Also: