POST api/LockedPrice

No documentation available.

Request Information

Parameters

NameDescription
data
No documentation available.


Confirmation Interaction

Once an order has been confirmed successful by CoinCorner we will respond to the 'NotificationURL' you have provided with the following parameters. This may take up to 30 minutes depending on confirmations via the blockchain.

NameDescription
OrderId
Your unique order Id for the Invoice/Sale. Example: Order1234
APIKey
Your public API Key just as an extra measure that you have received the interaction from CoinCorner. Example: c0439512-9cc6-42a1-ade6-73ea7294e78c
OrderStatus
The status of the order, this will come back as either 3 (Complete) or -1 (Cancelled). Example: 3
ProcessedDate
The date and time the order was processed. Example: 2014-09-22T09:21:31.4431723+01:00
NotificationURL
The notification URL we are trying to interact with, just for your reference. Example: https://www.yoursite.com/IPN 
PaymentGatewayId
CoinCorners unique reference Id for the Invoice/Sale for your reference. Example: 454 
Amount
The amount in fiat currency (GBP, EUR etc). Example: 19.99 
ReceivedBTCAmount
The amount of BTC actually received. Example: 0.25649764 
BTCAmount
The amount of BTC. Example: 0.25649764 

Request body formats

application/json, text/json

Sample:
{
  "APIKey": "ddc65a25-237f-4f71-9027-bd23e7d23d7f",
  "Signature": "sample string 2",
  "Nonce": 3,
  "CoinType": "sample string 4",
  "Amount": 5.0,
  "Currency": "sample string 6",
  "PostData": "sample string 7",
  "NotificationURL": "sample string 8",
  "RedirectURL": "sample string 9",
  "NotificationEmail": true,
  "OrderId": "sample string 11",
  "ItemDescription": "sample string 12",
  "ItemCode": "sample string 13",
  "ItemPrice": 14.0,
  "Physical": true,
  "BuyerName": "sample string 16",
  "BuyerAddress1": "sample string 17",
  "BuyerAddress2": "sample string 18",
  "BuyerCity": "sample string 19",
  "BuyerPostalCode": "sample string 20",
  "BuyerCountry": "sample string 21",
  "BuyerEmail": "sample string 22",
  "BuyerPhone": "sample string 23",
  "VAT": "sample string 24",
  "Shipping": "sample string 25",
  "Products": [
    {
      "ItemDescription": "sample string 1",
      "ItemCode": "sample string 2",
      "ItemPrice": 3.0
    },
    {
      "ItemDescription": "sample string 1",
      "ItemCode": "sample string 2",
      "ItemPrice": 3.0
    }
  ]
}

application/xml, text/xml

Sample:
<LockPriceParameters xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <APIKey>ddc65a25-237f-4f71-9027-bd23e7d23d7f</APIKey>
  <Amount>5</Amount>
  <BuyerAddress1>sample string 17</BuyerAddress1>
  <BuyerAddress2>sample string 18</BuyerAddress2>
  <BuyerCity>sample string 19</BuyerCity>
  <BuyerCountry>sample string 21</BuyerCountry>
  <BuyerEmail>sample string 22</BuyerEmail>
  <BuyerName>sample string 16</BuyerName>
  <BuyerPhone>sample string 23</BuyerPhone>
  <BuyerPostalCode>sample string 20</BuyerPostalCode>
  <CoinType>sample string 4</CoinType>
  <Currency>sample string 6</Currency>
  <ItemCode>sample string 13</ItemCode>
  <ItemDescription>sample string 12</ItemDescription>
  <ItemPrice>14</ItemPrice>
  <Nonce>3</Nonce>
  <NotificationEmail>true</NotificationEmail>
  <NotificationURL>sample string 8</NotificationURL>
  <OrderId>sample string 11</OrderId>
  <Physical>true</Physical>
  <PostData>sample string 7</PostData>
  <Products>
    <LockPriceProductsParameters>
      <ItemCode>sample string 2</ItemCode>
      <ItemDescription>sample string 1</ItemDescription>
      <ItemPrice>3</ItemPrice>
    </LockPriceProductsParameters>
    <LockPriceProductsParameters>
      <ItemCode>sample string 2</ItemCode>
      <ItemDescription>sample string 1</ItemDescription>
      <ItemPrice>3</ItemPrice>
    </LockPriceProductsParameters>
  </Products>
  <RedirectURL>sample string 9</RedirectURL>
  <Shipping>sample string 25</Shipping>
  <Signature>sample string 2</Signature>
  <VAT>sample string 24</VAT>
</LockPriceParameters>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json

Sample:
{
  "Amount": 1.0,
  "CreateDate": "2018-12-12T00:21:54.9218693+00:00",
  "Confirmations": 3,
  "PaymentAddress": "sample string 4",
  "PaymentGatewayId": 5,
  "PostData": "sample string 6",
  "InvoiceId": "deb50ef5-f0ba-4bd4-9c0f-9124816498ce",
  "InvoiceURL": "sample string 8"
}

application/xml, text/xml

Sample:
<LockPriceInformation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/API.Models">
  <Amount>1</Amount>
  <Confirmations>3</Confirmations>
  <CreateDate>2018-12-12T00:21:54.9218693+00:00</CreateDate>
  <InvoiceId>deb50ef5-f0ba-4bd4-9c0f-9124816498ce</InvoiceId>
  <InvoiceURL>sample string 8</InvoiceURL>
  <PaymentAddress>sample string 4</PaymentAddress>
  <PaymentGatewayId>5</PaymentGatewayId>
  <PostData>sample string 6</PostData>
</LockPriceInformation>