Get order

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Get any type of order by the order number.

The BillPro API will return an order object for the order type so the response data may vary by order type.

This table provides some general notes about the attributes in the response to the Get Order request.

Single payment order

AttributeDescription
idThe unique system identifier of the order
profile_idMerchant profile ID
order_typeOne of the purchase types of single_payment, instalment, subscripton, or metered. See Purchase types
statusSee Order status
invoice_idYour merchant identifier of the order
customer_idThe unique system identifier of the customer. In the customer object, this is the id.
monthly_amountScheduled payment amount.
scheduled_duration_unitFor instalment payments or scheduled payments. Values can be DAY, WEEK, MONTH and YEAR.
scheduled_duration_numberFor an instalment order, the number of scheduled payments
total_to_payFor an instalment order, the total amount of the order, including the initial payment.
count_to_payFor instalment order, the total number of payments, including any initial payment and instalments.
descriptionWhen you create an order with the API, you can enter a description.
profile_payment_methodECOM or MOTO for payment link or virtual terminal. This is channel for the initial payment.
order_sourceFor UI, the value is 1. For API, the value is 2
collect_initial_paymentIf BillPro collects a deposit, thentrue, otherwise false.
total_installment_amountFor an instalment order, this is the total amount including the deposit. Note that the spelling is `installmentz.
total_discount_amountTotal of the discounts applied to the products in a single payment order with multiple products
total_tax_amountTotal of the taxes applied to the products in a single payment order
total_fee_amountTotal of the fees applied to the products in a single payment order
productsFor a single-payment order: a list of products. For an instalment order, a single product.
products.product or productFor a single-payment order: a product in a list.
product.subtotal_amountThe subtotal of the product price multiplied by the quantity with fees and discounts applied
customer.phoneThe mobile phone number of the customer, including the + symbol, the country code, and the phone number

Instalment order

AttributeDescription
idThe unique system identifier of the order
profile_idMerchant profile ID
order_typeOne of the purchase types of single_payment, instalment, subscripton, or metered. See Purchase types
statusSee Order status
invoice_idYour merchant identifier of the order
customer_idThe unique system identifier of the customer. In the customer object, this is the id.
monthly_amountScheduled payment amount.
scheduled_duration_unitFor instalment payments or scheduled payments. Values can be DAY, WEEK, MONTH and YEAR.
scheduled_duration_numberFor an instalment order, the number of scheduled payments
total_to_payFor an instalment order, the total amount of the order, including the initial payment.
count_to_payFor instalment order, the total number of payments, including any initial payment and instalments.
descriptionWhen you create an order with the API, you can enter a description.
profile_payment_methodECOM or MOTO for payment link or virtual terminal. This is channel for the initial payment.
order_sourceFor UI, the value is 1. For API, the value is 2
collect_initial_paymentIf BillPro collects a deposit, thentrue, otherwise false.
total_installment_amountFor an instalment order, this is the total amount including the deposit. Note that the spelling is `installmentz.
total_discount_amountTotal of the discounts applied to the products in a single payment order with multiple products
total_tax_amountTotal of the taxes applied to the products in a single payment order
total_fee_amountTotal of the fees applied to the products in a single payment order
productsFor a single-payment order: a list of products. For an instalment order, a single product.
products.product or productFor a single-payment order: a product in a list.
product.subtotal_amountThe subtotal of the product price multiplied by the quantity with fees and discounts applied
customer.phoneThe mobile phone number of the customer, including the + symbol, the country code, and the phone number

Subscription order

AttributeDescription
idThe unique system identifier of the order
profile_idMerchant profile ID
order_typeOne of the purchase types of single_payment, instalment, subscripton, or metered. See Purchase types
statusSee Order status
invoice_idYour merchant identifier of the order
customer_idThe unique system identifier of the customer. In the customer object, this is the id.
monthly_amountScheduled payment amount.
scheduled_duration_unitFor instalment payments or scheduled payments. Values can be DAY, WEEK, MONTH and YEAR.
scheduled_duration_numberFor an instalment order, the number of scheduled payments
total_to_payFor an instalment order, the total amount of the order, including the initial payment.
count_to_payFor instalment order, the total number of payments, including any initial payment and instalments.
descriptionWhen you create an order with the API, you can enter a description.
profile_payment_methodECOM or MOTO for payment link or virtual terminal. This is channel for the initial payment.
order_sourceFor UI, the value is 1. For API, the value is 2
collect_initial_paymentIf BillPro collects a deposit, thentrue, otherwise false.
total_installment_amountFor an instalment order, this is the total amount including the deposit. Note that the spelling is `installmentz.
total_discount_amountTotal of the discounts applied to the products in a single payment order with multiple products
total_tax_amountTotal of the taxes applied to the products in a single payment order
total_fee_amountTotal of the fees applied to the products in a single payment order
productsFor a single-payment order: a list of products. For an instalment order, a single product.
products.product or productFor a single-payment order: a product in a list.
product.subtotal_amountThe subtotal of the product price multiplied by the quantity with fees and discounts applied
customer.phoneThe mobile phone number of the customer, including the + symbol, the country code, and the phone number

Metered Order

AttributeDescription
idThe unique system identifier of the order
profile_idMerchant profile ID
order_typemetered. See Purchase types
statusSee Order status
invoice_idYour merchant identifier of the order
customer_idThe unique system identifier of the customer. In the customer object, this is the id.
monthly_amountScheduled payment amount.
scheduled_duration_unitFor instalment payments or scheduled payments. Values can be DAY, WEEK, MONTH and YEAR.
scheduled_duration_numberFor an instalment order, the number of scheduled payments
total_to_payFor an instalment order, the total amount of the order, including the initial payment.
count_to_payFor instalment order, the total number of payments, including any initial payment and instalments.
descriptionWhen you create an order with the API, you can enter a description.
profile_payment_methodECOM or MOTO for payment link or virtual terminal. This is channel for the initial payment.
order_sourceFor UI, the value is 1. For API, the value is 2
collect_initial_paymentIf BillPro collects a deposit, thentrue, otherwise false.
total_installment_amountFor an instalment order, this is the total amount including the deposit. Note that the spelling is `installmentz.
total_discount_amountTotal of the discounts applied to the products in a single payment order with multiple products
total_tax_amountTotal of the taxes applied to the product
total_fee_amountTotal of the fees applied to the product
productsFor a metered order, a single product.
products.product or productFor a single-payment order: a product in a list.
product.subtotal_amountThe subtotal of the product price multiplied by the quantity with fees and discounts applied
customer.phoneThe mobile phone number of the customer, including the + symbol, the country code, and the phone number
Path Params
int32
required

The system identifier of the order

Query Params
int32

If you have more than one profile, you must supply the ID of the profile to use

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json