Skip to main content
POST
/
api
/
mpp
/
stream
/
close
Close a payment stream
curl --request POST \
  --url https://mag3nt.com/api/mpp/stream/close \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "stream_id": "<string>"
}
'
{
  "final_amount": 123,
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

API key prefixed with 'Bearer sx_live_...'

Body

application/json
stream_id
string
required

Response

200 - application/json

Stream closed

final_amount
status
string