POST
/
api
/
v2
/
orders
/
upload
curl --request POST \
  --url https://api.chargeblast.com/api/v2/orders/upload \
  --header 'Content-Type: application/json' \
  --data '{
  "orders": [
    {
      "ip": "<string>",
      "authCode": "<string>",
      "amount": 123,
      "bin": "<string>",
      "descriptor": "<string>",
      "id": "<string>",
      "currency": "<string>",
      "transactionDate": "<string>",
      "brand": "<string>",
      "gateway": "<string>",
      "arn": "<string>",
      "status": "<string>",
      "last4": "<string>",
      "refunded": true,
      "receipt": {
        "merchantInfo": {
          "merchantReceiptContact": {
            "phoneForReceipt": "<string>",
            "emailForReceipt": "<string>",
            "websiteForReceipt": "<string>",
            "receiptAddress": {
              "line1": "<string>",
              "line2": "<string>",
              "city": "<string>",
              "countrySubdivision": "<string>",
              "postalCode": "<string>",
              "country": "<string>",
              "latitude": "<string>",
              "longitude": "<string>"
            }
          },
          "name": "<string>",
          "description": "<string>",
          "refundPolicyLink": "<string>",
          "cancellationPolicyLink": "<string>",
          "termsAndConditionsLink": "<string>",
          "logoUrl": "<string>"
        },
        "lineItems": [
          {
            "productName": "<string>",
            "productDescription": "<string>",
            "currency": "<string>",
            "quantity": 123,
            "price": 123
          }
        ],
        "customerEmail": "<string>",
        "customerPhone": "<string>",
        "shippingAddress": {
          "line1": "<string>",
          "line2": "<string>",
          "city": "<string>",
          "countrySubdivision": "<string>",
          "postalCode": "<string>",
          "country": "<string>",
          "latitude": "<string>",
          "longitude": "<string>"
        },
        "billingAddress": {
          "line1": "<string>",
          "line2": "<string>",
          "city": "<string>",
          "countrySubdivision": "<string>",
          "postalCode": "<string>",
          "country": "<string>",
          "latitude": "<string>",
          "longitude": "<string>"
        },
        "name": {
          "givenName": "<string>",
          "familyName": "<string>"
        }
      }
    }
  ]
}'
{
  "message": "<string>"
}

Query Parameters

api_key
string
required

Body

application/json

Response

200 - application/json

OK

The response is of type object.