# Using Gate API

# Gate API beta

The Gate API enables you to accept payment from customers using a secure link.

# Base URL

The URL is used as the base along with the encrypted values appended to redirect the customer.

URL https://payment.paytriot.co.uk/MerchantPayment/Payment

# Parameters

Parameter Type Description
UserName* string Username given by Paytriot.
Amount* decimal(float) The transaction amount in the merchant's currency.
Currency* integer The processing currency code to be used. The codes are given below.
TransactionNumber* string The unique transaction number from the merchant.
MerchantURLs* string The redirect URL from merchant where the end customer gets redirected after transaction.
CustomerName string The name of the end customer.
EmailID string The email id of the end customer.
PhoneNumber string The email id of the end customer.
Street string The street of the end customer.
City string The city of the end customer.
Country string The country of the end customer.
ZipCode string The Zip code of the end customer.

Please note that all the fields marked with asterisks (*) are mandatory.

# Currency codes

Currency Code Availability
USD 1 Available
EUR 4 Available