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
Copy
Ask AI
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>"
}
}
}
]
}'
Copy
Ask AI
{
"message": "<string>"
}
Query Parameters
Body
application/json
Response
200 - application/json
OK
The response is of type object
.
Copy
Ask AI
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>"
}
}
}
]
}'
Copy
Ask AI
{
"message": "<string>"
}
Assistant
Responses are generated using AI and may contain mistakes.