Update the buyer currencies and admin roles.
Required user role: ADMIN
Security
apiKey and authToken
- Sandboxhttps://sandbox.weavr.io/payment-run/v1/buyers
- Mock serverhttps://api.weavr.io/_mock/products/payment-run/openapi/v1/buyers
curl -i -X PATCH \
https://sandbox.weavr.io/payment-run/v1/buyers \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-H 'api-key: YOUR_API_KEY_HERE' \
-d '{
"adminUser": {
"roles": [
"ADMIN"
]
},
"supportedCurrencies": [
"GBP"
]
}'Success
The tag field is a custom field that can be used to search and filter.
The details associated with the company being on-boarded. The details provided need to match exactly with the details provided during KYB.
Must be set to true to indicate that the admin user has accepted the terms and conditions.
Response
{ "id": "string", "tag": "string", "adminUser": { "id": "string", "name": "string", "surname": "string", "email": "user@example.com", "mobile": { … }, "companyPosition": "DIRECTOR", "dateOfBirth": { … }, "active": true, "emailVerified": true, "mobileNumberVerified": true, "roles": [ … ] }, "company": { "type": "LLC", "name": "string", "registrationNumber": "string", "businessAddress": { … }, "countryOfRegistration": "GB", "registeredAddress": { … }, "incorporatedOn": { … } }, "acceptedTerms": true, "supportedCurrencies": [ { … } ], "creationTimestamp": 0 }