Get Recurring Order
Get a order under recurring plan
Header Parameters
random 16 bytes alphanumerics
Please follow the OpenAPI authentication section
Please follow the OpenAPI authentication section
Request Body
order object required
- 200
Response Headers
Schema
- Array [
- ]
- Array [
- ]
- Array [
- ]
data object required
customer object required
default_payment_token object
Possible values: [CreditCard
, Alipay
, Wechatpay
]
credit_card object
recurring_cycle object required
recurring_billing_config object required
recurring_items object[] required
order object required
Transaction source
Order type
Wonder unique id
your side unique id
due date
Order total
Order tips
sum of successful transaction amount
initial_total - paid_total
Order state
Order payment state
for payment link, when payment finished redirect to this url
if you fill it, wonder will callback your this url after state changed
line_items object[]
Possible values: [RearTips
, Charge
]
transactions object[]
Possible values: [Sales
, Authorization
, Refund
, Capture
]
Wonder transaction uuid
transaction currency
transaction amount
if transaction successful
for async payment,if transaction still pending
for card pure-auth,if transaction captured
if transaction allowed to void
if transaction allowed to refund
if void still pending
which payment method
transaction remark
payment_data object required
related to payment method
original transacation uuid
{
"code": 0,
"message": "string",
"data": {
"customer": {
"name": "string",
"email": "string",
"phone": "string",
"reference_number": "string",
"default_payment_method": "string",
"uuid": "string",
"default_payment_token": {
"token_type": "CreditCard",
"token": "string",
"state": "string",
"verify_url": "string",
"verify_uuid": "string",
"credit_card": {
"number": "string",
"exp_month": "string",
"exp_year": "string",
"holder_name": "string",
"brand": "string"
}
}
},
"recurring_cycle": {
"recurring_billing_config": {
"id": "string",
"p_business_id": "string",
"interval_count": 0,
"billing_interval": "string",
"billing_config_settings": "string",
"billing_month": 0,
"billing_day_of_month": 0,
"billing_proration_enabled": true,
"description": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": "string"
},
"recurring_items": [
{
"id": "string",
"label": "string",
"price": 0,
"currency": "string",
"reference_id": "string",
"description": "string",
"created_at": "string",
"updated_at": "string",
"deleted_at": "string"
}
],
"discount_amount": 0
},
"order": {
"source": "string",
"type": "string",
"number": "string",
"reference_number": "string",
"due_date": "string",
"initial_total": 0,
"initial_tips": 0,
"subtotal": 0,
"paid_total": "string",
"unpaid_total": "string",
"state": "string",
"correspondence_state": "string",
"currency": "string",
"return_url": "string",
"notify_url": "string",
"line_items": [
{
"uuid": "string",
"purchasable_type": "RearTips",
"purchase_id": 0,
"price": 0,
"quantity": 0,
"total": 0,
"label": "string"
}
],
"transactions": [
{
"type": "Sales",
"uuid": "string",
"currency": "string",
"amount": "string",
"success": true,
"is_pending": true,
"captured": true,
"allow_void": true,
"allow_refund": true,
"void_is_pending": true,
"payment_method": "string",
"note": "string",
"payment_data": {
"acquirer_name": "string",
"acquirer_type": "string",
"auth_code": "string",
"brn": "string",
"card_id": "string",
"card_number_len": 0,
"card_read_mode": "string",
"credit_card_type": "string",
"first_6_digits": "string",
"last_4_digits": "string",
"merchant_id": "string",
"new_gateway_txn_id": "string",
"payment_method": "string",
"receipt_id": "string",
"rrn": "string",
"transaction_state": "string"
},
"original_transaction_uuid": "string"
}
]
}
}
}