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"
}PAYOUTS
Autoriser 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"
}Autorisez un Payout pour libérer les fonds vers votre bénéficiaire en faisant passer son statut à
Received. Cet endpoint est conçu pour approuver les Payouts au statut pending ou on-hold.
Vous pouvez identifier le Payout à autoriser à l’aide de l’une des méthodes suivantes :
-
Par
internalId: identifiant unique de la transaction attribué par Localpayment. -
Par
externalId: votre propre référence unique pour la transaction. - Par plage de dates : autorisez tous les Payouts éligibles sur une période donnée.
Received et lance le transfert des fonds. La réponse confirme le statut de l’autorisation ou fournit les détails de l’erreur.
Autorisations
En-têtes
Jeton d'accès Bearer pour l'authentification. Ce jeton s'obtient via les endpoints Obtenir un jeton d'accès ou Actualiser le jeton d'accès.
Corps
application/json
Dernière modification le 22 novembre 2026

