Skip to main content
PUT
/
v2
/
transactions
/
{id}
Update a Transaction (Test environment only)
curl --request PUT \
  --url https://api.pagou.ai/v2/transactions/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "status": "authorized"
}
'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
required

Body

application/json
status
enum<string>
required
Available options:
authorized,
canceled,
captured,
chargedback,
three_ds_required,
expired,
in_protest,
paid,
partially_paid,
partially_refunded,
pending,
processing,
processed,
refunded,
refused

Response

Success

Generic success response payload.