POST
/
api
/
payments
/
v3
/
payment-service-users
Create a formance payment service user object
curl --request POST \
  --url http://localhost:55001/api/payments/v3/payment-service-users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "contactDetails": {
    "email": "<string>",
    "phoneNumber": "<string>"
  },
  "address": {
    "streetNumber": "<string>",
    "streetName": "<string>",
    "city": "<string>",
    "region": "<string>",
    "postalCode": "<string>",
    "country": "<string>"
  },
  "bankAccountIDs": [
    "<string>"
  ],
  "metadata": {}
}'
{
  "data": "<string>"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
name
string
required
contactDetails
object
address
object
bankAccountIDs
string[] | null
metadata
object | null

Response

Created

data
string
required

The ID of the created payment service user