Openpay
  1. Members
Openpay
  • Getting started
  • Authorization
    • Consent screen
      GET
    • Get an access token
      POST
    • Refresh access token
      POST
  • Accounts
    • List all accounts for user
      GET
    • Get account details
      GET
    • Create an account
      POST
    • Get spending summary
      GET
  • Members
    • List members for an account
      GET
    • Get member details
      GET
    • Add a member to an account
      POST
    • Adjust the balance for a member
      PUT
    • Payment link
      GET
  • Top-ups
    • Create a new top-up for an account
      POST
    • List all top-ups for an account
      GET
    • Get top-up details
      GET
  • Statements
    • List statements for an account
      GET
  • Schemas
    • Account
    • Member
    • Top-up
    • Statement
  1. Members

Adjust the balance for a member

PUT
/v1/accounts/{account_id}/members/{id}/balance
This will subtract or add to the current balance.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://api.openpay.dk/v1/accounts/1234/members/1234/balance' \
--header 'Content-Type: application/json' \
--data-raw '{
    "adjustment": "-50.00",
    "description": "Late fee"
}'
Response Response Example
{
    "id": "1234",
    "name": "Thomas",
    "balance": "-150.00",
    "phone": "+4511223344"
}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Modified at 2025-08-12 13:01:30
Previous
Add a member to an account
Next
Payment link
Built with