Actalink Docs
Acta billings/Paymentlink

Payment Method

Update the payment network selected by the consumer for the given session ID. This update is mandatory as it ensures proper verification of the payment made on the specified network.

POST
/api/paymentmethod

Request Body

application/jsonRequired
methodRequiredstring
Value in: "network"
dataRequiredobject
sessionIdRequiredstring

Unique identifier for the session.

curl -X POST "http://localhost:4000/api/paymentmethod" \
  -H "Content-Type: application/json" \
  -d '{
    "method": "network",
    "data": {
      "network": 0
    },
    "sessionId": "6e72f344ef0b52721fb4aa8a75a769b5ba5f2fcb1a"
  }'

Successful response indicating that the selected payment network has been updated.

{
  "status": "success",
  "message": "selected payment network has been updated",
  "data": {}
}