Get Payment Agent
Returns the full profile of a single payment agent, including agents not publicly listed in the directory. Use this when you already have an agent's id and need their full details. The response always includes a currencies array with the agent's commission rates and withdrawal limits for each supported currency, and a urls array with the agent's associated websites (null if the agent has none registered). Pass me as the id to return the authenticated client's own agent profile.
Endpoint
/payment-agents/v1/agents/{id}URL Base: https://api.derivws.com
Códigos de Estado
Respostas de Erro
{
"data": {},
"errors": [
{
"status": 400,
"code": "InvalidAgentID",
"detail": { "message": "Agent ID must be numeric or the literal string 'me'" }
}
],
"metadata": {
"endpoint": "/payment-agents/v1/agents/abc",
"method": "GET",
"timing": 6
}
}{
"data": {},
"errors": [
{
"status": 404,
"code": "AgentNotFound",
"detail": { "message": "No payment agent exists with the given id" }
}
],
"metadata": {
"endpoint": "/payment-agents/v1/agents/999999",
"method": "GET",
"timing": 12
}
}Autenticação Necessária
Deriv-App-ID para identificar a sua aplicação. Âmbito OAuth2: paymentAcerca de Get Payment Agent
O endpoint GET /payment-agents/v1/agents/{id}: Returns the full profile of a single payment agent, including agents not publicly listed in the directory. Use this when you already have an agent's id and need their full details. The response always includes a currencies array with the agent's commission rates and withdrawal limits for each supported currency, and a urls array with the agent's associated websites (null if the agent has none registered). Pass me as the id to return the authenticated client's own agent profile.
Alguma outra questão? Entrar em contacto