groward ## Sections • [Payment and Payout API](https://app.theneo.io/um/groward/payment-and-payout-api.md): API for handling payment and payout orders. Swagger Link to swagger documentation – click here Signature building Concatenate the raw request body and the request URL path. Note: For signing Get details of payment order request the body will be empty. Perform the HMAC-SHA512 operation on the resulting string. Concatenate the raw request body and the request URL path. Note: For signing Get details of payment order request the body will be empty. Perform the HMAC-SHA512 operation on the resulting string. Examples Java import org.apache.commons.codec.digest.HmacAlgorithms; import org.apache.commons.codec.digest.HmacUtils; String secretKey = "secret-key"; String data = """ { "orderId": "9797807f-d4de-4e86-9a7d-49a7d2c67139", "amount": "100.00", "currency": "USD", "methodCode": "VISA_P2P", "payload": { "successUrl": "https://test.com?result=success", "errorUrl": "https://test.com?result=error", "cancelUrl": "https://test.com?result=cancel" } } """; String hash = new HmacUtils(HmacAlgorithms.HMAC_SHA_512, secretKey).hmacHex(data + "/api/v1/payment-order/create"); Callback Service can send information about orders in callbacks, service must verify the signature attached to the request to ensure its authenticity. The signature verification logic is identical to the logic used in building requests for order creation. Status model Payments status model After DECLINE service can send callback with SUCCEESS status. After SUCCEESS service can send callback with REFUND / CHARGEBACK status. Title Description Title Description Status Description Is terminal Callback NEW The client is redirected to the payment page false no PROCESSING The client confirmed the payment false no DECLINE Unsuccessful payment false yes CANCEL Canceled payment for to timeout. Only from NEW status false yes SUCCESS Successful payment false yes REFUND Refunded payment true optional CHARGEBACK Payment disputed true optional Payouts status model Only REFUND and DECLINE are terminal for payouts After SUCCEESS service can send callback with REFUND status. Title Description Title Description Status Description Is terminal Callback PROCESSING The client confirmed the payout false no DECLINE Unsuccessful payout true yes SUCCESS Successful payout false yes REFUND Refunded payout true optional Possible Error codes Error codes and messages that may appear on transactions with statuses DECLINE and CANCEL Title Description Error code Error message ORDER_REQUEST_TIMEOUT orderRequest timeout exceed SOMETHING_WENT_WRONG Something went wrong. Please try again later TRANSACTION_ID_ALREADY_EXISTS Transaction ID already exists Error mapping Title Description Code Http status code Description NOT_FOUND Not found (404) Requested resource not found AUTH_FAILED Unauthorized (401) Wrong request signature VALIDATION_FAILED Bad request (400) Wrong request body INTERNAL_ERROR Internal Server Error (500) Server problem • [Create payment order](https://app.theneo.io/um/groward/payments/create-payment-order.md): This section describes creating a new payment order within the system. By providing details such as order ID, amount, currency, and payment method, merchants can initiate the process for a successful payment transaction. Additionally, the redirect URLs can be specified for different payment results, enhancing the overall user experience. Endpoint is used to create a new payment order in the system. • [Bangladesh](https://app.theneo.io/um/groward/payments/create-payment-order/bangladesh.md): This section describes creating a new payment order for Bkash, Nagad, Rocket, Upay methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Nepal](https://app.theneo.io/um/groward/payments/create-payment-order/nepal.md): This section describes creating a new payment order for Khalti, Esewa, Imepay, Cellpay, Mypay, Connect IPS, Moru methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Sri Lanka](https://app.theneo.io/um/groward/payments/create-payment-order/sri-lanka.md): This section describes creating a new payment order for Ipay, Hattan National Bank ( including a lite version ), Commercial Bank ( including a lite version ), Upay, LOLC Finance, Dialog Finance, Sampath Vishwa, NDB Neospay, Nations Trust Bank, Lanka QR methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [India](https://app.theneo.io/um/groward/payments/create-payment-order/india.md): This section describes creating a new payment order for UPI, PhonePe, Gpay, IMPS, PayTM, UPI QR methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Pakistan](https://app.theneo.io/um/groward/payments/create-payment-order/pakistan.md): This section describes creating a new payment order for EasyPaisa, EasyPaisaQR, EasyPaisa API, JazzCash, JazzCash QR, JazzCash API, Bank Transfer, SadaPay, NayaPay, Upaisa, Raast QR, Raast intent methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Egypt](https://app.theneo.io/um/groward/payments/create-payment-order/egypt.md): This section describes creating a new payment order for Etisalat Cash ( including a lite version ), Vodafone Cash ( including a lite version ), Orange Money ( including a lite version ), Instapay, Instapay QR, Fawry, Axis methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Morocco](https://app.theneo.io/um/groward/payments/create-payment-order/morocco.md): This section describes creating a new payment order for CIH Bank ( including a lite version ) , Attijari Bank, Al Barid Bank, Bank of Africa ( including a lite version ), Cash Plus ( including a lite version ) , CFG Bank, Dabapay, WePay, Jibi, Orange Money , Societe Generale methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Tunisia](https://app.theneo.io/um/groward/payments/create-payment-order/tunisia.md): This section describes creating a new payment order for BIAT, Flouci, D17 methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Tanzania](https://app.theneo.io/um/groward/payments/create-payment-order/tanzania.md): This section describes creating a new payment order for HaloPesa, M-PESA Vodacom, Airtel, Tigo methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Kenya](https://app.theneo.io/um/groward/payments/create-payment-order/kenya.md): This section describes creating a new payment order for M-PESA, Airtel methods within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [China](https://app.theneo.io/um/groward/payments/create-payment-order/china.md): This section describes creating a new payment order for Alipay method within the system. By providing details from the customer such as payment amount, you receive a URL to redirect the customer to the payment page to enter the necessary payment details. This way, merchants can initiate the process of a successful payment transaction. • [Callback](https://app.theneo.io/um/groward/payments/callback.md): Service can notify about order status changing. For valid integration source system must verify callback signature. This endpoint needs to be implemented on the system side. Service must verify callback signature for security If source system send response with different http-code or another body, service will resend callback after timeout. • [Get details of payment order](https://app.theneo.io/um/groward/payments/get-details-of-payment-order.md): This section allows users to retrieve detailed information about a specific payment order by providing the order ID. Users can access data such as the order status, amount, and currency associated with the specified order. Endpoint retrieves detailed information about a specific order. It requires the order ID as a path parameter to identify and return the data related to that particular order. • [Create payment order](https://app.theneo.io/um/groward/payments-h2h/create-payment-order.md): This section describes creating a new payment order within the system. By providing details such as order ID, amount, currency, and payment method, merchants can initiate the process for a successful payment transaction. Additionally, the redirect URLs can be specified for different payment results, enhancing the overall user experience. Endpoint is used to create a new payment order in the system. • [Bangladesh](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/bangladesh.md): This section describes creating a new payment order for Bkash, Nagad, Rocket, Upay methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Nepal](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/nepal.md): This section describes creating a new payment order for Khalti, Esewa, Imepay, Cellpay, Mypay, Connect IPS, Moru methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Sri Lanka](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/sri-lanka.md): This section describes creating a new payment order for Ipay, Hattan National Bank ( only a lite version ), Commercial Bank ( only a lite version ), LOLC Finance, Dialog Finance, Lanka QR methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [India](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/india.md): This section describes creating a new payment order for UPI, UPI QR ( look at the examples response ) , PhonePe, PayTM, Gpay, IMPS methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Pakistan](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/pakistan.md): This section describes creating a new payment order for EasyPaisa, EasyPaisa QR, EasyPaisa API, JazzCash, JazzCash QR, JazzCash API, NayaPay, Upaisa, Raast QR, Raast intent methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Egypt](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/egypt.md): This section describes creating a new payment order for Etisalat Cash ( including a lite version ), Vodafone Cash ( including a lite version ), Orange Cash ( including a lite version ), Instapay, Instapay QR, Fawry, Axis methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Morocco](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/morocco.md): This section describes creating a new payment order for CIH Bank ( including a lite version ) , Attijari Bank, Bank of Africa ( only a lite version ), Cash Plus ( including a lite version ) , CFG Bank, Dabapay, WePay, Jibi, Orange Money , Societe Generale methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Tunisia](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/tunisia.md): This section describes creating a new payment order for BIAT, Flouci, D17 methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Tanzania](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/tanzania.md): This section describes creating a new payment order for HaloPesa, M-PESA Vodacom, Airtel, Tigo methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Kenya](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/kenya.md): This section describes creating a new payment order for M-PESA, Airtel methods within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [China](https://app.theneo.io/um/groward/payments-h2h/create-payment-order/china.md): This section describes creating a new payment order for Alipay method within the system in the host2host flow By providing data from the customer, such as the payment amount, you receive payment details and/or a list of fields to display on the merchant's website. The fields values are sent with the following request /process • [Confirm payment order](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order.md): This section describes the confirmation of the payment order within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Banladesh](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/bangladesh.md): This section describes the confirmation of the payment order f or Bkash, Nagad, Rocket, Upay methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Nepal](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/nepal.md): This section describes the confirmation of the payment order f or Khalti, Esewa, Imepay, Cellpay, Mypay, Connect IPS, Moru methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Sri Lanka](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/sri-lanka.md): This section describes the confirmation of the payment order f or Ipay, LOLC Finance, Dialog Finance methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [India](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/india.md): This section describes the confirmation of the payment order f or UPI, PhonePe, PayTM, Gpay, IMPS methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Pakistan](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/pakistan.md): This section describes the confirmation of the payment order f or EasyPaisa, EasyPaisa API, JazzCash, JazzCash API, Nayapay, Upaisa, Raast intent methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Egypt](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/egypt.md): This section describes the confirmation of the payment order f or Etisalat Cash, Vodafone Cash, Orange Money, Instapay, Instapay QR, Fawry, Axis methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Morocco](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/morocco.md): This section describes the confirmation of the payment order f or CIH Bank, Attijari Bank, Bank of Africa, Cash Plus, CFG Bank, Dabapay, WePay, Jibi, Orange Money , Societe Generale methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Tunisia](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/tunisia.md): This section describes the confirmation of the payment order f or BIAT, Flouci, D17 methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Tanzania](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/tanzania.md): This section describes the confirmation of the payment order f or HaloPesa, M-PESA Vodacom, Airtel, Tigo methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Kenya](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/kenya.md): This section describes the confirmation of the payment order f or M-PESA, Airtel methods within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [China](https://app.theneo.io/um/groward/payments-h2h/confirm-payment-order/china.md): This section describes the confirmation of the payment order f or Alipay method within the system in the host2host flow. By sending the required values from the client you initiate the process of successful payment. • [Create payout order](https://app.theneo.io/um/groward/payouts/create-payout-order.md): This section allows users to create a new payout order within the system. By utilizing this functionality, users can initiate payment transactions and specify various parameters such as amount, currency, and redirect URLs for successful or failed payments. This action facilitates the smooth processing of payouts and redirects users appropriately based on payment outcomes. Endpoint is used to create a new order in the system. • [Bangladesh](https://app.theneo.io/um/groward/payouts/create-payout-order/bangladesh.md): This section describes how to create a new payment order for withdrawal of funds for Bkash, Nagad, Rocket, Upay methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Nepal](https://app.theneo.io/um/groward/payouts/create-payout-order/nepal.md): This section describes how to create a new payment order for withdrawal of funds for Esewa, Khalti, Imepay, Cellpay, Mypay, Connect IPS, Moru methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Sri Lanka](https://app.theneo.io/um/groward/payouts/create-payout-order/sri-lanka.md): This section describes how to create a new payment order for withdrawal of funds for Ipay, Upay, Bank Transfer methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [India](https://app.theneo.io/um/groward/payouts/create-payout-order/india.md): This section describes how to create a new payment order for withdrawal of funds for UPI, IMPS methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Pakistan](https://app.theneo.io/um/groward/payouts/create-payout-order/pakistan.md): This section describes how to create a new payment order for withdrawal of funds for EasyPaisa, JazzCash, Bank Transfer, NayaPay, Upaisa methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Egypt](https://app.theneo.io/um/groward/payouts/create-payout-order/egypt.md): This section describes how to create a new payment order for withdrawal of funds for Vodafone Cash, Etisalat Cash, Orange Cash, Instapay, Fawry, Axis methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Morocco](https://app.theneo.io/um/groward/payouts/create-payout-order/morocco.md): This section describes how to create a new payment order for withdrawal of funds for Bank Transfer, Cash Plus, Dabapay, WePay, Jibi, Orange Money methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Tunisia](https://app.theneo.io/um/groward/payouts/create-payout-order/tunisia.md): This section describes how to create a new payment order for withdrawal of funds for BIAT, Flouci, D17 methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Tanzania](https://app.theneo.io/um/groward/payouts/create-payout-order/tanzania.md): This section describes how to create a new payment order for withdrawal of funds for HaloPesa, M-PESA Vodacom, Airtel, Tigo methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Kenya](https://app.theneo.io/um/groward/payouts/create-payout-order/kenya.md): This section describes how to create a new payment order for withdrawal of funds for M-PESA, Airtel methods in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [China](https://app.theneo.io/um/groward/payouts/create-payout-order/china.md): This section describes how to create a new payment order for withdrawal of funds for Alipay method in the system. By providing payment details from the customer (described below for each method separately), you immediately create a payment order. That is, the client remains on your side, waiting for the funds to be received on the specified details. This way, merchants can initiate the process of a successful payment transaction. • [Callback](https://app.theneo.io/um/groward/payouts/callback.md): Service can notify about order status changing. For valid integration source system must verify callback signature. This endpoint needs to be implemented on the system side. Service must verify callback signature for security If source system send response with different http-code or another body, service will resend callback after timeout. • [Get details of payout order](https://app.theneo.io/um/groward/payouts/get-details-of-payout-order.md): This section enables users to retrieve detailed information about a specific payout order using the order ID as a parameter. By accessing key details such as the order status, amount, and currency, users can efficiently process and track payout transactions. This section allows users to retrieve detailed information about a specific payout order by providing the order ID as a parameter. Users can access key details such as the order status, amount, and currency to facilitate efficient processing and tracking of payout transactions. Endpoint retrieves detailed information about a specific order. It requires the order ID as a path parameter to identify and return the data related to that particular order. • [Get balances](https://app.theneo.io/um/groward/get-balances.md): Getting available balance