Sync Data
Upload Orders
Sync Data
Upload Orders
Upload orders to the chargeblast system. This will allow you to match disputes and chargebacks to the orders you have uploaded. Amount should be in cents, e.g. $19.99 => amount = 1999. This endpoint is rate limited to 100 requests every 10 seconds.
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": {
"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
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
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": {
"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>"
}