Quote Paid Notification

If a quote was generated with an http-based notification subscription to the quote paid event, the API will post the following information to that URL when the quote has been paid. This is useful when the customer must go to another site such as PayPal to pay the quote balance. The API will not send this notification for transactions that require future payment such as an invoice.

Request Body

The response body contains information about the newly created merchant.

Parameter Type Comment
QuoteID
Integer

onDemand ID for this

quote.

Status
String

Status of the quote.

 Authorized means that

the projects have been

paid for and the

project can start.

 Pending means that the

merchant must execute a

transaction to pay for

the project.  Look for

a PaymentURL for the

merchant to click

through.

AuthorizeURL
String

See

Authorize Quote

RejectURL
String

See

Reject Quote

Currency
String

Currency that the price

is in. See glossary

for list of valid

currencies.

TotalCost
Decimal

Total amount that needs

to be paid. Exclude

translation credit.

Payments

.Payment
Container

Contains information

about an individual

transaction

Payments

.Payment

.PaymentType

String

PayPal, American

Express, Master Card,

Visa, Prepaid

Payments

.Payment

.PaymentDescription

String

A string describing

the funding source

such as Amex Charge to

card ending in 1234

Payments

.Payment

.PaymentAmount

Decimal Amount paid

Payments

.Payment

.PaymentCurrency

String

Three letter currency

code of the currency

used in the transaction.

AmountDue
Decimal

TotalCost -

Payments

Projects
Container

A list of projects that

have been generated by

this transaction.

Projects

.Project

.ProjectID

Integer

onDemand Project ID for

the project.

Projects

.Project

.ProjectURL

String

A URL that can be

checked for the status

of the project.

Projects

.Project

.ProjectDueDate

String

String representing the

date/time (ISO 8601)

that the project will

be completed by.

Projects

.Project

.Products

Container

List of products

included in the

product.

Projects

.Project

.Products

.Product

.SKUs

Container

List of SKUs under

product

Projects

.Project

.Products

.Product

.SKUs

.SKU

Container Contains a SKU

Projects

.Project

.Products

.Product

.SKUs

.SKU

.SKUNumber

String

Client supplied SKU

Number

Projects

.Project

.Products

.Product

.AssetID

Integer

Internal onDemand ID

for this product.

Files

.File

.AssetID

Integer Asset ID of the file.

Files

.File

.FileName

String

Original name of the

file.

Files

.File

.Status

String

See List Files

for a list of file

statuses.

Product-Based Quote Request Example

<Quote>
     <QuoteID>132</QuoteID>
     <Status>Authorized</Status>
     <TotalCost>10.00</TotalCost>
     <TotalCost>10.00</TotalCost>
     <PrepaidCredit>5.00</PrepaidCredit>
     <AmountDue>0.00</AmountDue>
     <Currency>EUR</Currency>
     <Projects>
         <Project>
             <ProjectID>123</ProjectID>
             <ProjectURL>https://</ProjectURL>
             <ProjectDueDate>2014-02-11T10:22:46Z</ProjectDueDate>
             <Products>
                 <Product>
                     <AssetID>999</AssetID>
                     <SKUs>
                         <SKU>
                             <SKUNumber>123</SKUNumber>
                         </SKU>
                     </SKUs>
                 </Product>
             </Products>
         </Project>
     </Projects>
 </Quote>

File-Based Quote Request Example

<Quote>
     <QuoteID>132</QuoteID>
     <Status>Pending</Status>
     <TotalCost>10.00</TotalCost>
     <TotalCost>10.00</TotalCost>
     <PrepaidCredit>5.00</PrepaidCredit>
     <AmountDue>0.00</AmountDue>
     <Currency>EUR</Currency>
     <Projects>
         <Project>
             <ProjectID>123</ProjectID>
             <ProjectName>Name of project</ProjectName>
             <ProjectURL>https://</ProjectURL>
             <ProjectDueDate>2014-02-11T10:22:46Z</ProjectDueDate>
             <Files>
                 <File>
                     <Status>Analyzed</Status>
                     <AssetID>999</AssetID>
                     <FileName>example.txt</FileName>
                 </File>
             </Files>
         </Project>
     </Projects>
 </Quote>