curl --request GET \
--url http://localhost:55001/api/payments/v3/payment-service-users/{paymentServiceUserID} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"contactDetails": {
"email": "<string>",
"phoneNumber": "<string>"
},
"address": {
"streetNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"region": "<string>",
"postalCode": "<string>",
"country": "<string>"
},
"bankAccountIDs": [
"<string>"
],
"metadata": {}
}
}
curl --request GET \
--url http://localhost:55001/api/payments/v3/payment-service-users/{paymentServiceUserID} \
--header 'Authorization: Bearer <token>'
{
"data": {
"id": "<string>",
"name": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"contactDetails": {
"email": "<string>",
"phoneNumber": "<string>"
},
"address": {
"streetNumber": "<string>",
"streetName": "<string>",
"city": "<string>",
"region": "<string>",
"postalCode": "<string>",
"country": "<string>"
},
"bankAccountIDs": [
"<string>"
],
"metadata": {}
}
}
The access token received from the authorization server in the OAuth 2.0 flow.
The payment service user ID
OK
The response is of type object
.