Skip to main content
PUT
/
payments
/
{id}
Update payment
curl --request PUT \
  --url https://api.bitgpt.xyz/payments/{id} \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "COMPLETED"
}
'
{
  "data": {
    "id": "<string>",
    "message": "<string>"
  }
}

Path Parameters

id
string
required

Payment ID

Body

application/json

Request body for updating a payment

status
enum<string>

New payment status

Available options:
COMPLETED,
CANCELLED

Response

Payment updated successfully

data
object