v1
latestSwagger 2.02026-07-13301635.0 KBorders
sends an order in a single step. This is much easier than using other order commands
Sends an order in one step. No need to create then process order. Optionally include a gift card.
post/orders/singleStepOrder
Request body
Example request
{
"uid": "fhqwfuihuifqwhiuwqfhiqwfh124",
"card_id": 3404,
"denomination_id": 12,
"message": "Dear Frank,\nThank you so much for your interest in our services.\nYours,\nJoe",
"font_label": "Chill Charity",
"sender_name": "Joe Sender",
"sender_business_name": "Handwrytten",
"sender_address1": "1430 E Indian School Road",
"sender_address2": "Suite 100",
"sender_city": "Phoenix",
"sender_state": "AZ",
"sender_zip": "12345",
"sender_country": "United States",
"sender_country_id": 1,
"recipient_name": "Cosmo Spacely",
"recipient_business_name": "Spacely Space Sprockets",
"recipient_address1": "123 E Main Street",
"recipient_address2": "Second Floor",
"recipient_city": "Burlington",
"recipient_state": "ON",
"recipient_zip": "L7L 0E9",
"recipient_country": "Canada",
"recipient_country_id": 2,
"credit_card_id": 34124
}Response
successful order placement
Example response
{
"status": "OK",
"response": {
"id": 42,
"for_free": true,
"message": "How do I love thee? Let me count the ways",
"card": {
"id": 42,
"price": 3.5,
"category_id": 33,
"available_free": 1
},
"address_from": {
"id": 978214798,
"name": "Joe Smith",
"business_name": "Handwrytten LLC",
"address1": "1430 E Indian School Rd",
"address2": "Suite 100",
"city": "Phoenix",
"state": "AZ",
"country": "United States"
}
}
}