curl --request POST \
--url https://api.stage.localpayment.com/api/payout/authorize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dateFrom": "2025-01-09",
"dateTo": "2025-01-09"
}
'{
"status": 200,
"message": "The request will be processed."
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"errors": {
"payOutBy": [
"The payOutBy field is required."
],
"[0].internalId": [
"Error converting value \"7d7f7fca-e411-4ba6-b4f-b9fed4d5f3d2\" to type 'System.Guid'. Path '[0].internalId', line 1, position 53."
]
},
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-6af59d173e66ad4eb215987cd15d57af-bea3981476c0f347-00"
}PAYOUT
Autorizzare un payout
POST
/
api
/
payout
/
authorize
curl --request POST \
--url https://api.stage.localpayment.com/api/payout/authorize \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dateFrom": "2025-01-09",
"dateTo": "2025-01-09"
}
'{
"status": 200,
"message": "The request will be processed."
}{
"detail": "Given token not valid for any token type",
"code": "token_not_valid",
"messages": [
{
"token_class": "AccessToken",
"token_type": "access",
"message": "Token is invalid or expired"
}
]
}{
"errors": {
"payOutBy": [
"The payOutBy field is required."
],
"[0].internalId": [
"Error converting value \"7d7f7fca-e411-4ba6-b4f-b9fed4d5f3d2\" to type 'System.Guid'. Path '[0].internalId', line 1, position 53."
]
},
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
"title": "One or more validation errors occurred.",
"status": 400,
"traceId": "00-6af59d173e66ad4eb215987cd15d57af-bea3981476c0f347-00"
}Autorizza un payout per sbloccare i fondi verso il tuo beneficiario, aggiornandone lo stato a
Received. Questo endpoint serve ad approvare i payout che si trovano nello stato pending o on-hold.
Puoi identificare il payout da autorizzare in uno dei seguenti modi:
-
Tramite
internalId: l’identificativo univoco della transazione assegnato da Localpayment. -
Tramite
externalId: il tuo riferimento univoco per la transazione. - Tramite intervallo di date: autorizza tutti i payout idonei in un periodo specifico.
Received e viene avviato il trasferimento dei fondi. La risposta conferma lo stato dell’autorizzazione o fornisce i dettagli dell’errore.
Autorizzazioni
Intestazioni
Token di accesso Bearer per l'autenticazione. Questo token si ottiene dagli endpoint Ottenere il token di accesso o Rinnovare il token di accesso.
Corpo
application/json
Ultima modifica il 22 novembre 2026

