[#1234] Approve order 400 error

Migrated from Redmine #1234 | Author: Abdel Atencio
Status: New | Priority: High, I’m very impatient | Created: 2024-05-22


Hi Team,

I’m encountering an issue with the POST https://app.sbpay.me/api/order/1/approve HTTP/1.1 endpoint. When making a request, I consistently receive a 400 status code with the following empty response object:


{
    "message": "Bad Request",
    "data": []
}

Here is the data being sent from my side:


{
    "algo": "sha256",
    "id": 47,
    "paymentMethod": "ONVO",
    "transactionId": null,
    "reason": "Payment processed by ONVO",
    "zeroAmount": true,
    "timestamp": "2024-05-21T21:07:45-06:00"
}

Despite the timestamp and other data being correctly formatted, the response remains the same. Could you please investigate this issue and provide guidance on how to resolve it?

Thank you for your support.

Dmytro Bondarev wrote:

Hi, could you please provide your company login?