POST api/Pcb/ConfirmOrder
Confirm orders/Make Payment
Request Information
URI Parameters
None.
Body Parameters
Request Parameters
ConfirmPcbRequestName | Description | Type | Additional information |
---|---|---|---|
OrderNo |
Order Number (If multiple orders settle shipping charges at the same time, order numbers are separated by ',' such as 'W00001AS1' or 'W00001AS1, W00001AS2') |
string |
Required |
PayType |
Payment Methods |
PayType |
Required |
AddGroupNo |
Order package number (if need to add package, the package number must be passed) |
string |
None. |
ShipType |
Logistics Company (No need to pass when adding package, otherwise, it must be passed) |
ShipType |
None. |
Country |
Country (No need to pass when adding package, otherwise, it must be passed) |
string |
None. |
CountryCode |
Country Number (No need to pass when adding package, otherwise, it must be passed) |
string |
None. |
State |
State/Province/Region (No need to pass when adding package) |
string |
None. |
Postalcode |
Postal code (multiple ones separated by ',' such as '123456' or '123456,123457') (No need to pass when adding a package) |
string |
None. |
City |
City (No need to pass when adding package, otherwise, it must be passed) |
string |
None. |
Addr |
Delivery Address (No need to pass when adding package, otherwise, it must be passed) |
string |
None. |
CompanyName |
Company Name (No need to pass when adding package) |
string |
None. |
ContactName |
Contact Person (No need to pass when adding package) |
string |
None. |
Tel |
Phone Number (No need to pass when adding package, otherwise, it must be passed) |
string |
None. |
BuyerEmail |
User or Buyer E-mail (Contact customer for problems, such as gerber file issues, parameter or price issues,etc). If no email, we'll contact distributor or partner by default. |
string |
None. |
Tax |
Tax ID (No need to pass when adding package) |
string |
None. |
Request Formats
application/json, text/json
{ "OrderNo": "sample string 1", "PayType": 1, "AddGroupNo": "sample string 2", "ShipType": 1, "Country": "sample string 3", "CountryCode": "sample string 4", "State": "sample string 5", "Postalcode": "sample string 6", "City": "sample string 7", "Addr": "sample string 8", "CompanyName": "sample string 9", "ContactName": "sample string 10", "Tel": "sample string 11", "BuyerEmail": "sample string 12", "Tax": "sample string 13" }
Response Information
Resource Description
ConfirmPcbResponseName | Description | Type | Additional information |
---|---|---|---|
DeliveryDate |
Delivery Date (It is returned when PayType turns to AccountPay, otherwise null is returned) |
date |
None. |
GroupNo |
Order Package Number (It is returned when PayType turns to AccountPay, otherwise null is returned) |
string |
None. |
TGroupNo |
Order Package Number of Awaiting Payment (It is returned when PayType turns to PCBWayWebPay, otherwise null is returned) |
string |
None. |
TotalAmount |
Total Amount of Order Package |
decimal number |
None. |
AccountBalance |
Partner's PCBWay Account Balance |
decimal number |
None. |
PayType |
Payment Methods |
PayType |
None. |
PCBWayPayUrl |
PCBWay Payment web page (It is returned when PayType turns to PCBWayWebPay, otherwise null is returned) |
string |
None. |
Status |
Request processing results ('ok' or 'error') |
string |
None. |
ErrorText |
Error Description ( Empty when request processing successfully ) |
string |
None. |
Code |
状态码 |
integer |
None. |
Response Formats
application/json, text/json
{ "DeliveryDate": "2025-05-05T06:39:51.6982088+08:00", "GroupNo": "sample string 2", "TGroupNo": "sample string 3", "TotalAmount": 4.0, "AccountBalance": 5.0, "PayType": 1, "PCBWayPayUrl": "sample string 6", "Status": "sample string 7", "ErrorText": "sample string 8", "Code": 9 }