Openpay
  1. Accounts
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. Accounts

Create an account

POST
/v1/accounts
When an account is created via the API, the user must verify it in the Openpay app.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.openpay.dk/v1/accounts' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Unsinkable 2",
    "type": "shared_boat",
    "currency": "DKK"
}'
Response Response Example
{
	"id": "2345",
	"name": "Unsinkable 2",
	"type": "shared_boat",
	"icon": "⛵",
	"balance": "0.00",
	"currency": "DKK",
	"status": "pending_verification",
	"verfication_url": "https://app.openpay.dk/..."
}

Request

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

Examples

Responses

🟢200Success
application/json
Body

Modified at 2025-08-12 11:41:29
Previous
Get account details
Next
Get spending summary
Built with