Cash Payment
Accept cash payments using the same integration process you use for card payments. Through this service your customers can pay to any authorized PayFORT's payment partners for their order by showing a unique bill number that is displayed by your site or sent to them by you.
This service allows you to generate a unique bill numbers for your Customer’s orders using the PayFORT API.
Endpoints
Sandbox
POST https://sbpaymentservices.PayFort.com/FortAPI/paymentApi
Live
POST https://paymentservices.PayFort.com/FortAPI/paymentApi
Supported Schemes
Fawry
Features | Details |
---|---|
Countries supported | Egypt |
Type | voucher |
Clearing and Settlement | Instant |
Processing currencies | EGP |
Default settlement currency | USD |
Refunds | Yes |
Partial Refunds | Yes |
Placeholder: If more than one scheme is supported then toggable tab is required which will contain a table for each tab similar to the above.
Fawry Payment
Start accepting payments using Fawry, a favorite payment method in Egypt.
Request a Fawry payment
The Request
Use the details below to set up your request.
Endpoints
Live
POST https://paymentservices.PayFort.com/FortAPI/paymentApi
Sandbox
POST https://sbpaymentservices.PayFort.com/FortAPI/paymentApi
Body parameters
service_command(String,mandatory,)
Maximum Length | Possible/ expected values | Special Characters | Description |
---|---|---|---|
20 | BILL_PRESENTMENT | _ | A command for payFORT server to understand. |
access_code(alphanumeric, mandatory)
Maximum Length | Example | Description |
---|---|---|
20 | zx0IPmPy5jp1vAz8Kpg7 | Merchant access code that can be found in the backoffice |
merchant_identifier(alphanumeric, mandatory)
Maximum Length | Example | Description |
---|---|---|
20 | CycHZxVj | Merchant ID that can be found in the backoffice |
merchant_reference(alphanumeric, mandatory)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
40 | XYZ9239-yu898 | - _ . | The Merchant’s unique order number. |
amount(numeric, mandatory)
Maximum Length | Example | Description |
---|---|---|
10 | 10000 | The transaction’s amount. *Each currency has predefined allowed decimal points that should be taken into consideration when sending the amount check the note after this table. |
currency(String, mandatory)
Maximum Length | Example | Description |
---|---|---|
3 | AED | The currency of the transaction’s amount in ISO code 3. |
language(String, mandatory)
Maximum Length | Possible/ expected values | Description |
---|---|---|
2 | en/ar | The checkout page and messages language where en is for english and ar for Arabic |
request_expiry_date(alphanumeric, mandatory)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
25 | 2017-12-20T15:36:55+03:00 | - + : | The date when the bill expires. *The merchant will hold the item till the expiry date. If the customer didn’t pay, the holding will be canceled. |
payment_partner(String, mandatory)
Maximum Length | Possible/Expected values | Special Characters | Description |
---|---|---|---|
5 | FAWRY | - + : | A financial corporation that generate bills to the customer. |
signature(alphanumeric, mandatory)
Maximum Length | Example | Description |
---|---|---|
200 | 7cad05f0212ed933c9a5d5dffa31661acf2c827a | A string hashed using the Secure Hash Algorithm. Please refer to section Signature |
customer_name(alpha, optional)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
50 | John Smith | _ \ / - . ' Space |
The customer’s name |
customer_email(alphanumeric, optional)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
254 | customer@domain.com | _ - . @ + | The customer’s email. |
Response
service_command(String)
Maximum Length | Possible/ expected values | Special Characters | Description |
---|---|---|---|
20 | BILL_PRESENTMENT | _ | A command for payFORT server to understand. |
access_code(alphanumeric)
Maximum Length | Example | Description |
---|---|---|
20 | zx0IPmPy5jp1vAz8Kpg7 | Merchant access code that can be found in the backoffice |
merchant_identifier(alphanumeric)
Maximum Length | Example | Description |
---|---|---|
20 | CycHZxVj | Merchant ID that can be found in the backoffice |
merchant_reference(alphanumeric)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
40 | XYZ9239-yu898 | - _ . | The Merchant’s unique order number. |
amount(numeric)
Maximum Length | Example | Description |
---|---|---|
10 | 10000 | The transaction’s amount. *Each currency has predefined allowed decimal points that should be taken into consideration when sending the amount check the note after this table. |
currency(String)
Maximum Length | Example | Description |
---|---|---|
3 | AED | The currency of the transaction’s amount in ISO code 3. |
language(String)
Maximum Length | Possible/ expected values | Description |
---|---|---|
2 | en/ar | The checkout page and messages language where en is for english and ar for Arabic |
bill_number(numeric)
Maximum Length | Example | Description |
---|---|---|
14 | 14823285500005 | A unique number generated by PayFort to pay bills. |
request_expiry_date(alphanumeric)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
25 | 2017-12-20T15:36:55+03:00 | - + : | The date when the bill expires. *The merchant will hold the item till the expiry date. If the customer didn’t pay, the holding will be canceled. |
payment_partner(String)
Maximum Length | Possible/Expected values | Special Characters | Description |
---|---|---|---|
5 | FAWRY | - + : | A financial corporation that generate bills to the customer. |
signature(alphanumeric)
Maximum Length | Example | Description |
---|---|---|
200 | 7cad05f0212ed933c9a5d5dffa31661acf2c827a | A string hashed using the Secure Hash Algorithm. Please refer to section Signature |
customer_name(alpha)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
50 | John Smith | _ \ / - . ' Space |
The customer’s name |
customer_email(alphanumeric)
Maximum Length | Example | Special Characters | Description |
---|---|---|---|
254 | customer@domain.com | _ - . @ + | The customer’s email. |
response_message(alphanumeric)
Maximum Length | Possible/Expected value | Description |
---|---|---|
150 | Please refer to section messages | Message description of the response code. It returns according to the request language. |
response_code(numeric)
Maximum Length | Example | Description |
---|---|---|
5 | 46000 | Response Code carries the value of our system’s response. *The code consists of five digits, the first 2 digits represent the response status, and the last 3 digits represent the response messages. |
status(numeric)
Maximum Length | Possible/Expected values | Description |
---|---|---|
2 | Please refer to section statuses | A two-digit numeric value that indicates the status of the transaction. |
Go to Full API
Check out our full API by visiting this link
Need further help?
Thanks for using PayFort.com. If you need any help or support, then message our support team at support@payfort.com.