The ‘Create Order’ API is crucial for initializing transactions within the RampNow ecosystem. Once the Access Token is generated, this API enables merchants to create orders by securely authenticating via the Access Token, thereby facilitating seamless transactions for users.
Authorization:
This endpoint requires the Access Token obtained from the ‘Create Access Token’ API in the Authorization header.
Authorization: Bearer YOUR_ACCESS_TOKEN
Create an order
POST/api/v1/external/orders
The ‘Create Order’ API is crucial for initializing transactions within the RampNow ecosystem. Once the Access Token is generated, this API enables merchants to create orders by securely authenticating via the Access Token, thereby facilitating seamless transactions for users.
Merchants should open the received redirectUrl for customers to complete the payment.
Note:
The obtained Redirect URL is significant as it is the URL where the customer will complete the payment, and it ensures a seamless user experience by redirecting users directly to the payment page.
By utilizing the ‘Create Order’ API, merchants can efficiently initialize and manage transactions, offering users a smooth and secure pathway to completing payments within the RampNow ecosystem.
Unique ID (GUID)provided by merchants to identify the transaction in Rampnow and their system
firstName*
String
First name of the customer
lastName*
String
Last name of the customer
email*
String
Email ID of the customer
countryCode*
String
Country code of the customer's country where the transaction is initiation. resident county. County code should 2 letters and according to ISO 3166-2
amount*
String
Transaction amount
country*
String
Resident country of the customer
state
String
Resident address - State
city*
String
Resident address - City
addressLine2
String
Resident address -additional data
addressLine1*
String
Resident address - street and door number of customer
mobileNumber
String
Mobile number of the customer
currency*
String
Transaction currency
returnUrl
String
Return redirect URL of the merchant. post successful or failure transaction customer will be redirected back to provider return URL.
callbackUrl
String
Callback URL to get the instant payment notification to your system. Optional field as this can be setup in the merchant console also.
paymentMethod
String
if merchant wants to offer specific payment method diectly at your checkout page, the payment method can be predefined so that customer will be taken direct to the payment page.