cURL
curl --request PUT \ --url https://api.bitgpt.xyz/payments/{id} \ --header 'Content-Type: application/json' \ --data ' { "status": "COMPLETED" } '
{ "data": { "id": "<string>", "message": "<string>" } }
Update payment status
Payment ID
Request body for updating a payment
New payment status
COMPLETED
CANCELLED
Payment updated successfully
Show child attributes