x-idempotency-key header.curl --location 'https://api-public.payflow.es/payments' \
--header 'x-idempotency-key;' \
--header 'authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"personalId": "12345678A",
"amount": 100
}'{
"data": {
"id": 932,
"identifier": "ABy0T2D21",
"amount": 100,
"fee": 0,
"requestedAt": "2025-06-04T09:19:21.000Z",
"status": "pending",
"companyId": 1,
"employeeId": 1,
"provider": "unnax",
"employee": {
"id": 1,
"personalId": "12345678Z",
"payrollId": "Emp01",
"firstName": "John",
"lastName": "Doe",
"iban": "ES0000000000000000000000",
"subsidiary": {
"id": 1,
"taxId": "ESA00000000",
"subsidiaryCode": "1",
"name": "Payflow",
"legalName": "Payflow Digital Inc."
}
}
}
}